I’ve been running a little bot (@nixiebot) for about a year that has one connection to the sample endpoint and one to a filter endpoint, both via TwythonStreamer objects. The sample is just used to display random tweets on a neon display in my workshop, the filter is used to receive commands from twitter users.
About two days ago I started getting constant 420 errors on the sample stream. The filter stream appears fine. I back off exponentially to a maximum of 32 mins waiting time by putting a sleep in the on_error() event and this appears to have worked in the past.
Is there a problem with the sample stream?
Or, for that matter, have I misread the API policy? I thought it was: “only one connection per endpoint per app at a time”, is it really “only one endpoint connection per app at a time”? I appear to have been getting away with one connection to each endpoint from the same app for a long time if so!