VS Code / GitHub Authentication falha com “network error” ao acessar api.github.com #195897
Replies: 11 comments 5 replies
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
Same here! |
Beta Was this translation helpful? Give feedback.
-
|
Same here! |
Beta Was this translation helpful? Give feedback.
-
|
Same here |
Beta Was this translation helpful? Give feedback.
-
|
same here! |
Beta Was this translation helpful? Give feedback.
-
|
nobody from github ? no support ? nothing ? No status ? really bad... |
Beta Was this translation helpful? Give feedback.
-
|
back online here :) |
Beta Was this translation helpful? Give feedback.
-
Segue o comando para quem quiser fazer o teste também no (para windows) Powershell: Test-NetConnection api.github.com -Port 443 |
Beta Was this translation helpful? Give feedback.
-
|
back ! |
Beta Was this translation helpful? Give feedback.
-
Mesmo problema aqui. Ja está assim desde ontem. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.



Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
API
Body
On May 15, 2026, I was unable to sign in to GitHub from Visual Studio Code / GitHub Authentication. The sign-in flow starts, but the authentication fails with a network error.
Symptoms
github.com opens normally in the browser.
vscode.dev opens normally in the browser.
api.github.com does not open in the browser and returns a timeout.
Visual Studio Code shows:
Sign in failed: Error: network error
Error while turning on Settings Sync: network error
VS Code / GitHub Authentication log evidence
The VS Code log indicates that the OAuth/token exchange succeeds, but the next HTTPS request fails:
Token exchange success!
Getting user info...
FetcherService: Node fetch failed with error: fetch failed
Node http/s failed with error: connect ETIMEDOUT 4.228.31.149:443
Error: network error
Local diagnostics already performed
PowerShell tests from the affected machine show:
nslookup api.github.com resolves to 4.228.31.149
Test-NetConnection api.github.com -Port 443 fails
Browser access to api.github.com times out
Browser access to github.com works normally
This suggests DNS resolution is working, but the HTTPS connection to api.github.com:443 is timing out from this environment.
Impact
Unable to sign in to GitHub in VS Code
Unable to use GitHub Authentication-dependent features
Settings Sync also fails due to the same network error
Request
Please help confirm whether there is any platform-side issue affecting access to api.github.com, or whether you can identify any GitHub-side condition that would explain successful token exchange followed by timeout when requesting user info.
I can provide additional logs, screenshots, and timestamps if needed.
Beta Was this translation helpful? Give feedback.
All reactions