Confluence Time Out when trying to save Page

Hello Team,

After upgrading confluence from 6.0.4 to 6.2.0, It works everything fine, but when i try to Save new page, suddenly i got errors like below :

Can't connect to the server

Looks like your session expired. Log in again to keep working.

So i am trying more alternative ways but unable to fix it. So how can i resolve this issue ? It's production server and please reply as most as earlier


1 answer

Are you using a reverse proxy in front of your Confluence installation? You need to configure the proxy settings properly in server.xml.

No I am not using reverse proxy, and as per documentation my server.xml is Ok i think, here is my server.xml file


<Server port="8000" shutdown="SHUTDOWN" debug="0">
    <Service name="Tomcat-Standalone">
        <Connector port="8090" connectionTimeout="20000" redirectPort="8443"
                maxThreads="48" minSpareThreads="10"
                enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
                protocol="org.apache.coyote.http11.Http11NioProtocol" />

        <Engine name="Standalone" defaultHost="localhost" debug="0">

            <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4">
                <Context path="" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true">
                    <!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/ -->
                    <Manager pathname="" />
                    <Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />

                <Context path="${confluence.context.path}/synchrony-proxy" docBase="../synchrony-proxy" debug="0" reloadable="false" useHttpOnly="true">
                    <Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />


            To run Confluence via HTTPS:
             * Uncomment the Connector below
             * Execute:
                 %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
                 $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA  (Unix)
               with a password value of "changeit" for both the certificate and the keystore itself.
             * Restart and visit https://localhost:8443/

             For more info, see
        <Connector port="8443" maxHttpHeaderSize="8192"
                   maxThreads="150" minSpareThreads="25"
                   enableLookups="false" disableUploadTimeout="true"
                   acceptCount="100" scheme="https" secure="true"
                   clientAuth="false" sslProtocols="TLSv1,TLSv1.1,TLSv1.2" sslEnabledProtocols="TLSv1,TLSv1.1,TLSv1.2" SSLEnabled="true"
                   URIEncoding="UTF-8" keystorePass="<MY_CERTIFICATE_PASSWORD>"/>

Is there any more settings am i missing ?

and one more thing, i am able to save documents in Google Chrome but not in Mozilla as well as IE .

Ann Worley Atlassian Team May 24, 2017

Is it possible that when you tested with IE you were also logged into JIRA in the same browser? JIRA can overwrite the Confluence cookie under certain circumstances:

Logging into another Atlassian application logs me out of Confluence

Hi @Ann Worley, Thanks for your quick reply, In my server there are running bitbuckt, confluence, jira etc.  I have tried tried that link but still getting same issue, for more understanding here i attached my screenshot and context.xml file.



<?xml version='1.0' encoding='utf-8'?>
<Context sessionCookieName="CONFLUENCESESSIONID">
    <Valve   className="org.apache.catalina.valves.CometConnectionManagerValve" />




Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,479 views 4 13
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