Deleting and creating Application Links from Confluence Cloud hangs/get stuck with delay in some customer instances

XMLWordPrintable

    • 21
    • Minor
    • 4

      Issue Summary

      In some customer tenants, the process of deleting a application link as well as creating a brand new one afterwards hangs and we have a considerable delay until being able to fully delete the existing applink (from the front-end UI), followed by a considerable delay before being able to create a new one without the system hanging during the creation process.

      Steps to Reproduce

      • Delete an existing Application Link. Notice that even if the outcome message says that the "deletion was successful", the original entry still keeps showing in the front-end UI. The deleted applink entry remains there for a while more even if Atlassian Support deletes the applink directly from the back-end database tables as well.
      • Alternatively, if you try to delete the exact same Application Link via Rest API (command example: curl -X DELETE -u <username>:<password> -H "Accept: application/json" <Confluence-Base-URL>/rest/applinks/1.0/applicationlink/<JIRA-ApplicationLink_ID>) it returns an Internal Server error message.
      • Wait between 30 minutes and 1 hour and refresh the Application Links screen. You will notice that the previously deleted applink is finally gone from the front-end UI.
      • Now, try to create a brand new Application Link. The process will hang at the following phase with a spinning wheel at the bottom after hitting the Continue button:

      • Eventually (it can take a couple of hours of delay again), the Applink that you attempted to create may finally show up at the UI with a "CONFIG ERROR" status, since the integration was not fully finished, even if you've received a 504 or Bad request error message while waiting for the spinning wheel to finish earlier.
      • Delete the existing Application Link with CONFIG ERROR status once again to get rid of it. Wait between 30 minutes and 1 hour again for it to be gone from the UI.
      • Now instead wait at least 4 hours (or even more) before attempting to create a brand new Application Link once again.
      • Finally the Application Link creating process works smoothly, which wouldn't have happened in case you would have tried to create it right away after the older one was deleted from the UI.

      Expected Results

      The deletion of an existing Application Link as well as the creation of a brand new Application Link should work consistently and right away, in a matter of seconds, as it does in most of the instances/tenants.

      Actual Results

      Both processes get stuck somehow in the background for a while and the administrator have to wait until it synchronizes.

      Workaround

      The workaround available at the moment, as mentioned on the Steps to Reproduce section, is to wait at least between 30 minutes and 1 hour for the deletion to be fully completed and the existing Application Link to be gone from the UI due to the delay that happens. Then, wait for some hours (minimum 4h, no hardcoded value discovered yet), until trying to create a brand new Application Link once again so that the creation process works without hanging.

            Assignee:
            Tapan Parikh
            Reporter:
            Ivan [Atlassian Support]
            Votes:
            12 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved: