My python code to run the Twitter streaming API has been running better the past couple of days, however I am getting a “Read Timed Out” error. Exact error is as follows:
WARNING:root:<class ‘requests.packages.urllib3.exceptions.ReadTimeoutError’> HTTPSConnectionPool(host=‘stream.twitter.com’, port=443): Read timed out.
I noticed that this error was encountered by some people a couple of years ago (by way of Google search). Does anyone know what could be causing this? Is anyone experiencing a similar issue? My code simply searches for tweets containing either a specific handle or hashtag.