Receiving `Connection aborted` error when using managed identity
- 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 vm list`
**Errors:**
```
Failed to connect to MSI. Please make sure MSI is configured correctly and check the network connection.
Error detail: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
```
## To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- az login --identity
- `az vm list --show-details --query {} --output {}`
## Expected Behavior
To list the expected VM info based on the filter I added
## Environment Summary
```
Linux-5.4.0-1047-azure-x86_64-with-debian-bullseye-sid
Python 3.6.10
Installer: DEB
azure-cli 2.27.2
```
## Additional Context
I have run `az login --identity` before running the above command. and the above command has worked before so I am not sure why it is failing now
Contributor guide
Assessment
This issue has not been assessed yet.