Cannot create/edit pages whenever collaborative editing is enabled.

Yuan Tian February 12, 2017

The Collaborative editing funtion isn't work proper after I installed Confluence 6. The page hung with following screenshut: 

the log :

2017-02-13 14:19:42,737 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.5.225:8091/synchrony/v1/apps/secret
2017-02-13 14:19:42,739 WARN [http-nio-8090-exec-7] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] logJSONResponseField [Collab editing plugin] Response message for Synchrony-bc3456c9-41a1-3e92-a5f1-c22cb9d61ab6: Internal Server Error
-- referer: http://192.168.5.225:8090/pages/viewpage.action?pageId=2031618&editingFailed | url: /plugins/createcontent/draft-createpage.action | traceId: c80a5cb18d184400 | userName: admin | action: draft-createpage
2017-02-13 14:20:07,734 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.5.225:8091/synchrony/v1/apps/secret
2017-02-13 14:20:07,736 WARN [http-nio-8090-exec-7] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] logJSONResponseField [Collab editing plugin] Response message for Synchrony-bc3456c9-41a1-3e92-a5f1-c22cb9d61ab6-debug: Internal Server Error
-- referer: http://192.168.5.225:8090/pages/viewpage.action?pageId=2031618&editingFailed | url: /plugins/createcontent/draft-createpage.action | traceId: c80a5cb18d184400 | userName: admin | action: draft-createpage
2017-02-13 14:20:07,738 ERROR [http-nio-8090-exec-7] [confluence.plugins.synchrony.SynchronyContextProvider] getContextMap This instance could not be registered with Synchrony.
-- referer: http://192.168.5.225:8090/pages/viewpage.action?pageId=2031618&editingFailed | url: /plugins/createcontent/draft-createpage.action | traceId: c80a5cb18d184400 | userName: admin | action: draft-createpage
2017-02-13 14:20:32,737 INFO [http-nio-8090-exec-6] [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.5.225:8091/synchrony/v1/apps/secret
2017-02-13 14:20:32,737 INFO [http-nio-8090-exec-3] [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.5.225:8091/synchrony/v1/apps/secret
2017-02-13 14:20:32,739 WARN [http-nio-8090-exec-6] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] logJSONResponseField [Collab editing plugin] Response message for Synchrony-bc3456c9-41a1-3e92-a5f1-c22cb9d61ab6: Internal Server Error
-- referer: http://192.168.5.225:8090/plugins/createcontent/draft-createpage.action?draftId=2031620 | url: /rest/synchrony/1.0/token/2031620/generate | traceId: 8c8a96f67158e3bc | userName: admin
2017-02-13 14:20:32,739 WARN [http-nio-8090-exec-3] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] logJSONResponseField [Collab editing plugin] Response message for Synchrony-bc3456c9-41a1-3e92-a5f1-c22cb9d61ab6: Internal Server Error
-- referer: http://192.168.5.225:8090/plugins/createcontent/draft-createpage.action?draftId=2031620 | url: /rest/synchrony/1.0/token/2031620/generate | traceId: aad7494fa5d39e9c | userName: admin
2017-02-13 14:20:57,733 INFO [http-nio-8090-exec-3] [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.5.225:8091/synchrony/v1/apps/secret
2017-02-13 14:20:57,735 WARN [http-nio-8090-exec-3] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] logJSONResponseField [Collab editing plugin] Response message for Synchrony-bc3456c9-41a1-3e92-a5f1-c22cb9d61ab6-debug: Internal Server Error
-- referer: http://192.168.5.225:8090/plugins/createcontent/draft-createpage.action?draftId=2031620 | url: /rest/synchrony/1.0/token/2031620/generate | traceId: aad7494fa5d39e9c | userName: admin
2017-02-13 14:20:57,738 INFO [http-nio-8090-exec-6] [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.5.225:8091/synchrony/v1/apps/secret
2017-02-13 14:20:57,739 ERROR [http-nio-8090-exec-3] [synchrony.api.v1.SynchronyTokenResource] generateToken This instance could not be registered with Synchrony.
-- referer: http://192.168.5.225:8090/plugins/createcontent/draft-createpage.action?draftId=2031620 | url: /rest/synchrony/1.0/token/2031620/generate | traceId: aad7494fa5d39e9c | userName: admin
2017-02-13 14:20:57,740 WARN [http-nio-8090-exec-6] [plugins.synchrony.config.DefaultSynchronyConfigurationManager] logJSONResponseField [Collab editing plugin] Response message for Synchrony-bc3456c9-41a1-3e92-a5f1-c22cb9d61ab6-debug: Internal Server Error
-- referer: http://192.168.5.225:8090/plugins/createcontent/draft-createpage.action?draftId=2031620 | url: /rest/synchrony/1.0/token/2031620/generate | traceId: 8c8a96f67158e3bc | userName: admin
2017-02-13 14:20:57,744 ERROR [http-nio-8090-exec-6] [synchrony.api.v1.SynchronyTokenResource] generateToken This instance could not be registered with Synchrony.
-- referer: http://192.168.5.225:8090/plugins/createcontent/draft-createpage.action?draftId=2031620 | url: /rest/synchrony/1.0/token/2031620/generate | traceId: 8c8a96f67158e3bc | userName: admin
2017-02-13 14:20:57,753 INFO [http-nio-8090-exec-3] [atlassian.confluence.status.SystemErrorInformationLogger] writeToLog
Request Unique ID : fec617fd-a755-4f1c-9726-d5af915facd1
--------------------------
JVM Stats
--------------------------
usedMemory = 1279578976
usedMemoryInMegabytes = 1220
availableHeap = 3015388320
freeMemoryInMegabytes = 827
allocatedHeap = 2147483648
freeAllocatedHeap = 867904672
totalMemory = 2147483648
totalMemoryInMegabytes = 2048
availablePermGen = 0
maxPermGen = -1
maxHeap = 4294967296
usedHeap = 1279578976
freeMemory = 867904672
usedPermGen = -1
--------------------------
Request Information
--------------------------
URL: http://192.168.5.225:8090/500page.jsp
Scheme: http
Server: 192.168.5.225
Port: 8090
URI: /500page.jsp
Context Path:
Servlet Path: /500page.jsp
Path Info: null
Query String: null
--------------------------
Attributes
--------------------------
javax.servlet.forward.request_uri: /rest/synchrony/1.0/token/2031620/generate
javax.servlet.forward.context_path:
javax.servlet.forward.servlet_path: /rest
javax.servlet.forward.path_info: /synchrony/1.0/token/2031620/generate
javax.servlet.error.status_code: 500
com.atlassian.confluence.impl.profiling.DecoratorTimings: com.atlassian.confluence.impl.profiling.DecoratorTimings@ad8f334
com.opensymphony.sitemesh.APPLIED_ONCE: true
__cleanup_recursion_counter: 0
javax.servlet.error.message: Internal Server Error
javax.servlet.error.servlet_name: noop
com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter_already_filtered: true
atlassian.core.seraph.original.url: /500page.jsp
com.atlassian.gzipfilter.GzipFilter_already_filtered: true
B3-TraceId: 4bc56eaf82df30
loginfilter.already.filtered: true
javax.servlet.error.request_uri: /rest/synchrony/1.0/token/2031620/generate
com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true
com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter: true
os_securityfilter_already_filtered: true
com.atlassian.seraph.auth.LoginReason: OK
com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter: true
--------------------------
Parameters
--------------------------

2017-02-13 14:20:57,758 INFO [http-nio-8090-exec-6] [atlassian.confluence.status.SystemErrorInformationLogger] writeToLog
Request Unique ID : 52f4d4dd-4867-45a4-a8db-987ca0e69dc8
--------------------------
JVM Stats
--------------------------
usedMemory = 1280107600
usedMemoryInMegabytes = 1220
availableHeap = 3014859696
freeMemoryInMegabytes = 827
allocatedHeap = 2147483648
freeAllocatedHeap = 867376048
totalMemory = 2147483648
totalMemoryInMegabytes = 2048
availablePermGen = 0
maxPermGen = -1
maxHeap = 4294967296
usedHeap = 1280107600
freeMemory = 867376048
usedPermGen = -1
--------------------------
Request Information
--------------------------
URL: http://192.168.5.225:8090/500page.jsp
Scheme: http
Server: 192.168.5.225
Port: 8090
URI: /500page.jsp
Context Path:
Servlet Path: /500page.jsp
Path Info: null
Query String: null
--------------------------
Attributes
--------------------------
javax.servlet.forward.request_uri: /rest/synchrony/1.0/token/2031620/generate
javax.servlet.forward.context_path:
javax.servlet.forward.servlet_path: /rest
javax.servlet.forward.path_info: /synchrony/1.0/token/2031620/generate
javax.servlet.error.status_code: 500
com.atlassian.confluence.impl.profiling.DecoratorTimings: com.atlassian.confluence.impl.profiling.DecoratorTimings@4fe72128
com.opensymphony.sitemesh.APPLIED_ONCE: true
__cleanup_recursion_counter: 0
javax.servlet.error.message: Internal Server Error
javax.servlet.error.servlet_name: noop
com.atlassian.confluence.web.filter.validateparam.RequestParamValidationFilter_already_filtered: true
atlassian.core.seraph.original.url: /500page.jsp
com.atlassian.gzipfilter.GzipFilter_already_filtered: true
B3-TraceId: a907d639e45151
loginfilter.already.filtered: true
javax.servlet.error.request_uri: /rest/synchrony/1.0/token/2031620/generate
com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true
com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFixupFilter: true
os_securityfilter_already_filtered: true
com.atlassian.seraph.auth.LoginReason: OK
com.atlassian.prettyurls.filter.PrettyUrlsSiteMeshFilter: true
--------------------------
Parameters
--------------------------

 

Please kindly check if possible.

3 answers

1 accepted

2 votes
Answer accepted
Mizan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 12, 2017

Check https://confluence.atlassian.com/doc/troubleshooting-collaborative-editing-858772087.html

You can try restarting Synchrony as mention in the doc.

You can even disable this feature if you do not need it, refer https://answers.atlassian.com/questions/43893571

 

Yuan Tian February 13, 2017

Hi Mizan,

Thank you for kindly update! 

The two links you mentioned had been checked before I ask. So, disable the collaborative editing feather as the workaround is the best solution currently~~~~~

Actually, I tried to solve this problem with several methods, as you know, they all failed. It would be very useful if you can explain some details according to the log attached.

Anyway, thank you for this message!

Brs,

Yuan

Mizan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 13, 2017

Synchrony is a separate service which has its own process and own port and Confluence communicate with synchrony service for collaborative editing.

I do not know the exact details of the errors we see, but seems synchrony is not able to start or Confluence is not able to communicate with the synchrony service , this is the reason collab editing is not working.

Synchrony response (500): Could not verify AppID/Secret for real-time collaboration service at endpoint: http://192.168.5.225:8091/synchrony/v1/apps/secret

 

Yuan Tian February 13, 2017

Hi,

Thank you for explain. I tried to connect 8091 port and it seems established but did not work. And, can not find any symptoms in log files. I think  it would be the reason. Hoe ou can update this issue after Atlassian clarifed this issue. 

Brs,

0 votes
Anh Le December 3, 2017

Hi,

I have got the same problem after upgrade our Confluence Server to version 6.4.1.

You can work around by navigate to <base URL>/admin/darkfeatures.action and remove:
        site-wide.synchrony
        site-wide.synchrony.opt-in
        site-wide.shared-drafts

Our Confuence is running behind firewall and my solution for this problem is adding these  to installation-directory/bin/setenv.sh:

Dhttp.nonProxyHosts=localhost\|127.0.0.1
Dhttps.nonProxyHosts=localhost\|127.0.0.1

 
Cheers,
Anh Le

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 4, 2017

Ouch, no, you do NOT want to remove those files, they exist for a reason.  The proxy lines are ok to get it working, but do hint that you may have a poorly configured firewall.

Anh Le December 4, 2017

You are right that all files are there for some reason and should not be removed, but I guess these files will not be "removed" from Confluence and will appear again on next start-up. Like I have said, this is just a work around, and can be used in emergency case.

Of course that was not all of my firewall configuration, just the options on setenv.sh that resolved the problem.

What would be your solution on this?

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 4, 2017

It's a work-around you don't understand, so it's a very poor choice, and because you don't know what it's "fixing", you have no idea if it might work around other people's problems.

You should fix your network so that it routes correctly to Synchrony.  (I suspect the removal of the files is incidental and not actually helping in the slightest)

0 votes
Kiran Panduga {Appfire}
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 1, 2017

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.

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 4, 2017

That's one of the symptoms of the problems the troubleshooting doc can fix (Mizan pointed to it in an earlier answer)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events