Twython Chunked Encoding Error and Twitter API Stream Latency

X-axis: Data Collection Time is parsed from the tweet’s timestamp. Y-axis: Latency = actual clock time – tweet’s timestamp.

This figure demonstrates a likely culprit for Twython users experiencing “Chunked Encoding Error” when accessing Twitter’s Streaming API. Full description and workarounds are here.