Confluence collab editing
Asked by Jake King:

I installed JIRA, Bitbucket, and Confluence, and integrated them all together, using JIRA as the auth source (and LDAP the auth source for JIRA).

However, our developers were already using Confluence in the cloud, and wanted to move it locally. They took a backup of the cloud version, and restored it on the 'on premise' version. This messed up the configuration. I managed to fix authentication, however, collaborative editing is now broken, because I believe that Synchrony was never installed. Can someone help me figure out how to fix Synchrony/Collab editing?

Server: Windows Server 2008 R2, 64 bit, MariaDB/MySQL, APache.


Answers:
author: Davin Studer
body: One question I have ...  
Do you happen to have Confluence behind a reverse proxy at all for SSL?

comments: author: Jake King
body: no. It is behind a firewall that is using NAT, but there shouldn't be anything blocking it's ability to get out.   

I don't have any ports open for Synchrony either. I wasn't having any errors like this until they did the restore from cloud to on prem.


author: Davin Studer
body: Does collaborative editing work inside the firewall? Or does it just not work everywhere? In a typical install, Synchrony works on port 8091 while tomcat works on 8090. If it is being accessed outside the firewall you will certainly need to allow 8091 through. Also, check to see if Synchrony is running. There is a page in Confluence Admin where you can see that. URL below.

http(s)://{yourserver}/admin/confluence-collaborative-editor-plugin/configure.action


author: Jake King
body: I guess I should mention that everyone using the system is either internal, or using VPN, so it's accessible via 'LAN' does it still need to be opened through the firewall? (no proxys between the VPN users and the server).

And it looks like Synchrony isn't even installed that I can see.


author: Davin Studer
body: So, if it is internal or through the VPN, then no need for firewall rules since all traffic is internal. Why do you so that Synchrony is not installed? Did you use the Windows installer to install Confluence? If so then it should have installed Synchrony. Did you check out the URL I posted above (adjusted for your environment of course)? What does it say on that page?


author: Jake King
body: well, yesterday, it was saying 'not started' for Synchrony, and you could restart it, it just failed. The log files didn't exist, and I had disabled Collaborative editing.

today, however, it says that Synchrony is started, and Collab editing is turned on. No idea what happened.


author: Jake King
body: however, now, with Collab editing enabled, we get an error immediately upon editing a document:  
'This page is taking longer to load than usual. Give it a few moments, then try refreshing. Still having issues? Contact your Confluence admin.'  

If we turn off Collab editing, it lets us get into the pages, but then gives us a different error:  
'Changing page titles isn't possible right now, as collaborative editing is offline. Restore the page title if you'd like to publish the page'  

However, no changes to the title were made during editing. We get this on any page we edit with Collab Editing turned off.


author: Davin Studer
body: Are you accessing Confluence over http or https?


author: Jake King
body: http


author: Davin Studer
body: What do you get if you put this into your browser?

http://{yourserver}:8091/synchrony/heartbeat

Also, try opening up your browser dev tools (F12) and refresh the page. Are there any javascript errors thrown?


author: Neil Anthony Morada
body: Hi [@Davin Studer](/t5/user/viewprofilepage/user-id/781467)

We have a problem on synchrony and when I access this

http://{ourserver}:8091/synchrony/heartbeat it shows this

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/170520iA154E1EBF5D9CEC8/image-size/large?v=v2&px=999 "image.png")

I already changed the synchrony port to 8092 and the memory heap size to 2gb and still no effect on error.

Btw, our confluence and synchrony runs smoothly for a year and suddenly encountered error.

Thank you!


Tags: synchrony