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
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

747 views 33 5
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