Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
npm error: tunneling socket could not be established, cause=socket hang up
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Shiv Prashant Sood  
View profile  
 More options Mar 27 2012, 5:02 am
From: Shiv Prashant Sood <shivprash...@gmail.com>
Date: Tue, 27 Mar 2012 14:32:23 +0530
Local: Tues, Mar 27 2012 5:02 am
Subject: npm error: tunneling socket could not be established, cause=socket hang up
Hello  There,
   I am getting the following error when using 'npm'. Specifically i
was using npm to install db-mysql. Any info on how to resolve this
would be of great help.

Log

info it worked if it ends with ok
verbose cli [ 'node', '/usr/local/bin/npm', 'install', 'db-mysql' ]
info using n...@1.1.12
info using n...@v0.6.0
verbose config file /home/shiv/.npmrc
verbose config file /usr/local/etc/npmrc
verbose config file /usr/local/lib/node_modules/npm/npmrc
verbose cache add [ 'db-mysql', null ]
silly cache add: name, spec, args [ undefined, 'db-mysql', [
'db-mysql', null ] ]
verbose parsed url { pathname: 'db-mysql', path: 'db-mysql', href: 'db-mysql' }
verbose addNamed [ 'db-mysql', '' ]
verbose addNamed [ null, '' ]
silly name, range, hasData [ 'db-mysql', '', false ]
verbose raw, before any munging db-mysql
verbose url resolving [ 'https://registry.npmjs.org/', './db-mysql' ]
verbose url resolved https://registry.npmjs.org/db-mysql
http GET https://registry.npmjs.org/db-mysql
ERR! Error: tunneling socket could not be established, cause=socket hang up
ERR!     at ClientRequest.onError
(/usr/local/lib/node_modules/npm/node_modules/request/tunnel.js:161:17)
ERR!     at ClientRequest.g (events.js:154:14)
ERR!     at ClientRequest.emit (events.js:67:17)
ERR!     at CleartextStream.<anonymous> (http.js:1175:13)
ERR!     at CleartextStream.emit (events.js:64:17)
ERR!     at Array.0 (tls.js:731:22)
ERR!     at EventEmitter._tickCallback (node.js:192:40)
ERR! You may report this log at:
ERR!     <http://github.com/isaacs/npm/issues>
ERR! or email it to:
ERR!     <npm-@googlegroups.com>
ERR!
ERR! System Linux 2.6.35-30-generic
ERR! command "node" "/usr/local/bin/npm" "install" "db-mysql"
ERR! cwd /home/shiv
ERR! node -v v0.6.0
ERR! npm -v 1.1.12
ERR! code ECONNRESET
ERR! message tunneling socket could not be established, cause=socket hang up
ERR! errno {}
verbose exit [ 1, true ]

Regards,
Shiv


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Schmidt  
View profile  
 More options Mar 27 2012, 11:17 am
From: Ryan Schmidt <google-2...@ryandesign.com>
Date: Tue, 27 Mar 2012 10:17:29 -0500
Local: Tues, Mar 27 2012 11:17 am
Subject: Re: [npm] npm error: tunneling socket could not be established, cause=socket hang up

On Mar 27, 2012, at 04:02, Shiv Prashant Sood wrote:

> info using n...@v0.6.0

Why not update to 0.6.14? Many bugs have been fixed since 0.6.0.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shiv Prashant Sood  
View profile  
 More options Mar 28 2012, 1:53 am
From: Shiv Prashant Sood <shivprash...@gmail.com>
Date: Wed, 28 Mar 2012 11:23:33 +0530
Local: Wed, Mar 28 2012 1:53 am
Subject: Re: [npm] npm error: tunneling socket could not be established, cause=socket hang up
Thanks. the problem is resolved with node.js 0.6.14.

Regards,
Shiv

On Tue, Mar 27, 2012 at 8:47 PM, Ryan Schmidt


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shiv Prashant Sood  
View profile  
 More options Apr 4 2012, 11:20 am
From: Shiv Prashant Sood <shivprash...@gmail.com>
Date: Wed, 4 Apr 2012 20:50:22 +0530
Local: Wed, Apr 4 2012 11:20 am
Subject: Re: [npm] npm error: tunneling socket could not be established, cause=socket hang up
Trying to install "everyauth" now. Keep getting the same error
"tunneling socket could not be established, cause=connect
ECONNREFUSED". this is with node 0.6.14 now.
Any help is greatly appreciated.

Regards,
Shiv

Error Log
npm http GET https://registry.npmjs.org/everyauth

npm ERR! Error: tunneling socket could not be established,
cause=connect ECONNREFUSED
npm ERR!     at ClientRequest.onError
(/usr/local/lib/node_modules/npm/node_modules/request/tunnel.js:161:17)
npm ERR!     at ClientRequest.g (events.js:156:14)
npm ERR!     at ClientRequest.emit (events.js:67:17)
npm ERR!     at Socket.<anonymous> (http.js:1137:11)
npm ERR!     at Socket.emit (events.js:67:17)
npm ERR!     at Array.0 (net.js:301:14)
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 Linux 2.6.35-22-generic
npm ERR! command "node" "/usr/local/bin/npm" "install" "everyauth"
npm ERR! cwd /home/shiv
npm ERR! node -v v0.6.14
npm ERR! npm -v 1.1.12
npm ERR! code ECONNRESET
npm ERR! message tunneling socket could not be established,
cause=connect ECONNREFUSED
npm ERR! errno {}

On Wed, Mar 28, 2012 at 11:23 AM, Shiv Prashant Sood


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shiv Prashant Sood  
View profile  
 More options Apr 5 2012, 5:22 am
From: Shiv Prashant Sood <shivprash...@gmail.com>
Date: Thu, 5 Apr 2012 14:52:41 +0530
Local: Thurs, Apr 5 2012 5:22 am
Subject: Re: npm error: tunneling socket could not be established, cause=socket hang up
This worked now. The only difference is that i am now connected via
Ethernet, was using a wifi earlier.
This error seems random. It might help to note that i am using vmware.

Regards,
Shiv

On Tue, Mar 27, 2012 at 2:19 PM, Shiv Prashant Sood


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
prathiksha gowda  
View profile  
 More options Aug 2 2012, 2:56 am
From: prathiksha gowda <pratiksha8...@gmail.com>
Date: Wed, 1 Aug 2012 23:56:17 -0700 (PDT)
Local: Thurs, Aug 2 2012 2:56 am
Subject: Re: npm error: tunneling socket could not be established, cause=socket hang up

Hi,
Even i was getting this error while installing socket.io using npm. I have
been stuck for 3 days coz of this issue, Any help really appreciated.

npm http GET https://registry.npmjs.org/socket.io-client/0.9.9
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/redis/0.7.2
npm http GET https://registry.npmjs.org/socket.io-client/0.9.9
npm http GET https://registry.npmjs.org/redis/0.7.2
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm http GET https://registry.npmjs.org/redis/0.7.2
npm http GET https://registry.npmjs.org/socket.io-client/0.9.9
npm http GET https://registry.npmjs.org/policyfile/0.0.4
npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'C:\Program Files
(x86)\node
js\node_modules\npm\node_modules\socket.io'
npm ERR! error rolling back  socket...@0.9.9 { [Error: ENOTEMPTY, rmdir
'C:\Prog
ram Files (x86)\nodejs\node_modules\npm\node_modules\socket.io']
npm ERR! error rolling back   errno: 53,
npm ERR! error rolling back   code: 'ENOTEMPTY',
npm ERR! error rolling back   path: 'C:\\Program Files
(x86)\\nodejs\\node_modul
es\\npm\\node_modules\\socket.io' }
npm ERR! Error: tunneling socket could not be established, cause=connect
ECONNRE
FUSED
npm ERR!     at ClientRequest.onError (C:\Program Files
(x86)\nodejs\node_module
s\npm\node_modules\request\tunnel.js:161:17)
npm ERR!     at ClientRequest.g (events.js:185:14)
npm ERR!     at ClientRequest.EventEmitter.emit (events.js:88:17)
npm ERR!     at Socket.socketErrorListener (http.js:1320:9)
npm ERR!     at Socket.EventEmitter.emit (events.js:88:17)
npm ERR!     at Socket._destroy.self.errorEmitted (net.js:335:14)
npm ERR!     at process.startup.processNextTick.process._tickCallback
(node.js:2
44:9)
npm ERR! If you need help, 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! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program
File
s (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
".\\socket.io"
npm ERR! cwd C:\Program Files (x86)\nodejs\node_modules\npm\node_modules
npm ERR! node -v v0.8.4
npm ERR! npm -v 1.1.45
npm ERR! code ECONNRESET
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     C:\Program Files
(x86)\nodejs\node_modules\npm\node_modules\npm-deb
ug.log
npm ERR! not ok code 0


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »