Confluence Version 6.0.7
Firefox 56.0
Setting up a new environment running through Haproxy. I'm able to load macro's if I go to the http://ipaddress:8090, but not if I go to http://mywebsite.com in Firefox and IE. Chrome and Edge work fine.
When running Development Tools in Firefox I see 403 error under Network.
Server: Apache-Coyote/1.1
X-ASEN: SEN-10016435
X-Seraph-LoginReason: OK
X-AUSERNAME: user
X-Content-Type-Options: nosniff
Content-Encoding: gzip
Vary: User-Agent
Content-Type: text/html
Transfer-Encoding: chunked
Any help would be great
Hi Blair,
Is that IP address your Confluence Base URL or is the mywebsite.com the baseURL?
Also, is the IP an internal one or external?
I'm wondering if the Proxy simply doesn't want to serve the macros when visiting it from "the outside." Since a 403 error means it's forbidden, and if you're accessing it using a proxy, it might mean that you have to whitelist a domain or IP for it to be able to access the content.
Kind Regards,
Shannon
Thank for getting back to me.
We figured it out when customizing the server.xml file with our proxy information 403 would show across all browsers. We noticed that when setting the proxy information it auto switches off syncrony, so just need to enable it in the setenv.sh.
server.xml
<Connector port="8090"
maxThreads="150"
minSpareThreads="25"
connectionTimeout="2000"
proxyName="mywebsite"
proxyPort="443"
scheme="https"
enableLookups="false"
maxHttpHeaderSize="8192"
protocol="HTTP/1.1"
useBodyEncodingForURI="true"
redirectPort="8444"
acceptCount="100"
disableUploadTimeout="true"
/>
setenv.sh
CATALINA_OPTS=
"-Dsynchrony.proxy.enabled=true ${CATALINA_OPTS}"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Blair,
Thank you for the update! Glad you were able to figure it out, and by providing the details it will help other users should they run into the same issue.
Kind Regards,
Shannon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.