Any way to understand if i'm being blocked by the twitter rate-limit or something?
I'm investigating why after some time the stream suddently stops
Are you listening for the 'error' event on the stream object?
If twitter is stopping you, the stream object should emit that event with related information.
Other posiblility is that you are not catching some error and the connection ends. I working on streaming api reconection right now.
Ok, at the moment I don't see any errors on the log. Will need to witness the point where it stops working
As a workaround I was thinking to make a simple watcher-like function that triggers an autorestart of the stream if N minutes passes and no tweets are received
Need to implement this https://github.com/horixon/immortal-ntwitter
I just implemented automatic reconnection. If you want to help with the debugging, welcome.