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
Published Oct 09, 2018 in Confluence

Introducing Praecipio Consulting, an Atlassian Solution Partner

Hey there Community!  My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they c...

404 views 0 9
Read article

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