-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
az login broken on chrome with ERR_SSL_PROTOCOL_ERROR #10426
Comments
This is a typical browser setup issue (possibly enabled by some extensions) where the browser is forcing traffic through To remove this HTTPS policy,
More info: https://stackoverflow.com/a/28586593/2199657 |
On top of @jiasli's suggestion, you can use |
Does deleting localhost from Delete domain security policies solve the issue? |
@jiasli Yup that seems to fix it. Closing now. Thanks! |
For Edge's hang issue, may be related to #10578. |
I feel like this Chrome localhost issue should be called out on the documentation pages for |
Note that Chrome will "helpfully" map http to https in the URL, which needs to be undone for this to work |
This begs the questions, "Why does the CLI only work with HTTP?" and "What is Microsoft going to do to address this?". |
I am using Chrome for development and daily usage. As far as I know, Chrome by itself doesn't do the redirection by default. Some extensions or policies might turn that on.
Because it is not possible to make HTTPS work on Using
This is definitely a good suggestion and we will put that in the document. Thanks for the suggestion! |
solve here - #26180 |
@welersonlisboa, |
BTW, redirecting to |
This is autogenerated. Please review and update as needed.
Describe the bug
When I try to do
az login
on my dev machine it will not succeed in Chrome. In edge I need to refresh the browser for the login process to finish. This was also broken 19 days ago so this time I tried and disabled all of my ad/tracker blocking extensions in chrome. However that didn't seem to help.Command Name
az login
Errors:
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
az login
Trying in Google chrome (doesn't work):
Url --
In Browser --
Trying in edge by changing default browser to edge. (partially works):
It was stuck on this for about a minute or two and then I decided to refresh the browser, then this happened below. It seemed to proceed to login from there.
Expected Behavior
Login works.
Environment Summary
Additional Context
The text was updated successfully, but these errors were encountered: