YanshuoH / DejaVu

Complexe events are simple results of primary events which are usually seen but no one cares.
1 stars 2 forks source link

why the collection module disconnects itself after some time? #62

Closed babijo closed 10 years ago

babijo commented 10 years ago

why the collection module disconnects itself after some time?

2014-06-20_0309

2014-06-20_0319

2014-06-20_0334

YanshuoH commented 10 years ago

This is a new thing. Maybe something's changed in google api.

YanshuoH commented 10 years ago

This connect to passive db is normal. Because Streaming db is an independent db, so each time I refresh the streaming result, it gives a message that I've been connected. But the statusCode bug is a new thing for me.

YanshuoH commented 10 years ago

2 possibilities:

  1. There was occasionally a dysfonction for twitter streaming api, so the response contains wrong info (which means no statusCode which should be there in every single response).
  2. Your connection was occasionally dysfunctioning which causes the same problem. I'll try to fix it.
YanshuoH commented 10 years ago

Fine. This is a silly conception of "TWIT" node module which can not handle a bad response error (well, no statusCode may be too bad for it). I've added something to handle it and now the streaming is still running since 1 hour already.

YanshuoH commented 10 years ago

Fixed. Theoriquement...