Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-20415

Android: HttpClient Basic Auth: Infinite loop with bad credentials

    Details

    • Story Points:
      5
    • Sprint:
      2016 Sprint 12 SDK

      Description

      Steps to Reproduce

      • Set bad credentials on Basic Auth

      Run attatched project with Android and you can see in console readyState = 1. In our log server we register infinite requests and the request never ends.

      request => response 401 => request => response 401

      With no error callback.

      In iOS its OK.

      Actual Result

      Infinite Loop with no callback to 401 http error.

      Expected Result

      Error callback with 3 attempts like browsers or like iOS.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                msamah Ashraf Abu (Inactive)
                Reporter:
                jormagar Jorge Macias Garcia
                Reviewer:
                Hieu Pham
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-20965
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code