Skip to content

[Bug] ReadTimeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60) #567

@NayanaBannur

Description

@NayanaBannur

Bug Report

I ran mng ls / mng list and it eventually timed out after listing the one agent I have. I re-ran after disabling the docker plugin and it worked with no issues.

An unexpected error occurred during command execution.

Error:

ReadTimeout: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)

Traceback:

Traceback (most recent call last):
  File "/Users/nayana/.local/share/uv/tools/mng/lib/python3.11/site-packages/urllib3/connectionpool.py", line 534, in _make_request
    response = conn.getresponse()
               ^^^^^^^^^^^^^^^^^^
  File "/Users/nayana/.local/share/uv/tools/mng/lib/python3.11/site-packages/urllib3/connection.py", line 571, in getresponse
    httplib_response = super().getresponse()
                       ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/nayana/.local/share/uv/python/cpython-3.11.11-macos-aarch64-none/lib/python3.11/http/client.py", line 1395, in getresponse
    response.begin()
  File "/Users/nayana/.local/share/uv/python/cpython-3.11.11-macos-aarch64-none/lib/python3.11/http/client.py", line 325, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/Users/nayana/.local/share/uv/python/cpython-3.11.11-macos-aarch64-none/lib/python3.11/http/client.py", line 286, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/nayana/.local/share/uv/python/cpython-3.11.11-macos-aarch64-none/lib/python3.11/socket.py", line 718, in readinto
    return self._sock.recv_into(b)
           ^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: timed out

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

Traceback (most recent call last):
  File "/Users/nayana/.local/share/uv/tools/mng/lib/python3.11/site-packages/requests/adapters.py", line 644, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "/Users/nayana/.local/share/uv/tools/mng/lib/python3.11/site-packages/urllib3/connectionpool.py", line 841, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "/Users/nayana/.local/share/uv/tools/mng/lib/python3.11/site-packag

_(truncated)_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions