Confluence Time Out when trying to save Page
Asked by ABHISHEK:

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


Answers:
author: Michael Renner
body: Are you using a reverse proxy in front of your Confluence installation? You need to configure the proxy settings properly in server.xml.

comments: author: ABHISHEK
body: 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 ?


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


author: AnnWorley
body: 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](https://confluence.atlassian.com/confkb/logging-into-another-atlassian-application-logs-me-out-of-confluence-268043930.html)


author: ABHISHEK
body: 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](https://community.atlassian.com/t5/image/serverpage/image-id/1564iA8E3942F1CE2F5C8/image-size/large?v=v2&px=999 "error.PNG")
```


Tags: questions-for-confluence