Extension is not working behind a proxy
See original GitHub issueVisual Studio Code Version : [ 1.4 ] Code Sync Settings Version : [ last on 2016-08-08 ] Operating System : [ Windows 7 ]
Error: getaddrinfo ENOTFOUND api.github.com api.github.com:443
at global.sendError (C:\Users\peninni2\.vscode\extensions\Shan.code-settings-sync-1.6.3\node_modules\github4\lib\index.js:753:19)
at C:\Users\peninni2\.vscode\extensions\Shan.code-settings-sync-1.6.3\node_modules\github4\lib\index.js:762:29
at callCallback (C:\Users\peninni2\.vscode\extensions\Shan.code-settings-sync-1.6.3\node_modules\github4\lib\index.js:639:17)
at ClientRequest.<anonymous> (C:\Users\peninni2\.vscode\extensions\Shan.code-settings-sync-1.6.3\node_modules\github4\lib\index.js:710:17)
at emitOne (events.js:90:13)
at ClientRequest.emit (events.js:182:7)
at TLSSocket.socketErrorListener (_http_client.js:295:9)
at emitOne (events.js:90:13)
at TLSSocket.emit (events.js:182:7)
at connectErrorNT (net.js:996:8)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:5
- Comments:26 (10 by maintainers)
Top Results From Across the Web
Extensions Not Working Behind Corporate Proxy · Issue #15101
Steps to Reproduce: Open VSCode; Click on the extensions button on the left hand pane. I receive the below error in the developer...
Read more >Proxy setting using chrome extension not working with ...
I am using chrome extension for switching the chrome proxy setting at runtime. I have tested my code on chrome 59 and chrome...
Read more >Does not work behind corporate proxy (#10) · Issues - GitLab
I'm behind an authenticated corporate proxy and the extension seems to hang at Fetching pipeline... and Finding MR.... I have properly setup ...
Read more >proxy settings not working within the custom extension
Hello Everyone, We are currently trying to implement a custom extension on DT managed env. that should get, set, put and push and...
Read more >chrome.proxy - Chrome Developers
You must declare the "proxy" permission in the extension manifest to use the proxy ... If no scheme is specified, the proxy connection...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have published the 2.3.4 version with proxy support.
Hi @shanalikhan, to solve this problem, just add proxy into options when you create
node-github
instance, like:new GitHubApi({ proxy: "http://127.0.0.1:1080" // ss proxy for example. })
as the
node-github
is usinghttps-proxy-agent
to handle proxy in itshttpSend
function which is used to handle Gist/GitHub api.So, you can just save proxy settings into
syncSettings.json
file, and read it when your ext is activated.I’ve tested in my syncing ext and it worked well. Hope this would help!