az login interactive goes to a localhost link that can't be reached
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
### **This is autogenerated. Please review and update as needed.**
## Describe the bug
**Command Name**
`az login`
**Errors:**
Chrome returning:
```
This site can’t be reachedlocalhost refused to connect.
Try:
Checking the connection
[Checking the proxy and the firewall](chrome-error://chromewebdata/#buttons)
ERR_CONNECTION_REFUSED
```
## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- _Put any pre-requisite steps here..._
- `az login`
## Expected Behavior
## Environment Summary
```
Linux-5.4.0-1074-azure-x86_64-with-glibc2.27, Ubuntu 18.04.6 LTS
Python 3.8.13
Installer: DEB
azure-cli 2.36.0
Extensions:
ml 2.3.1
Dependencies:
msal 1.17.0
azure-mgmt-resource 20.0.0
```
## Additional Context
This happens when I try to do anything azure related through an AzureML compute instance. It opens up the interactive screen. I click on my account and it goes to a localhost:... link and gives the error above. I can curl that link from a terminal in the machine and it seems to return a success but the cli doesn't get the response and keeps waiting
Contributor guide
Assessment
This issue has not been assessed yet.