Failed to authenticate via web browser (gh auth login) #6730
Replies: 2 comments 1 reply
-
|
Hi, this looks like the network error. It's not caused by the web browser; in this case the error happened before opening the web browser, when the Unfortunately, we can't help with this, as it's a network error. Does it happen every time? Does |
Beta Was this translation helpful? Give feedback.
-
|
@mislav it does happen on a different machine and a different network. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Need help to advise if anyone sees a similar error once choosing "Login with a web browser".
Nothing pops up even confirmed the default browser is chrome.
myusername@myusername-mobl MINGW32 ~/source
$ gh auth login
? What account do you want to log into? GitHub.com
? What is your preferred protocol for Git operations? HTTPS
? Authenticate Git with your GitHub credentials? Yes
? How would you like to authenticate GitHub CLI? Login with a web browser
failed to authenticate via web browser: Post "https://github.com/login/device/code": dial tcp 20.205.243.166:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
Beta Was this translation helpful? Give feedback.
All reactions