Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upUserstream not working anymore. #190
Comments
This comment has been minimized.
This comment has been minimized.
Telofy
commented
Nov 28, 2013
|
Same here. The problem started 2013-11-23 for one app and three days later for another one. I thought it was some sort of isolated outage maybe related to my apps or recent change in client IP and reported it here, but that’s getting less likely with every day I can’t find any of the other countless users of the Twitter API reporting similar problems. (Except in this thread.) The sample stream works for me as well. |
This comment has been minimized.
This comment has been minimized.
Telofy
commented
Nov 28, 2013
|
When I insert a
|
This comment has been minimized.
This comment has been minimized.
Telofy
commented
Nov 30, 2013
|
It’s also using 100% of one of my cores, which may be related to this fix. I hacked in a one-second sleep for now until this is fixed. |
This comment has been minimized.
This comment has been minimized.
|
Glad I'm not the only one with problems. I mean if we are doing something wrong when connecting to it, it should at least disconnect us. |
This comment has been minimized.
This comment has been minimized.
Telofy
commented
Dec 1, 2013
|
The only reports of problems that I can find are here. If it were a general problem with the Twitter API, the Internet would be flooded with reports. I also sniffed my connection, and while it was encrypted of course, so that I couldn’t see the package content, I could reliably trigger bigger packages by listening to the stream and then favoriting and unfavoriting tweets with the respective account. That also indicates that the problem is not solely with the API (unless it was some crazy degree of coincidence paired with my human bias to see patterns in random noise). |
This comment has been minimized.
This comment has been minimized.
|
I don't think it would hurt to report the problem. The worst that could happen is that they close the ticket as invalid. |
This comment has been minimized.
This comment has been minimized.
agates
commented
Dec 10, 2013
|
Hi, I've encountered this problem as well. I had thought it was a problem with my experimental code until I realized the socket isn't receiving data at all. Not really sure what changed. |
This comment has been minimized.
This comment has been minimized.
Telofy
commented
Dec 11, 2013
|
I hope this will get fixed eventually. This library has by far the sanest API I’ve seen. The easiest way is probably to delegate all the HTTP-related functionality to requests. All this low-level socket-listening is yucky to me, so I haven’t figured out what exactly the problem is, but I’ve created a fork of Twython where I have replaced their awkward streaming contraption with a yield (pretty much just like this library does it). There may’ve been advantages to their error handling, but I removed that as well for consistency, and so you’re no longer forced to subclass the streamer to use it. (Once this is fixed, I’ll switch back so I’ll no longer have to maintain the fork.) Careful, by the way, Twython expects the authentication parameters in the order |
This comment has been minimized.
This comment has been minimized.
homlett
commented
Dec 23, 2013
|
Hi, I've this problem too with my app. It's very embarrassing and I'm surprise nobody knows where the problem coming from. I hope a solution... Regards. |
added a commit
to RouxRC/twitter
that referenced
this issue
Dec 27, 2013
added a commit
to RouxRC/twitter
that referenced
this issue
Dec 27, 2013
This comment has been minimized.
This comment has been minimized.
pauldebeurs
commented
Jan 27, 2014
|
I also have problems with getting tweets. Until november 2013 these statements worked: |
This comment has been minimized.
This comment has been minimized.
|
@pauldebeurs 2 different pull requests propose fixes you can use by switching to one of their respective branches: |
This comment has been minimized.
This comment has been minimized.
Telofy
commented
Jan 27, 2014
|
Oh, some good work there. Thank you both! <3 |
This comment has been minimized.
This comment has been minimized.
|
This is great! I hope the changes gets merged soon. |
This comment has been minimized.
This comment has been minimized.
|
Sorry for the delay. PR #196 is merged, and 1.11.0 is released with the fix. Big thanks to the contributors who did all the work on this! (It totally wasn't me.) |
DarkDefender commentedNov 27, 2013
I'm having problems with user streams since a few days back.
I can use the example in the README file and it seems to connect fine.
But I don't get any messages what so ever.. And the stream connection seems to still be alive. I seems to be alive because even if I set the socket timeout to be about 1 min it never times out.
It doesn't seem to raise any errors either so I don't really know what to do now.
"Normal" streams IE just TwitterStream without specifying domain works so I have no Idea what the problem could be.