Skip to content
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

This stream has been disconnected for operational reasons #69

Open
jeanmatthieud opened this issue Mar 24, 2023 · 0 comments
Open

This stream has been disconnected for operational reasons #69

jeanmatthieud opened this issue Mar 24, 2023 · 0 comments

Comments

@jeanmatthieud
Copy link

jeanmatthieud commented Mar 24, 2023

How to manage disconnected state ?

Expected behavior

I created some rules (very specific, I don't receive a lot of tweets, maybe 1-5 per hour) and listening to the stream with client.tweets.searchStream()

Actual behavior

After getting some tweets, I get an error (few hours later):

{"title":"operational-disconnect","disconnect_type":"OperationalDisconnect","detail":"This stream has been disconnected for operational reasons.","type":"https://api.twitter.com/2/problems/operational-disconnect"}

It seems that the stream is now stuck. How should I restart the stream / connection ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant