Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-58506

JWT token expiring for images on Media Server

    XMLWordPrintable

Details

    Description

      Summary

      • Images are not being displayed on the page, also not on the attachments page, so we find these errors on Chrome's console
        image:1 GET https://media-api.atlassian.io/file/d7957073-e499-4287-aca2-9f9e607f855a/image?mode=full-fit&client=ec6b3f59-1ee4-452e-afea-e5e67989e605&token=eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJlYzZiM2Y1OS0xZWU0LTQ1MmUtYWZlYS1lNWU2Nzk4OWU2MDUiLCJhY2Nlc3MiOnsidXJuOmZpbGVzdG9yZTpmaWxlOmQ3OTU3MDczLWU0OTktNDI4Ny1hY2EyLTlmOWU2MDdmODU1YSI6WyJyZWFkIl19LCJleHAiOjE1MTExOTgyODEsIm5iZiI6MTUxMTE5NDkyMX0.-h0mJZRUXxfvtU0m1g5dmf4KU-QpTr2RKSeXpDjSk0g 403 (Forbidden)
        
      • There's one error for each image not being displayed
        {"error":{"code":"JwtAuthoriser:TokenExpiredError","title":"Token verification failed: jwt expired","href":"https://media-api.atlassian.io#UnauthorizedError"}}
        

      Environment

      • Confluence 1000.0.0-9b86de62ef9

      Steps to Reproduce

      • The issue happens when the token is expired by a bug on the application, so we can't trigger it
      • The token gets expired and Confluence reach for an invalid information on the cache of our media servers

      Expected Results

      • Images should be displayed to the user

      Actual Results

      • Images are missing, just a placeholder of it is displayed.

      Workaround

      As listed on the bug https://jira.atlassian.com/browse/CONFCLOUD-54912, we have a workaround that needs to be applied by support team

      Attachments

        Activity

          People

            b2e61339283b Ben Keene
            pmiguel Paulo Miguel (Inactive)
            Votes:
            15 Vote for this issue
            Watchers:
            20 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: