I have inherited a confluence server ( 7.0.1, Ubuntu, PostgreSQL) that is running on AWS.
This is configured with an application load balancer which is configured with SSL. The ALB communicates with an EC2 instance running on HTTP/8090
The load balancer has a rule that sends traffic to a target group that has the above ec2 registered.
The health check for LBs target group is reporting as unhealthy (checking /status on port 8090).
I can load the confluence page without issue using its hostname (e.g. http://confluencehostname/), but, if I try via its ip bypassing the LB (e.g. http://10.9.0.100:8090), I get a 404 error.
If I log into the ubuntu server the same issue occurs when trying 'wget http://10.9.0.100:8090' - a 404 is returned. Hostname it returns 200 and downloads the index page.
As AWS will be checking via the IP address, the 404 result is why it is reported as unhealthy. My question is why tomcat is not responding to requests when the IP is used
I noticed the default connector is commented out - should this be enabled?
<!--
<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
protocol="org.apache.coyote.http11.Http11NioProtocol"/>
-->
And the 'HTTP - Proxying Confluence via Apache or Nginx over HTTP' section is enabled
<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
protocol="org.apache.coyote.http11.Http11NioProtocol"
scheme="https" proxyName="confluencehostname" proxyPort="443"/>
Engine settings (tried to use a code block but its removing it when i paste)
<Engine name="Standalone" defaultHost="localhost" debug="0">
<Host name="confluencehostname" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4">
<Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
<!-- Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties -->
<Manager pathname=""/>
<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60"/>
</Context>
<Context path="${confluence.context.path}/synchrony-proxy" docBase="../synchrony-proxy" debug="0"
reloadable="false" useHttpOnly="true">
<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60"/>
</Context>
</Host>
</Engine>
Any suggestions ?
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.