Unable to publish page with high word count inside markup

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 9.2.6
    • None
    • 1
    • Severity 3 - Minor

      Issue Summary

      When publishing pages with large content inside the Markup editor, Confluence displays the following error for payloads exceeding 5MB

      This page is too big to save. You could split it into multiple pages, then use the include page macro to display the content
      

      If we override the default 5MB payload by setting the JVM parameter below to a higher value (up to 16MB, matching Tomcat's default maxPostSize), the page publishes if Synchrony is disabled.

      -Datlassian.rest.request.maxsize=<SIZE-IN-BYTES>
      

      However, when Synchrony is enabled, the editor shows this error:

      Unable to communicate with server. Saving is not possible at the moment
      

      Steps to Reproduce

      To insert markdown in the editor:

      1. Select Insert > Markup
      2. Select Markdown
      3. Type or paste your text with payload of 5MB and more - the preview will show you how it will appear on your page
      4. Select Insert.

      Confluence converts your markdown to rich text format. After publishing the page, even with "-Datlassian.rest.request.maxsize=<SIZE-IN-BYTES>" set above 5MB, enabling Synchrony causes this editor error:

      Unable to communicate with server. Saving is not possible at the moment
      

      Expected Results

      Page should get published

      Actual Results

      The editor displays an error.

      Unable to communicate with server. Saving is not possible at the moment
      

      The following exception appears in the atlassian-synchrony.log file:

      2025-11-27 20:41:25,386 DEBUG [203:StdOutHandler [/Library/Java/JavaVirtualMachines/jdk-17.0.12.jdk/Contents/Home/bin/java]] 2025-11-27 15:11:25,385 WARN [async-dispatch-13] [synchrony.http] in-chan terminated remotely {:client {:clientId \"wJ8Xo0jFuXRC0a9vEkgleiQ\", 
        :ro \"in-chan terminated remotely\\nError: in-chan terminated remotely\\n    at new Gk (<anonymous>:509:26)\\n    at Hk (<anonymous>:510:75)\\n    at <anonymous>:1569:82\\n    at d.b [as g] (<anonymous>:1564:452)\\n    at BH (<anonymous>:1205:256)\\n    at <anonymous>:1205:411\\n    at <anonymous>:1195:491\\n    at kH (<anonymous>:1191:287)\\n    at I.<computed> 
        (http://localhost:8092/s/651d2d635f8a6baa7bb7dda460851a1b-CDN/x7r9ep/9111/1h7j1tb/23ac5376a0a8da2f945c490ae9233956/_/download/contextbatch/js/_super/batch.js?locale=en-GB:38:11519)\\n    
        at D (http://localhost:8092/s/651d2d635f8a6baa7bb7dda460851a1b-CDN/x7r9ep/9111/1h7j1tb/23ac5376a0a8da2f945c490ae9233956/_/download/contextbatch/js/_super/batch.js?locale=en-GB:38:11288)\"}, :entity \"/Synchrony-945b70c6-feba-3001-8f97-77fcf5b7bf63/confluence-1638403\", :source \"client\", :throwable nil} 

      Workaround

      Split the page markup into multiple sections, save them on separate pages, then use the include macro on the original page to display all content.

        1. texts.txt
          2.85 MB

            Assignee:
            Unassigned
            Reporter:
            Arun Suryawanshi
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: