I am seeing this both in my own project and when running 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)
ended having to rebuild my system on the weekend. Will try looking into this ASAP
i have the same problem. how can i fix it?
@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.
Do you have any sample code I can use to reproduce this?
@mcoolin it happened to me when I ran the tests. I can try pulling down the latest and see if it still happens.
Thanks gives me a place to start looking. Let me know if the latest still breaks, I'll look at a fix tonight.
Update the module to use node.js 0.8.x APIs.
Also fixes #38.