Post DB restoration unable to login jira application
Asked by Peruma Chinnasamy:

Error Message : "Sorry, your username and password incorrect - please try again"

Log :-

2022-04-14 12:23:24,348 http-nio-8081-exec-15 INFO \[plugin.rest.filter.BasicApplicationAuthenticationFilter\] Invalid authentication for application with name 'jira'

Help me to fix this issue.


Answers:
author: Roman Kovalov
body: Hey, [Peruma Chinnasamy](https://community.atlassian.com/t5/user/viewprofilepage/user-id/4879891)!

Can you add more information to your question please? How I can reproduce this issue from my side? What steps should I do? Do you have enabled SSO?

From my side, I can advice you:

1) Make sure your users from directory are members of group, that exists in application and have all permission to authenticate

![Screenshot 2022-05-09 at 16.16.11.png](https://community.atlassian.com/t5/image/serverpage/image-id/196491iDCB3356E350714AA/image-size/large?v=v2&px=999 "Screenshot 2022-05-09 at 16.16.11.png")

![Screenshot 2022-05-09 at 16.13.48.png](https://community.atlassian.com/t5/image/serverpage/image-id/196490i786551A3F7FA5548/image-size/large?v=v2&px=999 "Screenshot 2022-05-09 at 16.13.48.png")

2) Check that in crowd in application settings you assigned the right groups that can authenticate, or to try to enable authentication to all groups from directory (just to make sure that it works)

![Screenshot 2022-05-09 at 15.52.15.png](https://community.atlassian.com/t5/image/serverpage/image-id/196483iE46DA60E6D9F69C2/image-size/large?v=v2&px=999 "Screenshot 2022-05-09 at 15.52.15.png")

3) In your application in User Directories page, make sure, that Atlassian Crowd is enabled and it have the right directory order

![Screenshot 2022-05-09 at 16.11.50.png](https://community.atlassian.com/t5/image/serverpage/image-id/196494iB5814670EB7FE4B8/image-size/large?v=v2&px=999 "Screenshot 2022-05-09 at 16.11.50.png")

To read more about directory order, I can give you few useful links: <https://confluence.atlassian.com/conf716/configuring-user-directories-1108682916.html> , <https://confluence.atlassian.com/conf716/managing-multiple-directories-1108682926.html>


author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

The error you have found suggests your Jira is trying to connect to some other system (your user directory system maybe?) and the credentials Jira has for the connection are wrong.

The unable to log in will have thrown a different error, probably caused by the inability for Jira to use your external user directory to check your login credentials.

You'll need to read more of the log, and correct the credentials being used to connect to the other system.

comments: author: Peruma Chinnasamy
body: User name and password are correct this issue is not only for me all the application user's are getting same error.

While we login crowd after that we try to connect jira It will working fine

But Directly we try to connect jira at the time we get this error message

I also verified crowd.property , server.xml and seraph-config.xml files

every thing is fine.


author: Nic Brough -Adaptavist-
body: That does not tell us anything more about the problem, we can't help you unless you can read more of the log and fix the connection by giving it the right credentials.


Tags: jira