SSL Requests are Not Redirected to the Correct Port

Still need help?

The Atlassian Community is here for you.

Ask the community

This issue is fixed in Confluence 2.80 and above, but the article remains for legacy instances and posterity.

Symptoms

When users point their browser to https://localhost:8443, Confluence will show the login screen. However, when users point their browser to http://localhost:8080, Confluence shows a connection failed.

Cause

The port in server.xml is not configured properly.

Workaround

 

  1. Open <confluence-install>/conf/server.xml.
  2. Locate the following:

    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="80" minProcessors="5" maxProcessors="75" enableLookups="false" redirectPort="8444"
    

    and

    <Connector port="8443" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false"
    
  3. In this case, we can see that redirected port for Confluence is 8444 and the connector is set to 8443. Change the redirect port to 8443 in order to match the connector setting:

    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="80" minProcessors="5" maxProcessors="75" enableLookups="false" redirectPort="8443"
    

Resolution

  • CONF-9451 - Getting issue details... STATUS
  • Upgrade to 2.80 or above.

Last modified on Feb 26, 2016

Was this helpful?

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