I am running Confluence 6.6.0 behind NGINX and needed to change the default synchrony port.
In setenv.sh I added:
CATALINA_OPTS="-Dsynchrony.port=8092 ${CATALINA_OPTS}"
and in NGINX I added the following to the Configuration
}
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_pass http://localhost:8092/synchrony;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
However, when I turn on collaborative editing, pages cannot be edited. I get "Something went wrong after loading the editor. Copy your unsaved changes and refresh the page to keep editing." and have to hit the back button to stop trying to edit the page. Any ideas?
Everything you posted looks correct per the docs I checked: How to use NGINX to proxy requests for Confluence and Configuring System Properties. I assume you restarted Confluence after editing the setenv.sh.
I found this similar post on the forum, please check out the tips from Shannon on this Question: "Something went wrong after loading the editor." Confluence behind NGINX reverse proxy
Please let me know why Synchrony can't run on port 8091 (just curious).
Yes, I restarted Confluence. I used 8092 because the person who set up NGINX is using 8091 for another purpose. It looks to me like it NGNIX is not set up to handle web socket connections. I have an incident with my IT staff to check on this - will keep you posted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear All
I have 2 confluences db installed on 1 windows server 2008. I need to open synchrony both 2 confluences. One is set port 8091 default, open Collaborative editing and it works. The second I turn on Collaborative editing , I cannot open page to edit, it errors:
"This page is taking longer to load than usual. Give it a few moments, then try refreshing. Still having issues? Contact your Confluence admin."
Would you please tell me how to change synchrony port so that we can use Collaborative editing in both confluence.
In setenv.sh I added: ( in the second confluence )
CATALINA_OPTS="-Dsynchrony.port=8092 ${CATALINA_OPTS}"
and restart service of confluence but it does not work
Many Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.