All users cannot login to Confluence
Asked by Tech Support:

All users including administrators cannot login to Confluence.

The following error(s) occurred:

* Please re-enter your login details and type in the word below.

URL also redirects to /login.action?os_destination=%2Findex.action\&permissionViolation=true

atlassian.confluence.log shows the following

WARN \[http-nio-8090-exec-3\] \[confluence.impl.vcache.SynchronousExternalCache\] lambda$get$7 Failed to read entry from cache 'com.atlassian.confluence.security.login.DefaultLoginManager': Failed due to UNCLASSIFIED_FAILURE  
-- url: /login.action \| traceId: 90de3db34d721c47 \| userName: anonymous \| action: login

Please help. Thanks much!


Answers:
author: Steven F Behnke
body: [CONFSERVER-45656](https://jira.atlassian.com/browse/CONFSERVER-45656) indicates that this error message does not relate to people not being able to log in; however it does present in the same version.

Gregory is on the right path: What are you using for directories? Jira internal? LDAP? We can't help without information.

comments: author: Tech Support
body: Thanks Steve. From JIRA there is connectivity to Confluence. The issue started after we shutdown the server for maintenance and restarted the server.

atlassian-confluence.log shows the following error

\[crowd.manager.application.ApplicationServiceGeneric\] authenticateUser Directory 'Remote JIRA Directory' is not functional during authentication

Please advise.


author: Noni Khutane
body: We are experiecing the same issues as Steve.

Was this resolved?


author: YY Brother
body: <https://community.atlassian.com/t5/Confluence-questions/After-Log-out-of-Confluence-there-s-always-an-error/qaq-p/1977243>

I encountered the same one and haven't resolved it.


author: admin admin
body: I'm getting this same error in my Confluence server when upgrading from 6.12.1 to 7.2.0, please advise.

comments: author: Benjamin Yu
body: I'm getting this same error in my Confluence server when upgrading from 5.0.3 to 7.2.0, please help ASAP.


author: Benjamin Yu
body: I'm getting this same error in my Confluence server when upgrading from 5.0.3 to 7.4, please help ASAP.


author: Gregory Van Den Ham
body: Have you restarted confluence? Wonder if there's a backend connection issue to the database. Assume your users are on the internal directory and not crowd/jira or 3rd party saml?

comments: author: Tech Support
body: Thanks Gregory for your kind reply. The issue happened after we have to shutdown the server running confluence for maintenance. Users are in JIRA. Please advise.


author: RRM Admin
body: I have the same issue after a fresh install with local user database.

we get the login screen enter the credentials and get redirected to the

**login.action?os_destination=%2Findex.action\&permissionViolation=true**

when I try incorrect credentials I get a warning saying username/passwords are wrong. concluding that credentials are correct and validated against the user database.

what's wrong?


author: neelmani shankar
body: I am also getting the same issue after correct login credential redirecting to

**login.action?os_destination=%2Findex.action\&permissionViolation=true**

Have you solved the issue??


author: Aur?lien Tertre
body: Hello

I have the same problem :/

Do you resolve it ?