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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

869 views 23 12
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