Uploaded image for project: 'HipChat'
  1. HipChat
  2. HCPUB-935

Client loses connection, then fails to reconnect

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Severity 2 - Major

      Summary

      After a while, HipChat can lose connection, and will fail to automatically reconnect.

      Environment

      • Windows Client 4.0.1634+
      • Windows Client 4.26.5.1655
      • Windows Client 4.27.1.1658

      Steps to Reproduce

      1. Login to HipChat
      2. After several hours, observe that HipChat lost connection

      Expected Results

      Client will automatically reconnect

      Actual Results

      Client will fail to connect, and display an error message

      Logfiles will show messages like this:

      [DEBUG] [Connection] OAuth timer expired. Fetching new OAuth token
      [DEBUG] [AnalyticsDispatcher: analytics-event] {"name":"hipchat.client.oauth.token.refresh.requested","properties":{"reason":"Token expiry timer lapsed"}}
      [ERROR] [Connection] Failed to fetch new OAuth token due to: TypeError: Cannot read property 'then' of undefined
      
      

      Workaround

      Restarting client, or logging out and logging back in again, establish a successful connection

        1. Untitled03.png
          Untitled03.png
          21 kB
        2. Untitled02.png
          Untitled02.png
          80 kB
        3. screenshot-1.png
          screenshot-1.png
          5 kB
        4. Offline but NOT.PNG
          Offline but NOT.PNG
          222 kB
        5. index.jpg
          index.jpg
          4 kB
        6. hipchat-cant-connect.PNG
          hipchat-cant-connect.PNG
          13 kB

              dhenry@atlassian.com Dustin (Inactive)
              photchkiss Parker Hotchkiss (Inactive)
              Archiver:
              mandreacchio Michael Andreacchio

                Created:
                Updated:
                Resolved:
                Archived: