This week I upgraded our live Confluence environment to latest as I believe we were approaching end of life for the version we were on. I had a surprise when I found out about the Synchrony / Collaborative Editing functionality. It sounds very nice and fancy, but right now it's stopping my company from editing wiki documents.
Our server is configured in front of a proxy, which I know is part of the complication, but when I go into the admin page to try and disable Synchrony I get an error stating "Something went wrong. Please try again." So I obviously don't want to use Synchrony because it isn't working but I also can't disable Sychrony because the server isn't working. This seems like a catch 22.
I'd love the opportunity to plan for enabling Synchrony on our own time table, but how can I disable it now (DB setting, or config file) until I can configure it properly.
The synchrony.enable.xhr.fallback=true parameter doesn't kill Synchrony, it switches the connection between Confluence and Synchrony to the experimental XHR connection, instead of through the Synchrony proxy.
Disabling Synchrony can be accomplished either through the UI (ConfluenceAdmininstration> Collaborative Editing > Change Mode > Off) or through a rest call against <base_url>/rest/synchrony-interop/disable
The following python script would do the trick:
import requests def main(): session = requests.session() session.auth = ('admin', 'admin') headers = {'X-Atlassian-Token': 'no-check'} resp = session.post('http://<base_url>/rest/synchrony-interop/disable', headers=headers) print(resp) print(resp.content) main()
If you're an Atlassian plugin dev and found your way here, you may wish to know there are some system property flags you can use instead for your local development environment.
Probably not suitable for a production environment, but a bit quicker for a local development environment.
Be cautious, of course, as you will likely want to test with Collaborative Editing on as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Going off Stephen's answer above, it might be easier to just run the following on a terminal with your admin user credentials and your base URL:
curl -X POST --user admin_user:password --header "X-Atlassian-Token: no-check" https://your.confluence.url/rest/synchrony-interop/disable
It worked for me. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just realized I wrote about a different issue, but I'd love to get more attention on the page that solved my ultimate issue with Synchrony.
https://confluence.atlassian.com/confkb/after-upgrading-confluence-you-are-unable-to-create-new-pages-or-spaces-785457379.html
This page describes a problem where you are unable to Create new pages in Confluence. As it turns out, with Synchrony enabled it also stops you from being able to Edit pages. In addition, I found this page, because a co-worker described to me that they were unable to COPY a page in confluence. So it might be worth expanding the description of symptoms of that KB. Meaning it affects, Create, Copy (which Create does imply Copy), and Edit (with Synchrony enabled).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I FINALLY found the synchrony.enable.xhr.fallback=true property and have killed synchrony and got confluence working again.
Your Troubleshooting Collaborative Editing page should have that section labeled, "When all else fails, disable Synchrony" or something more explicit.
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.