SSL Requests are Not Redirected to the Correct Port
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
- Open <confluence-install>/conf/server.xml.
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"
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.