Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Error: socket hang up #38

DelvarWorld opened this Issue · 6 comments

4 participants

Andrew Ray Mike Coolin Katharina Irrgang Alexey
Andrew Ray

I am seeing this both in my own project and when running node test/test-changes.js

node test/test-changes.js 

        throw e; // process.nextTick error, or 'error' event on first tick
Error: socket hang up
    at createHangUpError (http.js:1107:15)
    at Socket.<anonymous> (http.js:1210:27)
    at Socket.emit (events.js:88:20)
    at Array.0 (net.js:320:10)
    at EventEmitter._tickCallback (node.js:192:40)
Mike Coolin

ended having to rebuild my system on the weekend. Will try looking into this ASAP

Katharina Irrgang

i have the same problem. how can i fix it?

Andrew Ray

@kirrg001 I have since switched to which has a simpler API in my opinion, and it did not demonstrate the problem. However, I also updated my couchdb to the latest version, so if you want to continue using this library, you could try updating couchdb.

Mike Coolin
mcoolin commented

Do you have any sample code I can use to reproduce this?

Andrew Ray

@mcoolin it happened to me when I ran the tests. I can try pulling down the latest and see if it still happens.

Mike Coolin
mcoolin commented

Thanks gives me a place to start looking. Let me know if the latest still breaks, I'll look at a fix tonight.

Alexey norlin closed this issue from a commit
Dmitriy Khudorozhkov Update the module to use node.js 0.8.x APIs.
Also fixes #38.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.