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

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 vote

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}"

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

299 views 11 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you