Issues configuring synchrony for confluence data center

Hello,

Testing out Confluence Data Center setup on a local VM. It's an upgrade from Confluence Server to Data Center to be exact. The upgrade was fairly straight-forward, just followed the instructions and it just worked. However, running into issues with synchrony - no big surprise there.  ;)

I followed the instructions and created a script to launch synchrony as a process, I've also changed the default port for synchrony - on the surface everything is great, in the collaborative editing admin panel it's all "green", heartbeat returns OK, however, the moment I try to create/edit a page things turn sour - spinner on the edit button for a minute, then it times out and goes into the edit with the following message:

synchrony.png

Here's the log messages related to this from atlassian-confluence.log:

2017-10-25 13:57:09,070 WARN [http-nio-8090-exec-7] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] logJSONResponseField [Collab editing plugin] Response message for Synchrony-9ccc4499-c9b8-3ead-bd3c-500cd3f3d9a4: Internal Server Error
 -- space: 3145730 | url: /plugins/editor-loader/editor.action | page: 3112992 | traceId: 8a8a28837775896b | userName: apopov | referer: http://192.168.101.128:8090/display/TESTONESD | action: editor
2017-10-25 13:57:39,126 INFO [http-nio-8090-exec-29] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] postConfigToSynchrony [Collab editing plugin] Synchrony response (500): Could not verify  AppID/Secret for real-time collaboration service at endpoint: http://192.168.101.128:8092/synchrony/v1/apps/secret
2017-10-25 13:57:39,126 INFO [http-nio-8090-exec-7] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] postConfigToSynchrony [Collab editing plugin] Synchrony response (500): Could not verify  AppID/Secret for real-time collaboration service at endpoint: http://192.168.101.128:8092/synchrony/v1/apps/secret
2017-10-25 13:57:39,128 WARN [http-nio-8090-exec-29] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] logJSONResponseField [Collab editing plugin] Response message for Synchrony-9ccc4499-c9b8-3ead-bd3c-500cd3f3d9a4-debug: Internal Server Error
 -- referer: http://192.168.101.128:8090/display/TESTONESD | url: /pages/editpage.action | traceId: ba31672db5a868c3 | userName: apopov
2017-10-25 13:57:39,129 WARN [http-nio-8090-exec-7] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] logJSONResponseField [Collab editing plugin] Response message for Synchrony-9ccc4499-c9b8-3ead-bd3c-500cd3f3d9a4-debug: Internal Server Error
 -- space: 3145730 | url: /plugins/editor-loader/editor.action | page: 3112992 | traceId: 8a8a28837775896b | userName: apopov | referer: http://192.168.101.128:8090/display/TESTONESD | action: editor
2017-10-25 13:57:39,130 WARN [http-nio-8090-exec-29] [plugins.synchrony.service.SynchronyContentService] runRecoveryInTransaction Could not reconcile content for restored. ID: 3112993 Caused by: com.atlassian.confluence.plugins.synchrony.model.SynchronyException: ERROR_CREATING_REQUEST
 -- referer: http://192.168.101.128:8090/display/TESTONESD | url: /pages/editpage.action | traceId: ba31672db5a868c3 | userName: apopov
2017-10-25 13:57:39,131 WARN [http-nio-8090-exec-7] [plugins.synchrony.service.SynchronyContentService] runRecoveryInTransaction Could not reconcile content for restored. ID: 3112993 Caused by: com.atlassian.confluence.plugins.synchrony.model.SynchronyException: ERROR_CREATING_REQUEST
 -- space: 3145730 | url: /plugins/editor-loader/editor.action | page: 3112992 | traceId: 8a8a28837775896b | userName: apopov | referer: http://192.168.101.128:8090/display/TESTONESD | action: editor
2017-10-25 13:57:39,132 WARN [http-nio-8090-exec-7] [confluence.util.profiling.DurationThresholdWarningTimingHelperFactory] logMessage Execution time for publishing event com.atlassian.confluence.event.events.content.page.synchrony.SynchronyRecoveryEvent@683095c took 60130 ms (warning threshold is 5000 ms)
 -- space: 3145730 | url: /plugins/editor-loader/editor.action | page: 3112992 | traceId: 8a8a28837775896b | userName: apopov | referer: http://192.168.101.128:8090/display/TESTONESD | action: editor
2017-10-25 13:57:39,131 WARN [http-nio-8090-exec-29] [confluence.util.profiling.DurationThresholdWarningTimingHelperFactory] logMessage Execution time for publishing event com.atlassian.confluence.event.events.content.page.synchrony.SynchronyRecoveryEvent@3c92af7a took 47467 ms (warning threshold is 5000 ms)
 -- referer: http://192.168.101.128:8090/display/TESTONESD | url: /pages/editpage.action | traceId: ba31672db5a868c3 | userName: apopov
2017-10-25 13:57:39,133 WARN [http-nio-8090-exec-7] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:
  ->[null]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #308429328)
 -- space: 3145730 | url: /plugins/editor-loader/editor.action | page: 3112992 | traceId: 8a8a28837775896b | userName: apopov | referer: http://192.168.101.128:8090/display/TESTONESD | action: editor
2017-10-25 13:57:39,138 WARN [http-nio-8090-exec-29] [confluence.impl.hibernate.ConfluenceHibernateTransactionManager] doRollback Performing rollback. Transactions:
  ->[null]: PROPAGATION_REQUIRED,ISOLATION_DEFAULT (Session #1026069423)
 -- url: /pages/editpage.action | page: 3112992 | traceId: ba31672db5a868c3 | userName: apopov | referer: http://192.168.101.128:8090/display/TESTONESD | action: editpage
2017-10-25 13:58:09,398 INFO [http-nio-8090-exec-7] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] postConfigToSynchrony [Collab editing plugin] Synchrony response (500): Could not verify  AppID/Secret for real-time collaboration service at endpoint: http://192.168.101.128:8092/synchrony/v1/apps/secret
2017-10-25 13:58:09,400 WARN [http-nio-8090-exec-7] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] logJSONResponseField [Collab editing plugin] Response message for Synchrony-9ccc4499-c9b8-3ead-bd3c-500cd3f3d9a4: Internal Server Error
 -- space: 3145730 | url: /plugins/editor-loader/editor.action | page: 3112992 | traceId: 8a8a28837775896b | userName: apopov | referer: http://192.168.101.128:8090/display/TESTONESD | action: editor
2017-10-25 13:58:09,405 INFO [http-nio-8090-exec-29] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] postConfigToSynchrony [Collab editing plugin] Synchrony response (500): Could not verify  AppID/Secret for real-time collaboration service at endpoint: http://192.168.101.128:8092/synchrony/v1/apps/secret
2017-10-25 13:58:09,406 WARN [http-nio-8090-exec-29] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] logJSONResponseField [Collab editing plugin] Response message for Synchrony-9ccc4499-c9b8-3ead-bd3c-500cd3f3d9a4: Internal Server Error
 -- url: /pages/editpage.action | page: 3112992 | traceId: ba31672db5a868c3 | userName: apopov | referer: http://192.168.101.128:8090/display/TESTONESD | action: editpage
2017-10-25 13:58:39,462 INFO [http-nio-8090-exec-7] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] postConfigToSynchrony [Collab editing plugin] Synchrony response (500): Could not verify  AppID/Secret for real-time collaboration service at endpoint: http://192.168.101.128:8092/synchrony/v1/apps/secret
2017-10-25 13:58:39,464 WARN [http-nio-8090-exec-7] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] logJSONResponseField [Collab editing plugin] Response message for Synchrony-9ccc4499-c9b8-3ead-bd3c-500cd3f3d9a4-debug: Internal Server Error
 -- space: 3145730 | url: /plugins/editor-loader/editor.action | page: 3112992 | traceId: 8a8a28837775896b | userName: apopov | referer: http://192.168.101.128:8090/display/TESTONESD | action: editor
2017-10-25 13:58:39,465 ERROR [http-nio-8090-exec-7] [confluence.plugins.synchrony.SynchronyContextProvider] getContextMap This instance could not be registered with Synchrony.
 -- space: 3145730 | url: /plugins/editor-loader/editor.action | page: 3112992 | traceId: 8a8a28837775896b | userName: apopov | referer: http://192.168.101.128:8090/display/TESTONESD | action: editor
2017-10-25 13:58:39,468 INFO [http-nio-8090-exec-29] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] postConfigToSynchrony [Collab editing plugin] Synchrony response (500): Could not verify  AppID/Secret for real-time collaboration service at endpoint: http://192.168.101.128:8092/synchrony/v1/apps/secret
2017-10-25 13:58:39,470 WARN [http-nio-8090-exec-29] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] logJSONResponseField [Collab editing plugin] Response message for Synchrony-9ccc4499-c9b8-3ead-bd3c-500cd3f3d9a4-debug: Internal Server Error
 -- url: /pages/editpage.action | page: 3112992 | traceId: ba31672db5a868c3 | userName: apopov | referer: http://192.168.101.128:8090/display/TESTONESD | action: editpage
2017-10-25 13:58:39,472 ERROR [http-nio-8090-exec-29] [confluence.plugins.synchrony.SynchronyContextProvider] getContextMap This instance could not be registered with Synchrony.
 -- url: /pages/editpage.action | page: 3112992 | traceId: ba31672db5a868c3 | userName: apopov | referer: http://192.168.101.128:8090/display/TESTONESD | action: editpage
2017-10-25 13:58:39,485 WARN [http-nio-8090-exec-7] [confluence.util.profiling.DefaultActivityMonitor] close Exceeded the threshold of 60000 ms: ActivitySnapshot{startTime=1508957798858, threadId=209, threadName='http-nio-8090-exec-7', userId='apopov', type='web-request', summary='/plugins/editor-loader/editor.action?parentPageId=&pageId=3112992&spaceKey=TESTONESD&atl_after_login_redirect=%2Fdisplay%2FTESTONESD&timeout=12000&_=1508957800471'}
 -- url: /plugins/editor-loader/editor.action | traceId: 8a8a28837775896b | userName: apopov | referer: http://192.168.101.128:8090/display/TESTONESD
2017-10-25 13:58:39,615 WARN [http-nio-8090-exec-29] [confluence.util.profiling.DefaultActivityMonitor] close Exceeded the threshold of 60000 ms: ActivitySnapshot{startTime=1508957811551, threadId=237, threadName='http-nio-8090-exec-29', userId='apopov', type='web-request', summary='/pages/editpage.action?pageId=3112992'}

Specifically if would be awesome to know what these two mean:

  • Could not verify  AppID/Secret for real-time collaboration service
  • This instance could not be registered with Synchrony

Not sure what I'm doing wrong here. If you have some insight to share, please do.

Thanks in advance!

 

3 answers

0 vote
Jeremy Mooiman Community Champion Nov 17, 2017

Dear Andrey Popov,

What version of Confluence do you have?

Friendly Regards,

Jeremy

Team,

 

Can someone help by providing a fix or workaround ? we are also seeing the same error after migrating from Confluence Cloud to Confluence Server (6.4.2).

 

2017-12-01 12:06:27,684 INFO [http-nio-8090-exec-4] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] postConfigToSynchrony [Collab editing plugin] Synchrony response (500): Could not verify  AppID/Secret for real-time collaboration service at endpoint: http://127.0.0.1:8091/synchrony/v1/apps/secret

2017-12-01 12:06:27,686 WARN [http-nio-8090-exec-4] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] logJSONResponseField [Collab editing plugin] Response message for Synchrony-9598aef1-9d96-33f9-86d7-d6836232955a: Internal Server Error

2017-12-01 12:06:58,276 ERROR [http-nio-8090-exec-4] [confluence.plugins.synchrony.SynchronyContextProvider] getContextMap This instance could not be registered with Synchrony.

 

Thanks,

Kiran.

Hello,

I had the same problem. For me Step #5 from the atlassian docs helped (had the nonproxyhosts configured wrong)

 

https://confluence.atlassian.com/confkb/unable-to-edit-any-pages-in-confluence-6-x-due-to-collaborative-editing-867362716.html

Kind regards,

Torsten.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,898 views 25 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you