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

Remote API methods that generate URLs (e.g. export space) are not cluster compatible

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      As an example, see the exportSpace remote API. This will return a URL from where the client can then download the result.

      However, in a cluster it is possible that the HTTP request for the result will be sent to a different server from that which fulfilled the remote API request.

      In this case the resource won't be found on this other node, and whats more the DownloadGateKeeper may not allow access.

            [CONFSERVER-32755] Remote API methods that generate URLs (e.g. export space) are not cluster compatible

            Minh Tran added a comment -

            Dear pcurren,

            Thanks for submitting the ticket
            Would you please let me know what affect version of Confluence that you met this issue?

            Thanks,
            Minh Tran
            Confluence BugMaster
            Atlassian

            Minh Tran added a comment - Dear pcurren , Thanks for submitting the ticket Would you please let me know what affect version of Confluence that you met this issue? Thanks, Minh Tran Confluence BugMaster Atlassian

            A rough approach:

            • check all the affected remote API methods and modify them to write their output file to the shared home.
            • fix the DownloadGateKeeper mechanism to be cluster aware (if it isn't already).

            Paul Curren added a comment - A rough approach: check all the affected remote API methods and modify them to write their output file to the shared home. fix the DownloadGateKeeper mechanism to be cluster aware (if it isn't already).

              Unassigned Unassigned
              pcurren Paul Curren
              Affected customers:
              2 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: