Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confluence Macro's not working in Firefox and IE, But working in Chrome, and Edge.

Blair M October 11, 2017

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

 

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 12, 2017

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

Blair M October 13, 2017

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}"
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 16, 2017

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events