Unable to log in to Confluence after upgrading to Confluence 5.10

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.

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

Problem

After upgrading to Confluence 5.10x, logins fail with the following error in the atlassian-confluence.log:

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. 

Resolution

  1. Follow the instructions in Restore Passwords To Recover Admin User Rights to recover administrator access. 
  2. Update your Directory Server and add ldaps:// to your Hostname. See Connecting to an LDAP Directory for details. 

  3. Save and Test the connection. 
  4. 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. 

 

Last modified on Nov 5, 2017

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.