Node version might be helpfull. Perhaps an old bug already
solve on recent versions?
---
Diogo R.
I'm also experiencing random disconnects without any emitted errors, that's just bizarre. I'm sure the server is not causing the disconnection. What could be happening?
--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
I'm also experiencing random disconnects without any emitted errors, that's just bizarre. I'm sure the server is not causing the disconnection. What could be happening?
If it's reproducible and if you can somehow turn it into a
ready-to-run test case, please open a bug report.
How can the error be happening before the error event attachment if the connection is alive for at least 10 minutes?Regarding the random disconnects, maybe there is no error but what about the 'end' event that ClientResponse should emit? I've registered a listener for that event but nothing gets called!
Could be something related to gunzip? out of memory? cache full? wtf?
You're failing to think async. Making the connection, doing the TCP> Now I know that the reason is, that the server is indeed refusing the
> connection but I was wondering...
> why dosn't it catch the error? why is it uncaught, even though it is inside
> a try catch statement?
handshake, etc. are not immediate operations. In short, you need to
add an error listener to your connection object.