Cannot save page without using DNS and port number Edited

We have recently upgraded to Confluence 6.2.2. Pages can be edited and saved when using the DNS and port number (e.g. http://Primec:8090) however, when using the URL without the port number (http://Primec) pages will not save. We get an error message saying 'there was an error processing the request'. We've tried turning off Collaborative editing and restarting Synchrony. The server has also been restarted. 

We have tried various other suggestions (too numerous to mention) from forums and the knowledge base. 

Any help would be appreciated.

 

1 answer

This has to do with the base url setting. If the base url is http://primec (in general settings), it might be missing reverse proxy statementsfrom server.xml

It's documented here:

https://confluence.atlassian.com/kb/integrating-apache-http-server-reverse-proxy-with-jira-753894357.html

If you find this answer helpful, please upvote my answer.

 

Ps. confluence and jira does this the same way, so same solution applies.

Thanks for the reply Jonas. Unfortunately, the link you provided gives an error.

Can you post a summary of the contents?

Thanks

Sorry about the late reply:

 

In your server.xml you need a connector that looks like this:


                   maxThreads="150"
                   minSpareThreads="25"
                   connectionTimeout="20000"
                   enableLookups="false"
                   maxHttpHeaderSize="8192"
                   protocol="HTTP/1.1"
                   useBodyEncodingForURI="true"
                   redirectPort="8443"
                   acceptCount="100"
                   proxyName="jira-test.your.FQDN"
                   proxyPort="443"
                   scheme="https"
                   disableUploadTimeout="true"/>

 

This means i am only exposing a high port on tomcat (8081 in my case) while i terminate http/https on a apache rewrite proxy in front of it.

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 Apr 13, 2018 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...

1,653 views 24 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