You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"ext install " fails with EACCES error using corporate proxy #5596
I originally reported this on StackOverflow but it was suggested by Benjamin Pasero that I log this as an issue.
I am working behind a corporate firewall which has outgoing authentication by Active Directory username. When I try the "ext install " command, after a some time I get the message "Error connect EACCES 191.238.172.191:443".
I've tried setting the "http.proxy" value to all variations of FQDN and IP address,both with and without the "http://" prefix and also tried setting "http.proxyStrictSSL" both true and false, always with the same result.
There do not seem to be any settings to specify username and password or any other options for outgoing authentication.
VSCode
Version 1.0.0
Commit fa6d0f0
Date 2016-04-13T14:08:36.599Z
Shell 0.35.6
Renderer 45.0.2454.85
Node 4.1.1
There's a blue line repeatedly sliding across under the command line. Then get "Error connect EACCES 191.238.172.191:443"
Our automatic proxy detection (WPAD) returns either proxy-man.emr.com or proxy-war.emr.com, but currently both are aliases for proxy2.emr.com, hence have address 10.200.68.75
Pinging proxy2.emr.com [10.200.68.75] with 32 bytes of data:
Reply from 10.200.68.75: bytes=32 time=1ms TTL=61
Pinging proxy-war.emr.com [10.200.68.75] with 32 bytes of data:
Reply from 10.200.68.75: bytes=32 time<1ms TTL=61
Pinging proxy-man.emr.com [10.200.68.75] with 32 bytes of data:
Reply from 10.200.68.75: bytes=32 time=1ms TTL=61
Thanks for the many details, let's catch this sucker!
1-4 are the correct syntax: protocol://host:port. I have pushed 79b25ea which adds a regular expression validator, so you'd get a warning next time you try to configure it like 5-8. 👍
No error tells me the request is working but the proxy is somehow returning an empty response or similar...
Let's try something else... what happens if you use "https://10.200.68.75:8080" and true?
Apologies for the delay. Using https: as a prefix (and both true and false) and the command appears to do nothing. No blue bar, no error message. The command window just closes after a time.
Hi,
just tried with latest version 1.10.2 under RHEL7 with everything set: http_proxy/https_proxy as environment variable and in settings.json.
Extentions seem to still ignore these settings. Funny that "check for updates" is using the proxy settings.
Is there still no fix or workaround for this?
How can i help?
thx,
Johannes
Activity
joaomoreno commentedon Apr 21, 2016
What's your proxy address?
Note that you must restart Code after setting the
http.proxyandhttp.proxyStrictSSLsettings.StarNamer commentedon Apr 21, 2016
OK. I tried all the tests again, restarting Code between each one.
"http.proxyStrictSSL": true
Does nothing. Command line closes after a minute or so. No error.
"http.proxyStrictSSL": true
Does nothing. Command line closes after a minute or so. No error.
"http.proxyStrictSSL": false
Does nothing. Command line closes after a few seconds. No error.
"http.proxyStrictSSL": false
Does nothing. Command line closes after a minute or so. No error.
"http.proxyStrictSSL": false
There's a blue line repeatedly sliding across under the command line. Then get "Error connect EACCES 191.238.172.191:443"
"http.proxyStrictSSL": true
There's a blue line repeatedly sliding across under the command line. Then get "Error connect EACCES 191.238.172.191:443"
"http.proxyStrictSSL": true
There's a blue line repeatedly sliding across under the command line. Then get "Error connect EACCES 191.238.172.191:443"
"http.proxyStrictSSL": false
There's a blue line repeatedly sliding across under the command line. Then get "Error connect EACCES 191.238.172.191:443"
Our automatic proxy detection (WPAD) returns either proxy-man.emr.com or proxy-war.emr.com, but currently both are aliases for proxy2.emr.com, hence have address 10.200.68.75
Pinging proxy2.emr.com [10.200.68.75] with 32 bytes of data:
Reply from 10.200.68.75: bytes=32 time=1ms TTL=61
Pinging proxy-war.emr.com [10.200.68.75] with 32 bytes of data:
Reply from 10.200.68.75: bytes=32 time<1ms TTL=61
Pinging proxy-man.emr.com [10.200.68.75] with 32 bytes of data:
Reply from 10.200.68.75: bytes=32 time=1ms TTL=61
Obviously, normal browsing is working fine.
add regex pattern to http.proxy
joaomoreno commentedon Apr 21, 2016
Thanks for the many details, let's catch this sucker!
1-4 are the correct syntax:
protocol://host:port. I have pushed 79b25ea which adds a regular expression validator, so you'd get a warning next time you try to configure it like 5-8. 👍No error tells me the request is working but the proxy is somehow returning an empty response or similar...
Let's try something else... what happens if you use
"https://10.200.68.75:8080"andtrue?StarNamer commentedon Apr 25, 2016
Apologies for the delay. Using
https:as a prefix (and bothtrueandfalse) and the command appears to do nothing. No blue bar, no error message. The command window just closes after a time.http.proxy can also be empty
StarNamer commentedon Jun 24, 2016
I just tried version 1.2 with the settings as in 1. above. Still does nothing. Should the newer version have fixed anything?
joaomoreno commentedon Jun 24, 2016
No, the only change we pushed was about warning if the syntax of
http.proxywas invalid. Unfortunately we still don't have a fix for your issue.jgrumboe commentedon Apr 4, 2017
Hi,
just tried with latest version 1.10.2 under RHEL7 with everything set: http_proxy/https_proxy as environment variable and in settings.json.
Extentions seem to still ignore these settings. Funny that "check for updates" is using the proxy settings.
Is there still no fix or workaround for this?
How can i help?
thx,
Johannes
joaomoreno commentedon Apr 6, 2017
Closing as a dupe of #22214