Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

suddenly stopped the REST authentication (/rest/auth/1/session)

Shunmuganathan M April 15, 2019

Rest API was working fine.  Suddenly it stopped.

(/rest/auth/1/session)

It is always getting the following error, But the user name and password are correct.

{
"errorMessages": ["Login failed"],
"errors": {}
}

What will be the issue. It is already in the production.

Can you help me?

 

1 answer

0 votes
Tomas Gustavsson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2019

I guess some certificate have timed out, if you use https or certificate for AD ?

Shunmuganathan M April 15, 2019

In the localhost also getting same issue

Tomas Gustavsson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2019

Can you use the Rest API account to login on jira? have the password timed out? 

Shunmuganathan M April 15, 2019

Yes, same user id and password is working fine in main jira boad.

Tomas Gustavsson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2019

Can you try to catch more info around the login failure, with either with a try catch statement och if there already is some more info in any log file.

Have you changed any thing since last time when it actually worked? 

Need more info, to be able to figure this out. 

Shunmuganathan M April 15, 2019

Nothing was changed. It was worked for last one month. It was stopped working from yesterday.

Now I am getting following error message for all the users.

{
"errorMessages": ["Login failed"],
"errors": {}
}

Tomas Gustavsson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 15, 2019

If no one is able to login, this could happen if you are out of disk space,  if you have access to the server, then you can delete some old log files.

Shunmuganathan M April 15, 2019

It is cloud account, How can we delete old logs?

Shunmuganathan M April 16, 2019

Thanks for your support. I found the issue. Actually they stopped the cookie based authentication. Now I am using another type of authentication

https://blog.developer.atlassian.com/app-opt-in-api-migration/

Tomas Gustavsson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2019

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events