Log in fails to Confluence after SSL set up in JIRA

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 110.10.0.100:8080 [/110.10.0.100] 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

 

 

 

UPDATE:

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*

https://confluence.atlassian.com/doc/connecting-to-crowd-or-jira-for-user-management-229838465.html#ConnectingtoCrowdorJIRAforUserManagement-ConnectingConfluencetoJIRAforUserManagement

1 answer

1 accepted

Accepted Answer
0 votes
Pedro Cora Atlassian Team Oct 14, 2015

Daniel, 

From the error, the problem might described on this page:

https://confluence.atlassian.com/display/CONFKB/Unable+to+connect+to+JIRA+for+authentication+-+Forbidden+403

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.

-- Pedro

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

261 views 1 4
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you