askmike / bitstamp

Bitstamp REST API wrapper
80 stars 54 forks source link

Net.js connect ETIMEDOUT #12

Closed Removed-5an closed 10 years ago

Removed-5an commented 10 years ago

There seems to be an uncaught exception that get's thrown when a request times out.

connect ETIMEDOUT

askmike commented 10 years ago

ah nice find. Solution is probably here:

https://github.com/visionmedia/express/issues/1655

Removed-5an commented 10 years ago

Yup high probability that we need another:

socket.on('error'

Kinda silly that this doesn't get caught by req.on('error' tho...

askmike commented 10 years ago

fixed by your pull!