Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Confluence Time Out when trying to save Page

ABHISHEK May 24, 2017

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

Thanks

1 answer

0 votes
Michael Renner May 24, 2017

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

ABHISHEK May 24, 2017

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/log4j.properties -->
                    <Manager pathname="" />
                    <Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60" />
                </Context>

                <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" />
                </Context>
            </Host>

        </Engine>

        <!--
            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 https://confluence.atlassian.com/display/DOC/Running+Confluence+Over+SSL+or+HTTPS
        -->
<!--
        <Connector port="8443" maxHttpHeaderSize="8192"
                   maxThreads="150" minSpareThreads="25"
                   protocol="org.apache.coyote.http11.Http11NioProtocol"
                   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>"/>
-->
    </Service>
</Server>

Is there any more settings am i missing ?

ABHISHEK May 24, 2017

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

AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
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

ABHISHEK May 25, 2017

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.

Context.xml

 

<?xml version='1.0' encoding='utf-8'?>
<Context sessionCookieName="CONFLUENCESESSIONID">
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
    <Valve   className="org.apache.catalina.valves.CometConnectionManagerValve" />
    -->
</Context>


Error:

error.PNG

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events