Configured JIRA and Confluence to use SSL cert. JIRA is managing the users with internal directory. Logging in to JIRA for any user works normal, but cannot log in to Confluence with any user except the local admin account.
Error on the login page is non-descript."The following error(s) occurred:Sorry, a network error occurred trying to log you in. Please try again, and contact your administrator if the problem persists."
I have followed Atlassian documentation to configure and troubleshoot SSL and I'm still stuck with this problem 12 hours later. The error log is attached. It seems like Crowd is internally still trying to use HTTP. However I have not configured anything with Crowd, just JIRA and Confluence as per your documentation.Before install the SSL cert, all was working normally (JIRA and Confluence SSO had no problems).
2015-10-14 13:30:50,836 ERROR [http-nio-9443-exec-20] [crowd.manager.application.ApplicationServiceGeneric] authenticateUser Directory 'JIRA Server' is not functional during authentication of 'canada'. Skipped. 2015-10-14 13:30:50,837 WARN [http-nio-9443-exec-20] [atlassian.confluence.user.ConfluenceAuthenticator] authenticate CommunicationException caught while authenticating user <canada> com.atlassian.crowd.exception.runtime.CommunicationException at com.atlassian.crowd.embedded.core.CrowdServiceImpl.convertOperationFailedException(CrowdServiceImpl.java:919) at com.atlassian.crowd.embedded.core.CrowdServiceImpl.authenticate(CrowdServiceImpl.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) ... Caused by: org.apache.http.conn.HttpHostConnectException: Connect to 220.127.116.11:8080 [/18.104.22.168] failed: Connection refused at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ... 151 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134) ... 171 more
I don't know how to add another comment here, I keep getting an error message that I cannot add a response or comment because I've recently posted something. Oh well ... in response to your post Pedro:
Yes, I noticed that as well and I couldn't figure out what was causing the issue until you posted back. Thanks Pedro, that put me on the right track! What a silly mistake. I had to update the URL for the JIRA User Directory which I previously set in Confluence before I had SSL configured. *double face palm*
From the error, the problem might described on this page:
Also, I've noticed that the URL is using the 8080 port. It's possible that you will have to re-configure the user server since the base URL in JIRA changed.
Hi Community! 2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs