SpiderStrategies / node-tweet-stream

Node twitter module to hook into the public filter streaming, seamlessly updating the tracking keywords.
210 stars 43 forks source link

Handle disconnects #1

Closed nathanbowser closed 10 years ago

nathanbowser commented 10 years ago

Twitter appears to be disconnecting us. Well, at least the tcp connection is dying. An easy way to dup:

var Twitter = require('./')
  , twitter = new Twitter({....})
twitter.track('tacos')

Run that program, then sudo tcpkill -9 port 443. We'll get a

Error: read ECONNRESET
    at errnoException (net.js:904:11)
    at TCP.onread (net.js:558:19)