Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Error: socket hang up #38

Closed
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 

node.js:201
        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
Collaborator

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 https://github.com/cloudhead/cradle 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
Collaborator
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
Collaborator
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.
74f7c6d
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.