Skip to content

az login hangs forever, redirects to localhost and hits ERR_CONNECTION_REFUSED in browser #26180

Description

This is autogenerated. Please review and update as needed.

Describe the bug

az login hangs forever

  1. Run az login
  2. Browser window opens where I select which account I want to sign in to
  3. The redirect goes to the browser in a new tab which looks like http://localhost:34541/?code=REDACTED&client_info=REDACTED&state=REDACTED&session_state=REDACTED

Command Name
az login

Errors:
Sign in hangs forever and never finishes

To Reproduce:

Attempt to sign in

Expected Behavior

Sign in succeeds

Environment Summary

Linux-5.15.90.1-microsoft-standard-WSL2-x86_64-with-glibc2.31, Ubuntu 20.04.6 LTS
Python 3.10.10
Installer: DEB

azure-cli 2.47.0

Additional Context

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Accountaz login/accountAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions