httpx.ReadTimeout: The read operation timed out #396

Closed
opened 2025-10-14 17:21:17 -06:00 by navan · 0 comments
Owner

Originally created by @presmedia002 on 10/20/2020

Activated Google services :

  • Youtube
  • Kaboo
  • Photos
  • Maps
    Traceback (most recent call last):
    File "/usr/local/lib/python3.8/dist-packages/httpx/_exceptions.py", line 326, in map_exceptions
    yield
    File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 861, in _send_single_request
    (status_code, headers, stream, ext) = transport.request(
    File "/usr/local/lib/python3.8/dist-packages/httpcore/_sync/connection_pool.py", line 200, in request
    response = connection.request(
    File "/usr/local/lib/python3.8/dist-packages/httpcore/_sync/connection.py", line 100, in request
    return self.connection.request(method, url, headers, stream, ext)
    File "/usr/local/lib/python3.8/dist-packages/httpcore/_sync/http11.py", line 72, in request
    ) = self._receive_response(timeout)
    File "/usr/local/lib/python3.8/dist-packages/httpcore/_sync/http11.py", line 133, in _receive_response
    event = self._receive_event(timeout)
    File "/usr/local/lib/python3.8/dist-packages/httpcore/_sync/http11.py", line 172, in _receive_event
    data = self.socket.read(self.READ_NUM_BYTES, timeout)
    File "/usr/local/lib/python3.8/dist-packages/httpcore/_backends/sync.py", line 62, in read
    return self.sock.recv(n)
    File "/usr/lib/python3.8/contextlib.py", line 131, in exit
    self.gen.throw(type, value, traceback)
    File "/usr/local/lib/python3.8/dist-packages/httpcore/_exceptions.py", line 12, in map_exceptions
    raise to_exc(exc) from None
    httpcore.ReadTimeout: The read operation timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "hunt.py", line 102, in
data = ytb.get_channels(client, name, cfg)
File "/root/GHunt/lib/youtube.py", line 72, in get_channels
from_youtube = youtube_channel_search(client, query)
File "/root/GHunt/lib/youtube.py", line 34, in youtube_channel_search
req = client.get(avatar_link)
File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 907, in get
return self.request(
File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 733, in request
return self.send(
File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 767, in send
response = self._send_handling_auth(
File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 805, in _send_handling_auth
response = self._send_handling_redirects(
File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 837, in _send_handling_redirects
response = self._send_single_request(request, timeout)
File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 861, in _send_single_request
(status_code, headers, stream, ext) = transport.request(
File "/usr/lib/python3.8/contextlib.py", line 131, in exit
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python3.8/dist-packages/httpx/_exceptions.py", line 343, in map_exceptions
raise mapped_exc(message, **kwargs) from exc # type: ignore
httpx.ReadTimeout: The read operation timed out

*Originally created by @presmedia002 on 10/20/2020* Activated Google services : - Youtube - Kaboo - Photos - Maps Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/httpx/_exceptions.py", line 326, in map_exceptions yield File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 861, in _send_single_request (status_code, headers, stream, ext) = transport.request( File "/usr/local/lib/python3.8/dist-packages/httpcore/_sync/connection_pool.py", line 200, in request response = connection.request( File "/usr/local/lib/python3.8/dist-packages/httpcore/_sync/connection.py", line 100, in request return self.connection.request(method, url, headers, stream, ext) File "/usr/local/lib/python3.8/dist-packages/httpcore/_sync/http11.py", line 72, in request ) = self._receive_response(timeout) File "/usr/local/lib/python3.8/dist-packages/httpcore/_sync/http11.py", line 133, in _receive_response event = self._receive_event(timeout) File "/usr/local/lib/python3.8/dist-packages/httpcore/_sync/http11.py", line 172, in _receive_event data = self.socket.read(self.READ_NUM_BYTES, timeout) File "/usr/local/lib/python3.8/dist-packages/httpcore/_backends/sync.py", line 62, in read return self.sock.recv(n) File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__ self.gen.throw(type, value, traceback) File "/usr/local/lib/python3.8/dist-packages/httpcore/_exceptions.py", line 12, in map_exceptions raise to_exc(exc) from None httpcore.ReadTimeout: The read operation timed out The above exception was the direct cause of the following exception: Traceback (most recent call last): File "hunt.py", line 102, in <module> data = ytb.get_channels(client, name, cfg) File "/root/GHunt/lib/youtube.py", line 72, in get_channels from_youtube = youtube_channel_search(client, query) File "/root/GHunt/lib/youtube.py", line 34, in youtube_channel_search req = client.get(avatar_link) File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 907, in get return self.request( File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 733, in request return self.send( File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 767, in send response = self._send_handling_auth( File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 805, in _send_handling_auth response = self._send_handling_redirects( File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 837, in _send_handling_redirects response = self._send_single_request(request, timeout) File "/usr/local/lib/python3.8/dist-packages/httpx/_client.py", line 861, in _send_single_request (status_code, headers, stream, ext) = transport.request( File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__ self.gen.throw(type, value, traceback) File "/usr/local/lib/python3.8/dist-packages/httpx/_exceptions.py", line 343, in map_exceptions raise mapped_exc(message, **kwargs) from exc # type: ignore httpx.ReadTimeout: The read operation timed out
Sign in to join this conversation.
No labels
backdoor-try
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
bug
can't read
can't read
can't read
can't read
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
duplicate
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
good first issue
google-patch
google-patch
hacktoberfest-accepted
hacktoberfest-accepted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
help wanted
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
invalid
knowledge-enrichment
known bug
question
question
question
question
question
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
spam
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
stale
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
third party bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/GHunt#396
No description provided.