-
Notifications
You must be signed in to change notification settings - Fork 298
[Proxy] Error: tunneling socket could not be established #338
Comments
0.188.0 fine |
if i use curl on http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.22.0/node-v0.22.0.tar.gz ill get the tarball content |
Here a apm verbose version: https://gist.github.com/Fank/6fe10a0b3596815b0622 |
Same error with
|
Seems like a duplicate of #322 |
Yea its exactly the same issue |
try |
I have strict-ssl false and http/https proxy set on Mac, but still have the issue. Any fix planned? |
The workaround here fixed my problem: #322 |
I am also having issues. This is a real deal killer. Atom looks awesome, but is crippled by "tunneling socket could not be established, cause=Parse Error". I have tried all the work arounds and have my proxy set: all on a fresh download and install of Atom as of today. Even trying to manually download and installing packages is useless as I get the same error pointing to a local folder as the package manager seems to still want to phone home. This makes this product completely useless for a corporate developer. I have tried several other IDEs (Aptana, Eclipse, Sublime, etc) and none have this issue. Personally I think this issue need immediate and critical attention. If this worked my company would have hundreds of developers using it, but as it it is less functional than notepad. |
I have tried the following to no avail : Environment variable .atom.apm.aprmc also tried But still have tunneling socket could not be established, cause=Parse Error Maybe the workaround doesn't work because I can't access http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist ? |
Same error. Tried everything Not possible to get atom/apm working behind a proxy! |
@DennisAhaus could you try HTTPS_PROXY/HTTP_PROXY instead? |
I too get this error behind the proxy and followed advice including setting HTTP_PROXY. It works with npm but failing with apm. |
I'm also having issues with proxies: tunneling socket could not be established, cause=2552:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s23_clnt.c:782: Are there any fixes planned? |
I had this issue - changed the proxy strings to include authentication and it now works: |
@davelander, did you set HTTP_PROXY and HTTPS_PROXY in the environment settings or some other property somewhere else? I am using Windows 7. That shouldn't make a difference but still. |
@chauhraj just through apm, although we use the same proxy for http and https
npm config ls -l
|
So disappointing ... I´ve tried every mentioned suggestion above and more (mentioned in #322) ... and nothing worked!!! Is it so difficult to write up three lines for stupid Windows users working for big companies? ;-) For everybody on Windows behind corporate proxy DONT EVEN TRY one of the following - it´s useless:
$ apm install language-robot-framework
Installing language-robot-framework to C:\Users\me\.atom\packages failed
Request for package information failed: getaddrinfo EAGAIN (EAGAIN) or this: $ apm install language-robot-framework
Installing language-robot-framework to C:\Users\me\.atom\packages failed
Request for package information failed: tunneling socket could not be established, cause=10732:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s23_clnt.c:782:
(5 attempts) (ECONNRESET) or (for the last one) this: $ HOME=/c/Users/me/.atom/.node-gyp/ /c/Users/me/AppData/Local/atom/app-1.8.0/resources/app/apm/bin /node /c/Users/me/AppData/Local/atom/app-1.8.0/resources/app/apm/node_modules/npm/node_modules/node- gyp/bin/node-gyp.js "install" "--target=0.36.8" "--dist-url=http://gh-contractor-zcbenz.s3.amazonaws.c om/atom-shell/dist" "--arch=x64" "--ensure" "--verbose" "--proxy=https://me:my_passwort@proxyname:port"
gyp info it worked if it ends with ok
gyp verb cli [ 'C:\\Users\\me\\AppData\\Local\\atom\\app-1.8.0\\resources\\app\\apm\\bin\\node.exe', gyp verb cli 'C:\\Users\\me\\AppData\\Local\\atom\\app-1.8.0\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js',
gyp verb cli 'install',
gyp verb cli '--target=0.36.8',
gyp verb cli '--dist-url=http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist',
gyp verb cli '--arch=x64',
gyp verb cli '--ensure',
gyp verb cli '--verbose',
gyp verb cli '--proxy=https://me:my_password@proxyname:port' ]
gyp info using node-gyp@2.0.2
gyp info using node@0.10.40 | win32 | ia32
gyp verb command install []
gyp verb install input version string "0.36.8"
gyp verb install installing version: 0.36.8
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version not already installed, continuing with install 0.36.8
gyp verb ensuring nodedir is created C:\Users\me\.atom\.node-gyp\.node-gyp\0.36.8
gyp verb created nodedir C:\Users\me\.atom\.node-gyp\.node-gyp\0.36.8
gyp http GET http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist/v0.36.8/node-v0.36.8.tar.gz
gyp verb download using proxy url: "https://me:my_password@proxyname:port"
gyp WARN install got an error, rolling back install
gyp verb command remove [ '0.36.8' ]
gyp verb remove using node-gyp dir: C:\Users\me\.atom\.node-gyp\.node-gyp
gyp verb remove removing target version: 0.36.8
gyp verb remove removing development files for version: 0.36.8
gyp ERR! install error
gyp ERR! stack Error: 9684:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s23_clnt.c:782:
gyp ERR! stack
gyp ERR! stack at SlabBuffer.use (tls.js:235:18)
gyp ERR! stack at CleartextStream.read [as _read] (tls.js:455:29)
gyp ERR! stack at CleartextStream.Readable.read (_stream_readable.js:341:10)
gyp ERR! stack at EncryptedStream.write [as _write] (tls.js:369:25)
gyp ERR! stack at doWrite (_stream_writable.js:226:10)
gyp ERR! stack at writeOrBuffer (_stream_writable.js:216:5)
gyp ERR! stack at EncryptedStream.Writable.write (_stream_writable.js:183:11)
gyp ERR! stack at write (_stream_readable.js:602:24)
gyp ERR! stack at flow (_stream_readable.js:611:7)
gyp ERR! stack at Socket.pipeOnReadable (_stream_readable.js:643:5)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Users\\me\\AppData\\Local\\atom\\app-1.8.0\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\me\\AppData\\Local\\atom\\app-1.8.0\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "install" "--target=0.36.8" "--dist-url=http://gh-contractor-zcbenz.s3.amazonaws.com/atom-shell/dist" "--arch=x64" "--ensure" "--verbose" "--proxy=https://me:my_password@proxyname:port"
gyp ERR! cwd C:\Users\me
gyp ERR! node -v v0.10.40
gyp ERR! node-gyp -v v2.0.2
gyp ERR! not ok pay attention to this two lines: gyp ERR! stack Error: 9684:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:openssl\ssl\s23_clnt.c:782: My System:
I give up! For me that was sooooo wasted time! Hope at least this will help to save somebodys time! Have a nice day 🌴 🌴 🌴 |
last thought: May several node installation conflict here? Just ask cause it seems that I have more than one version installed: $ apm --version
apm 1.9.2
npm 2.13.3
node 0.10.40
python 2.7.12
git 2.8.1.windows.1
visual studio
$ npm --version
2.7.4
$ node --version
v0.12.2 |
@Tset-Noitamotua See also: #322 (comment)
Where did you set this variable? Please check carefully and replace |
@falms Can we highlight it somehow and make it flash and blink and let make some noise ;-)
--> Everywhere ... as my understanding of our proxy always was that it can be accessed through https://... only - and thus i did in any other application I used before in my life .. and it worked. |
If there is a backslash somewhere in your address, use the html code %5C. Example: |
I was getting the same errors as described above, as I am behind a company proxy. What i did not do: What I did on Linux? |
i'm on RH 7.3. ` [andrew@rpm-dev Pic]$ ; environment configs ; userconfig /home/andrew/.atom/.apmrc ; globalconfig /home/andrew/.atom/.apm/.apmrc ; node bin location = /usr/share/atom/resources/app/apm/bin/node it was important to add ssl and remove htt{p,s}-proxy variables from the config file. I do have HTT{P,S}_PROXY variables in the env. |
My atom working behind proxy when I setup The README is wrong may be I think |
|
@davelander What if the password contains an '@' symbol? |
If I try to install a package i get the following error:
My apm config ls output:
What i find strange is the / after the https-proxy and the proxy port. Therefor I checked my .apmrc file again. This should be fine:
The only thing I can think of is that the / behind the port could be an issue.. But I have no idea how to remove it. Any ideas? Cheers |
@davelander 's solution works perfectly fine. |
This worked for me on ubuntu 16.04 behind corporate proxy. It doesn't make sense to me but I decided to give it a shot and it worked :S.
|
I can't install packages if proxy is configured.
This happens in atom version >0.188.0 and with every command (install, update ...) or package
I used following commands to set the proxy config:
The text was updated successfully, but these errors were encountered: