Unable to log in to Confluence after upgrading to Confluence 5.10
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
Problem
After upgrading to Confluence 5.10x, logins fail with the following error in the atlassian-confluence.log:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
com.atlassian.crowd.exception.runtime.OperationFailedException
at com.atlassian.crowd.embedded.core.CrowdServiceImpl.convertOperationFailedException(CrowdServiceImpl.java:922)
caused by: org.springframework.transaction.CannotCreateTransactionException: Could not create DirContext instance for transaction; nested exception is org.springframework.ldap.UncategorizedLdapException: Uncategorized exception occured during LDAP processing; nested exception is javax.naming.NamingException: Cannot parse url: ldaps.ftr.com:636 [Root exception is java.net.MalformedURLException: Not an LDAP URL: ldaps.company.com:636]
at org.springframework.transaction.compensating.support.AbstractCompensatingTransactionManagerDelegate.doBegin(AbstractCompensatingTransactionManagerDelegate.java:90)
caused by: org.springframework.ldap.UncategorizedLdapException: Uncategorized exception occured during LDAP processing; nested exception is javax.naming.NamingException: Cannot parse url: ldaps.company.com:636 [Root exception is java.net.MalformedURLException: Not an LDAP URL: ldaps.company.com:636]
at org.springframework.ldap.support.LdapUtils.convertLdapException(LdapUtils.java:228)
caused by: javax.naming.NamingException: Cannot parse url: ldaps.company.com:636 [Root exception is java.net.MalformedURLException: Not an LDAP URL: ldaps.company.com:636]
at com.sun.jndi.ldap.LdapURL.<init>(LdapURL.java:92)
caused by: java.net.MalformedURLException: Not an LDAP URL: ldaps.company.com:636
at com.sun.jndi.ldap.LdapURL.<init>(LdapURL.java:86)
Caused by: java.net.MalformedURLException: Not an LDAP URL: ldaps.company.com:636
at com.sun.jndi.ldap.LdapURL.<init>(LdapURL.java:86)
... 401 more
Diagnosis
Environment
Confluence is connected to LDAPs for authentication.
Cause
The LDAPs hostname is not able to be resolved due to a missing protocol.
Solution
Resolution
Follow the instructions in Restore Passwords To Recover Admin User Rights to recover administrator access.
Update your Directory Server and add
ldaps://
to your Hostname. See Connecting to an LDAP Directory for details.Save and Test the connection.
Once you've confirmed that the LDAP server can be synchronized, reorder your directories so that the LDAP server is in the first position again.
Was this helpful?