Failing to authenticate on new wsl setup #6884
Replies: 6 comments 7 replies
-
Hi, thanks for reporting and sorry for the trouble. I have never seen this error before. The server error indicates that the authorization flow was polling the API too frequently, but that should never be the case because we get the polling interval (usually 5 seconds) from the server in the first place. Does this happen every time? You can do |
Beta Was this translation helpful? Give feedback.
-
fwiw, I just had the same issue and running with |
Beta Was this translation helpful? Give feedback.
-
similar situation, I'm now trying ubuntu 22.04 instead of 20.04 to see if it works |
Beta Was this translation helpful? Give feedback.
-
I just encountered this issue with gh 2.37.0 on freshly installed Ubuntu 22.04. My first attempt at
It appears the API is still waiting for me to paste in the first one-time code (which I no longer have). A way to cancel pending authorization request(s) would be nice. |
Beta Was this translation helpful? Give feedback.
-
Please check your clock in WSL environment. |
Beta Was this translation helpful? Give feedback.
-
Setting the time zone worked for me on nixOS |
Beta Was this translation helpful? Give feedback.
-
I'm in the process of setting up a new machine but in doing so I'm failing to authenticate with
gh auth login
.Here's the terminal output:
In the browser though the auth process goes through correctly, I entered the code, I approved access to my account/orgs, and I was presented with the success screen, only to find my terminal having the error.
I appear to be on the latest release:
And the WSL version is:
Beta Was this translation helpful? Give feedback.
All reactions