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

Can't connect to the server Looks like your session expired. Log in again to keep working.

Jørgen M. Madsen January 3, 2018

Hi guys.

 

Cant create new pages anymore. Seems like session is exespiring each time I try.
Her my apache settings.

 

<VirtualHost *:80>
ServerAdmin webmaster@domain.lan
Servername wiki.domain.lan
DocumentRoot /opt/atlassian/confluence
ProxyPreserveHost On
# Servers to proxy the connection, or
# List of application servers Usage
ProxyPass / http://localhost:8090/
ProxyPassReverse / http://localhost:8090/
RewriteEngine on
RewriteCond %{SERVER_NAME} =wiki.domain.lan
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

--

<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@domain.lan
Servername wiki.uluru.dk
DocumentRoot /opt/atlassian/confluence
ProxyPreserveHost On
# Servers to proxy the connection, or
# List of application servers Usage
ProxyPass / http://localhost:8090/
ProxyPassReverse / http://localhost:8090/


SSLCertificateFile /etc/letsencrypt/live/wiki.domain.lan/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/wiki.domain.lan/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>

----

I found suggestion to also modify the server.xml file, and I've tried the following:

 

<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" />
proxyName="wiki.domain.lan" proxyPort="443" scheme="https"

 

 

Any help or suggestions would be appreciated.

Thank you.

 

 

1 answer

0 votes
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 3, 2018

Hi!

I understand you cannot create new pages any more in your Confluence instance. Please let me know if you can edit existing pages.

If you are seeing this behavior after an upgrade from Confluence 5.x to a version higher than Confluence 6, the issue could be that you need to set up the proxy to support collaborative editing.

Please see this configuration guide if the editing issues are happening after an upgrade: Using Apache with mod_proxy

If there was no Confluence upgrade involved, please let me know when you started noticing that you couldn't create pages, and whether there were any recent changes or upgrades in the environment that may correspond with that time.

It would also be helpful to know the error message you see that indicates your session is expiring.

 

I look forward to hearing whether the proxy configuration helps.

Jørgen M. Madsen January 9, 2018

Hi Ann.
Thank you for replying.

 

I've tried the following:

<VirtualHost *:80>
ServerAdmin webmaster@domain.lan
Servername wiki.domain.lan
# DocumentRoot /opt/atlassian/confluence
# ProxyPreserveHost On
# Servers to proxy the connection, or
# List of application servers Usage
ProxyRequests Off
ProxyVia Off

<Proxy *>
Require all granted
</Proxy>

ProxyPass / http://localhost:8090/
ProxyPassReverse / http://localhost:8090/
RewriteEngine on
RewriteCond %{SERVER_NAME} =wiki.domain.lan
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

 

All mod proxy modules enabled.
I still have no idea whats wrong. The config above worked in 6.2 and 6.3 on my own server but after update to 6.5/6.6 it all went  downhill.

Maya_Chase December 11, 2018

Could I know what the outcome of this was please? We're having the same problem, although we did NOT upgrade Confluence, it just started happening the last day or so. We are able to edit existing pages but not add new ones. I'm checking with our Ops department to see if any recent changes were made that would affect the proxy settings.

Jacek Zarzycki November 5, 2021

Hi

I have this problem on version 7.14.1. Just updated from 7.13.2
Creation and editing is no posible.

Yannick Djomo August 5, 2022

I have that same error message, and would appreciate if someone has a solution to it. Thanks. 

Allana Cameron January 16, 2023

I am also receiving this error every time I try to create and/or edit a page in Confluence. We use Atlassian Confluence 7.17.4 .

It is creating an incredible amount of re-work as I have to continue to attempt my changes until "finally" they will save.

I echo the others, please provide direction on how to solve this issue.

serge calderara
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 16, 2023

@Allana Cameron , did you manage to find any thing, I have same issue on confluence 7.20.1

thanks

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events