ReadTimeoutError
See original GitHub issueAnother periodic crash (different from #749): while some network exceptions are caught, it is not the case of requests.packages.urllib3.exceptions.ReadTimeoutError
and the program errors out.
Traceback (most recent call last):
...
stream.filter(**kwargs)
File "venv/local/lib/python2.7/site-packages/tweepy/streaming.py", line 447, in filter
self._start(async)
File "venv/local/lib/python2.7/site-packages/tweepy/streaming.py", line 361, in _start
self._run()
File "venv/local/lib/python2.7/site-packages/tweepy/streaming.py", line 263, in _run
self._read_loop(resp)
File "venv/local/lib/python2.7/site-packages/tweepy/streaming.py", line 313, in _read_loop
line = buf.read_line().strip()
File "venv/local/lib/python2.7/site-packages/tweepy/streaming.py", line 179, in read_line
self._buffer += self._stream.read(self._chunk_size)
File "venv/local/lib/python2.7/site-packages/requests/packages/urllib3/response.py", line 320, in read
flush_decoder = True
File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "venv/local/lib/python2.7/site-packages/requests/packages/urllib3/response.py", line 233, in _error_catcher
raise ReadTimeoutError(self._pool, None, 'Read timed out.')
requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='stream.twitter.com', port=443): Read timed out.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
HTTPSConnectionPool(host='pypi.python.org', port=443) with ...
ReadTimeoutError : HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. Storing debug log for failure in /root/.pip/pip.log'.
Read more >Retrying (Retry(total=4, connect=None, read=None, redirect ...
error when use pipWARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError(" ...
Read more >pip fails with ReadTimeoutError - Ask Ubuntu
ReadTimeoutError : HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. My Ubuntu version is: 16.04 (Xenial), ...
Read more >Python urllib3.exceptions.ReadTimeoutError() Examples
This page shows Python examples of urllib3.exceptions.ReadTimeoutError.
Read more >Error: HTTPSConnectionPool(host='pypi.python.org', port=443 ...
ReadTimeoutError : HTTPSConnectionPool(host='pypi.python.org', port=443): Read timed out. Comment Share. 3Comments. Avatar. Post Comment Discard.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am also getting the same error. Any Help?
Traceback (most recent call last): ...... File "C:\Python27\lib\site-packages\tweepy\streaming.py", line 445, in filter self._start(async) File "C:\Python27\lib\site-packages\tweepy\streaming.py", line 361, in _start self._run() File "C:\Python27\lib\site-packages\tweepy\streaming.py", line 294, in _run raise exception requests.packages.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='stream.twitter.com', port=443): Read timed out.
This should now be resolved with https://github.com/tweepy/tweepy/commit/68e19cc6b9b23d72369ca1520093770eb18a5a9f.
@ksajjan For code block usage, see https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks.