-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Getting "Connection broken: ConnectionResetError(104, 'Connection reset by peer')" error while streaming #1416
Comments
You are likely being throttled. |
I am having the same issue. I believe that I have implemented @officiallymarky's suggestion by setting the |
This should now be resolved with 68e19cc. @eduardoltorres Running the stream on a new thread means the entire stream, including calls to your |
I am still having this issue. I attempted to resolve the issue by having the only work done in the on_status function be to add the status to a list, which is then processed later periodically. This does not seem to resolve the issue, however. I am running the stream with the async parameter set to 'True'. |
What version of Tweepy are you using? |
3.10.0. |
The commit that fixed this, 68e19cc, is on the master branch, but hasn't been released yet. |
Hello, I've got this error sometime while trying to stream, it happens randomly during the stream but I can't figure out where it's from and how to handle it. The first line of the error is the last line in my code. How can I restart the stream ? Returning True on
def on_exception(...):
would do the trick ?My code :
Error :
Thanks !
The text was updated successfully, but these errors were encountered: