Publish failing behind proxy #2686

Closed
polidore opened this Issue Aug 7, 2012 · 3 comments

Projects

None yet

2 participants

@polidore
polidore commented Aug 7, 2012

I can install things with no issue. Is the publish function using the same proxy code?

npm ERR! publish Failed PUT response undefined
npm ERR! Error: connect ETIMEDOUT
npm ERR!     at errnoException (net.js:768:11)
npm ERR!     at Object.afterConnect [as oncomplete] (net.js:759:19)
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! node -v v0.8.6
npm ERR! npm -v 1.1.48
npm ERR! syscall connect
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
@polidore

The problem is due to the fact that npm-registry-client doesn't pass the proxy config to couch-login. If i go to couch-login and hard code a proxy into the request, I can publish.

@isaacs
Member
isaacs commented Aug 15, 2012

Fixed in next release. Sorry bout that.

@isaacs isaacs closed this Aug 15, 2012
@polidore

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment