Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence Editor won´t start

IT Administration June 21, 2018

Hello,

on our migrated Confluence System behind an Apache Reverseproxy we get the Error that the Editor won´t start or that the websocket configuration on the reversproxy is wrong. Then I modified the Virtual Host configuration but it had no effect. Couriosly I get the same Error when i´m accessing Confluence without reverse Proxy. My virtual host configuration looks like this:

<VirtualHost *:443>

ServerName confluence.company.com
ServerAlias confluence.company.com

ProxyRequests Off
ProxyPreserveHost On

<Proxy *>
Require all granted
RewriteEngine on
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC]
RewriteRule .* ws://127.0.0.1:8090%{REQUEST_URI} [P]

</Proxy>

ProxyPass / http://127.0.0.1:8090/
ProxyPassReverse / http://127.0.0.1:8090/

ProxyPass "/ws/" "ws://127.0.0.1:8080/"
ProxyPass "/wss/" "wss://127.0.0.1:8080/"

SSLEngine On
SSLCertificateFile /etc/pki/CA/certs/conflu.pem
SSLCertificateKeyFile /etc/pki/CA/certs/conflukey.pem
</VirtualHost>

I hope someone out there has an Idea or a configuration i could try out...

Best Regards

Thomas

1 answer

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

Hi Thomas,

There is a sample Apache configuration for Confluence 6.x on this page: Securing your Atlassian applications with Apache using SSL.  The configuration is in an expand macro on the page after the text:

If you're using Confluence 6.0 or later with Synchrony (which is required for collaborative editing), you'll need to use Apache 2.4...

Regarding the WebSockets errors, if you see them with or without the proxy as you report, then maybe something else on your network is interfering. In later versions of Confluence an XHR connection is attempted when WebSockets is not available. Please let me know what version you are running. This guide has some troubleshooting steps for WebSockets that may help: Websocket issues Please notice the version picker on the guide in the top right corner. If you have an earlier version of Confluence you may check the doc for your version to see if you need to enable XHR fallback in a configuration file.

Thanks,

Ann

IT Administration June 22, 2018

Hello Ann,

thank you for the hint. There was a Parameter missing in the server.xml. The missing Parameter was "secure="true"". Now everything works fine.

Best Regards

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events