Error Installing CoffeeScript: Error: tunneling socket could not be established, sutatusCode=405 #2434

Closed
MageshMari opened this Issue May 9, 2012 · 1 comment

2 participants

@MageshMari

Hi,

I'm behind a proxy and trying to install CoffeScript and get this error:
npm ERR! Error: tunneling socket could not be established, sutatusCode=405

Here is complete dump:
C:\Documents and Settings\mmariap\Desktop>npm install coffee-script
npm http GET https://registry.npmjs.org/coffee-script

npm ERR! Error: tunneling socket could not be established, sutatusCode=405
npm ERR! at onConnect (C:\Program Files\nodejs\node_modules\npm\node_modules
\request\tunnel.js:148:19)
npm ERR! at Array.0 (C:\Program Files\nodejs\node_modules\npm\node_modules\r
equest\tunnel.js:132:7)
npm ERR! at EventEmitter._tickCallback (node.js:192:40)
npm ERR! You may report this log at:
npm ERR! http://github.com/isaacs/npm/issues
npm ERR! or email it to:
npm ERR! npm-@googlegroups.com
npm ERR!
npm ERR! System Windows_NT 5.1.2600
npm ERR! command "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nod
ejs\node_modules\npm\bin\npm-cli.js" "install" "coffee-script"
npm ERR! cwd C:\Documents and Settings\mmariap\Desktop
npm ERR! node -v v0.6.17
npm ERR! npm -v 1.1.21
npm ERR! code ECONNRESET
npm ERR! message tunneling socket could not be established, sutatusCode=405
npm ERR! errno {}
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Documents and Settings\mmariap\Desktop\npm-debug.log
npm not ok

The proxy config is already set. Any suggestions?

Thanks!
Magesh

@isaacs
npm member

What is the proxy config set to? It's telling you that the method is not allowed. Perhaps it doesn't support CONNECT requests, and so is not suitable for proxying https requests?

@isaacs isaacs closed this May 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment