Twitter Streaming API exceeded connection limit per user



I have a twitter stream which have to be restarted when ever the filters are changed/updated . Twitter streaming api shows “exceeded connection limit per user” error when trying to restart an existing stream with the updated list of filters. Is there any time out between which i cannot restart an existing stream ?


Here’s a good link to follow:

I think it really depends on how often you’re reconnecting to the stream.

Rate limiting
Clients which do not implement backoff and attempt to reconnect as often as possible will have their connections rate limited for a small number of minutes. Rate limited clients will receive HTTP 420 responses for all connection requests.

Clients which break a connection and then reconnect frequently (to change query parameters, for example) run the risk of being rate limited.