vscode: GitHub Rate Limit Error when logging in

Does this issue occur when all extensions are disabled?: Yes/No

  • VS Code Version: 1.77.1 (user setup)
  • OS Version: Windows_NT x64 10.0.19045

Steps to Reproduce:

  1. Log out from your GitHub account and try signing back in.
  2. The authentication extension keeps say there is a problem would you like to try another way? vscode

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 4
  • Comments: 18 (12 by maintainers)

Most upvoted comments

The issue I created #179948 was marked duplicate of this. So, to give additional info; I can reproduce it every time even after waiting several days in between.

@Paradoxis the next stable version of VS Code which will be released next week has a fix for this.

Here is the last useful message:

A secondary rate limit could be caused by a burst of requests in a short time period from the same client causing too much load on server resources, or if a repeated action is causing too many writes or deletes.

(this is me that is being quoted) We have the VS Code client make a web request to an endpoint (vscode.dev/codeExchangeProxies/login/oauth/access_token)

If all of the requests are going through the same proxy, then they may all appear to be coming from the same IP address. If so, that could be the reason for the rate limiting.

However, the design of OAuth apps really pushes for such a proxy… and we’ve had this same design for like years… so in short, I think it’s an issue with GitHub… so I’m waiting for them to address it/tell me how to work around this behavior.

I was seeing this often and now I’m not. Marking as verified.

I’m also seeing a similar issue on my end. Let me know if there’s anything I can provide to help with debugging.