Skip to content

This stream has been disconnected for operational reasons #69

@jeanmatthieud

Description

@jeanmatthieud

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions