vscode: Proxy Authentication Required error on login
when setting sync using my github or Microsoft accout, this error is occured
[Info - 15:16:55.21] Logging in...
[Info - 15:17:03.563] Exchanging code for token...
[Error - 15:17:03.678] Proxy Authentication Required
- VSCode Version: 1.51.1
- OS Version: windows10 20H2/ubuntu 20.04
Steps to Reproduce:
- open sync setting
- select github or Microsoft
Does this issue occur when all extensions are disabled?: Yes
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 17 (10 by maintainers)
All vscode extensions, including the Microsoft and GitHub Authentication extensions, still suffer from a lack of solution - is there a path forward to making extensions use Chromium’s Fetch, which is aware of OS level proxy settings, instead of Node’s fetch, which doesn’t really honor settings.json proxy settings?
Perhaps @TylerLeonhardt, you in a place to push the team on this, as I guess you might be closest to the telemetry on failed attempts, especially due to proxy problems?
Extension don’t have direct access to the Chromium network stack. There is the ‘_workbench.downloadResource’ command to allow for simple GET requests, but no command yet for POST requests.
Ideally we would implement support for proxy auth in our existing proxy support for the Node.js API, but I don’t have a timeline for that at the moment. (That would also benefit all other extensions.)
I’m coming from #178213. I don’t know what my proxy address is so I cannot set
http.proxy, and it would be kerberos authenticated anyway: https://github.com/microsoft/vscode/issues/12588#issuecomment-1228550402 By the way, for me Microsoft account login works for settings sync but not Github?@fromthewoods just to be clear, @chrmarti was recommending setting
http.proxythe VS Code setting. Not an environment variable. I don’t think that should influence running Chocolatey commands. Unless I’m misunderstanding what you’re saying?