Forums

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

confluence Collaborative editing problem

changryong song
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 3, 2020

I built a confluence instance in Jail using Freenas. It was not installed with bin, so I installed it through tar and checked the operation.
And I am using Nginx reverse proxy in another Jail.

There is no problem in accessing or creating with https, but when co-editing is activated, the editor does not appear and only the screen that is continuously loaded is displayed. In the developer console, the heartbeat of synchrony is 204 response code.

Something went wrong after loading the editor. Copy your unsaved changes and refresh the page to keep editing.

The above message appears.

The local ip of the confluence jail is 192.168.1.238
Reverse proxy works with different ip addresses.

 

confluence version is 7.6.2

What I set is in server.xml
<!--
================================================== ================================================== ==========
HTTPS-Proxying Confluence via Apache or Nginx over HTTPS

If you're proxying traffic to Confluence over HTTPS, uncomment the connector below and comment out the others.
Make sure you provide the right information for proxyName and proxyPort.

For more information see:
Apache-https://confluence.atlassian.com/x/PTT3MQ
nginx-https://confluence.atlassian.com/x/cNIvMw
================================================== ================================================== ==========
-->

I uncommented the setting in this section, and actually set it to port 443 through url and https connection to be used.

Nginx config in another jail

location / {
client_max_body_size 100m;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
#proxy_hide_header X-Frame-Options;
#proxy_hide_header X-Content-Type-Options;
#proxy_hide_header X-XSS-Protection;
#proxy_hide_header Referrer-Policy;
proxy_pass http://192.168.1.238:8090;
#proxy_http_version 1.1;
#proxy_set_header Upgrade $http_upgrade;
#proxy_set_header Connection "upgrade";
#proxy_max_temp_file_size 16400M;
#proxy_buffering off;
#proxy_request_buffering off;
}
location /synchrony {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_read_timeout 700s;
proxy_pass http://192.168.1.238:8091/synchrony;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
client_max_body_size 100M;
}

It's like this.

I tried various solutions through search, but it does not work properly. Most internet solutions seem to have confluence and nginx reverse proxy in the same instance.

1 answer

0 votes
Fabian Lim
Community Champion
January 29, 2022

Hi There,

I found this KB article where there is a resolution for the error 204: https://confluence.atlassian.com/confkb/cannot-enable-collaborative-editing-on-synchrony-cluster-962962742.html

Give it a try.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events