-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with some feeds #3
Comments
It will lose the connection eventually if you get nothing, or even during regular operation. If Twitter or something else kills the connection, it just dies. Check out https://github.com/darkhelmet/twitterstream/blob/master/twimgd/twimgd.go#L159 You have to loop on the outside to reconnect, possibly waiting before reconnecting. As for as the empty tweets, is that reproducible? I honestly don't use the |
Do you mean the tweet is |
I see. Could be a bit of a problem: connecting takes nearly up to a minute sometimes (is that a Twitter API problem or one of the package? Seems a bit long...). Would that mean I would loose a lot of tweets if I have to reconnect every few minutes? I meant empty object, not nil. It only happens rarely. Could be that it only occurs directly before an EOF, but I'm not sure on that. |
Yeah, pretty sure now that it's always happening before an EOF. |
Hmm, taking a minute to connect shouldn't be the package but Twitter or something along the way. There is some timeout related stuff, where by default it sets a read timeout of 1 minute when reading/decoding tweets. There's also a 5 second dial timeout. |
Read timeout is working fine. The |
Hmm, I'll look at it |
Hi,
I'm getting a lot of "EOF" errors on some feeds, and sometimes no new tweets at all. For instance this one isn't working for me at all: 97475886 (acmc_clock_euro).
Also: sometimes empty tweets are returned.
Example code:
The text was updated successfully, but these errors were encountered: