Comments (5)
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.
from tuiter.
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
from tuiter.
I used that kind of turnaround in a project. It worked well. I'll ping you
after implementing reconnection.
On Tue, Jun 19, 2012 at 6:43 PM, Fabrizio Codello <
[email protected]
wrote:
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
Reply to this email directly or view it on GitHub:
#10 (comment)
Dan Zajdband
from tuiter.
Need to implement this https://github.com/horixon/immortal-ntwitter
from tuiter.
I just implemented automatic reconnection. If you want to help with the debugging, welcome.
from tuiter.
Related Issues (20)
- Simplify method generation
- API Lazy load
- UseTuiter to authorize other users HOT 1
- Unhandled stream error in pipe. HOT 8
- 'Authentication credentials were missing or incorrect' error HOT 3
- Issue with integer length for tweet id HOT 1
- cannot end stream HOT 3
- "Bad Token" HOT 4
- crashing when disconnections occur HOT 3
- Error: Bad token: Easy there, Turbo. Too many requests recently. Enhance your calm. HOT 7
- Cannot manually reconnect stream. HOT 2
- node 0.10.x compatible HOT 2
- resume on rate limit crashes
- Maybe reconnection/ratelimit issue HOT 5
- [Future] Streaming SSL certificate updates HOT 4
- memory leak problem
- Unable to connect HOT 16
- Error: Bad token HOT 7
- silently fails in case of wrong twitter app tokens
- Comparison with established libraries HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tuiter.