Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-4864

[mender-connect] Stuck in reconnect loop with bad jwt auth

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0, 3.0.0-report
    • Labels:
    • Environment:
      3.0.0-build2
    • Days in progress:
      0

      Description

      If the device is decomissioned and re-authorized while mender-connect is unable to reach the backend, it can get stuck in a reconnect loop using the old JWT authentication token.

      Steps to reproduce: see this comment.

      Acceptance criteria:

      • Use same logic as mender-client: try refreshing the token using d-bus API if the handshake returns a 401 response.

        Attachments

          Activity

            People

            • Assignee:
              alfrunes Alf-Rune Siqveland
              Reporter:
              alfrunes Alf-Rune Siqveland
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support