Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-100176

Page Copy or Move fails when using Confluence with OpenSearch

XMLWordPrintable

      Issue Summary

      When using Confluence with OpenSearch, the Page copy or move operation fails because the OpenSearch query requests all fields as part of the Space search.  This can lead to large query results, especially on large instances, exceeding the default 100MB buffer limit.

      Steps to Reproduce

      1. Configure OpenSearch for Confluence.
      2. Perform a Page Copy or Move operation on any page where the target spaces search fails due to the large underlying data received as part of the OpenSearch query response.

      Expected Results

      Page Copy or Move operations on the Confluence pages are completed successfully.

      Actual Results

      During the Page Copy/Move operation, "socket timeout" and/or "content too long" errors are observed in the atlassian-confluence.log

      2025-06-24 09:53:46,211 ERROR [http-nio2-8090-exec-186 url: /confluence/rest/quicknav/1/search; user: admin] [v2.api.model.ExceptionConverter] convertServiceException No status code found for exception, converting to internal server error : 
       -- url: /confluence/rest/quicknav/1/search | userName: admin | referer: https://confluence-test.com/confluence/SPACES/test/pages/123244/Test+Page | traceId: 3bf853bfa08a41 com.atlassian.confluence.search.v2.SearchIndexAccessException: Unexpected IOException while requesting search to OpenSearch
          .
          .
          .
      Caused by: org.apache.hc.core5.http.ContentTooLongException: entity content is too long [8192] for the configured buffer limit [104857600]
      
      
      
      2025-06-24 09:52:37,341 ERROR [http-nio2-8090-exec-253 url: /confluence/rest/quicknav/1/search; user: admin] [v2.api.model.ExceptionConverter] convertServiceException No status code found for exception, converting to internal server error : 
       -- url: /confluence/rest/quicknav/1/search | userName: admin | referer: https://confluence-test.com/confluence/SPACES/test/pages/123244/Test+Page | traceId: 3bf853bfa08a44
      com.atlassian.confluence.search.v2.SearchIndexAccessException: Unexpected IOException while requesting search to OpenSearch
      .
      .
      .
      Caused by: java.net.SocketTimeoutException: 10000 MILLISECONDS
      	at org.apache.hc.core5.io.SocketTimeoutExceptionFactory.create(SocketTimeoutExceptionFactory.java:50)
      
      

      Workaround

      Currently, there is no known workaround for this behaviour. A workaround will be added here when available.

              wyasvoin@atlassian.com Will Yasvoin
              33df95c63117 Nitin Rastogi
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: