Unable to edit specific pages in Confluence
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Summary
With Collaborative Editing on in Confluence, a few pages aren't editable. The following message appears in UI.
This page is taking longer to load than usual. Give it a few moments, then try refreshing. Still having issues? Contact your Confluence admin.
The issue especially happens with bigger pages.
Environment
The issue is seen in instances with Collaborative Editing on.
Diagnosis
Proceed with this diagnosis if new pages can be created in Confluence. Only specific pages are having issues.
Confluence logs (atlassian-confluence.log
) show the following error message.
2020-06-06 05:48:40.428 PDT WARN [http-nio-8090-exec-4 url:/plugins/editor-loader/editor.action username:admin] [synchrony.service.http.SynchronyResponseHandler] failed Synchrony external changes API call returned 500: {"id":"d6kOrPi1Jg8Kz8GpmLIB8A","message":"Internal Server Error"} content-id: 1515146786 rev: null ancestor: null merges: {"confVersion":"4","trigger":null,"type":"external"} generate-rev: true generate-reset: true
-- space: 755138574 | url: /plugins/editor-loader/editor.action | page: 1515146786 | traceId: ea6b0540e99c1fc2 | userName: admin | referer: https://confluence/display/~admin/Weekly+Status | action: editor
Synchrony logs (atlassian-synchrony.log
) show the following.
{"timestamp":"2020-06-10T06:55:38,13Z","level":"WARN","thread":"async-dispatch-9","logger":"synchrony.http.entity-api","message":{"synchrony":{"message":"synchrony.http.entity-api [warn] Error in put-entity","entity":"/Synchrony-4a00aaaf-b395-3dce-b483-7112d9649446/confluence-1319151580","id":"M1rQWQtSFihxRA8rmTBioA","ns":"synchrony.http.entity-api","throwable":"clojure.lang.ExceptionInfo: schema validation error {:type :schema-validation, :error \"State cannot be parsed\"}\n\tat clojure.core$ex_info.invokeStatic(core.clj:4725)\n\tat clojure.core$ex_info.invoke(core.clj:4725)\n\tat synchrony.http.entity_api$coerce_state_box.invokeStatic(entity_api.clj:397)\n\tat synchrony.http.entity_api$coerce_state_box.invoke(entity_api.clj:390)\n\tat synchrony.http.entity_api$put_revision_handler$fn__48739$state_machine__6333__auto____48740$fn__48742.invoke(entity_api.clj:518)\n\tat synchrony.http.entity_api$put_revision_handler$fn__48739$state_machine__6333__auto____48740.invoke(entity_api.clj:518)\n\tat clojure.core.async.impl.ioc_macros$run_state_machine.invokeStatic(ioc_macros.clj:1012)\n\tat clojure.core.async.impl.ioc_macros$run_state_machine.invoke(ioc_macros.clj:1011)\n\tat clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invokeStatic(ioc_macros.clj:1016)\n\tat clojure.core.async.impl.ioc_macros$run_state_machine_wrapped.invoke(ioc_macros.clj:1014)\n\tat synchrony.http.entity_api$put_revision_handler$fn__48739.invoke(entity_api.clj:518)\n\tat clojure.lang.AFn.run(AFn.java:22)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:748)\n","level":"warn"}},"location":{"class":"synchrony.logging$eval69$fn__73","method":"invoke","line":"0"}}
Solution
Check if the Stack Size of Synchrony is set to a very small or a very large value. By default it shows be 2048k
-Xss2048k
If it's set to large values like 4G the issue is known to happen. Ideal values of stack size are multiples of 2048k like 4096k. This can be done by modifying the System Properties of Synchrony.