Closed rowanu closed 11 years ago
It is the normal situation (although rare). It means the HTTPS connection was disconnected when the response was expected. There are many reasons why it may happen, some of them 1) remote end problems 2) network problems 3) sending HTTP request while remote end closing connection as idle. In most cases you cannot prevent such errors
After puting code like this
process.on('uncaughtException', function(err) {
console.log(err);
});
you app will stop to exit on such exceptions
Thanks for the work-around!
Occasionally I see this error when getting prices (usually after running for a while):
Any ideas what might cause this? Is there a way to catch these errors outside the
betfair-sports-api
library?Thanks for the library!