question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Another 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:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ksajjancommented, Sep 12, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found