What’s the bug?
I cant view images - I keep getting an Agent Timeout error
Description
When using tugtainer with default values, I keep getting Agent Timeout errors when attempting to view images. My compose is almost identical to the provded example, expect I have added
DOCKER_TIMEOUT: 60
in an attempt to fix this issue. It has not made any difference.
The actual error is:
424 Failed Dependency
Agent timeout error
http://127.0.0.1:8001/api/image/list
POST
408
The problem is most likely related to the low Agent Timeout value, which you can increase in the host settings.
My change to docker-compose was made to the Env section - and only to sort this issue.
environment:
# The list of available variables is in env.example
DOCKER_HOST: tcp://socket-proxy:2375
DOCKER_TIMEOUT: 60
The images section worked fine (bit was slow0 when I had 4 containers. I now have 10 containers with multiple updates so looking ot use images to prune.
The error still shows after ~10 seconds, so seems ot be ignoring the timeout value.
Expected behaviour
To view images
To reproduce
Load tugtainer
load images
see error
Platform
Debian, rPi 4 (ARM)
Versions
latest
Relevant log output
tugtainer | INFO [alembic.runtime.migration] Context impl SQLiteImpl.
tugtainer | INFO [alembic.runtime.migration] Will assume non-transactional DDL.
tugtainer | BACKEND - ERROR - 2026-04-10 22:36:17 - Agent timeout error
tugtainer | Traceback (most recent call last):
tugtainer | File "/app/.venv/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 539, in start
tugtainer | message, payload = await protocol.read() # type: ignore[union-attr]
tugtainer | ^^^^^^^^^^^^^^^^^^^^^
tugtainer | File "/app/.venv/lib/python3.13/site-packages/aiohttp/streams.py", line 703, in read
tugtainer | await self._waiter
tugtainer | asyncio.exceptions.CancelledError
tugtainer |
tugtainer | The above exception was the direct cause of the following exception:
tugtainer |
tugtainer | Traceback (most recent call last):
tugtainer | File "/app/backend/core/agent_client.py", line 115, in _request
tugtainer | async with session.request(
tugtainer | ~~~~~~~~~~~~~~~^
tugtainer | method,
tugtainer | ^^^^^^^
tugtainer | ...<5 lines>...
tugtainer | timeout=aiohttp.ClientTimeout(total=timeout),
tugtainer | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tugtainer | ) as resp:
tugtainer | ^
tugtainer | File "/app/.venv/lib/python3.13/site-packages/aiohttp/client.py", line 1510, in __aenter__
tugtainer | self._resp: _RetType = await self._coro
tugtainer | ^^^^^^^^^^^^^^^^
tugtainer | File "/app/.venv/lib/python3.13/site-packages/aiohttp/client.py", line 779, in _request
tugtainer | resp = await handler(req)
tugtainer | ^^^^^^^^^^^^^^^^^^
tugtainer | File "/app/.venv/lib/python3.13/site-packages/aiohttp/client.py", line 757, in _connect_and_send_request
tugtainer | await resp.start(conn)
tugtainer | File "/app/.venv/lib/python3.13/site-packages/aiohttp/client_reqrep.py", line 534, in start
tugtainer | with self._timer:
tugtainer | ^^^^^^^^^^^
tugtainer | File "/app/.venv/lib/python3.13/site-packages/aiohttp/helpers.py", line 713, in __exit__
tugtainer | raise asyncio.TimeoutError from exc_val
tugtainer | TimeoutError
Extra
No response
What’s the bug?
I cant view images - I keep getting an Agent Timeout error
Description
When using tugtainer with default values, I keep getting Agent Timeout errors when attempting to view images. My compose is almost identical to the provded example, expect I have added
DOCKER_TIMEOUT: 60in an attempt to fix this issue. It has not made any difference.
The actual error is:
My change to docker-compose was made to the Env section - and only to sort this issue.
The images section worked fine (bit was slow0 when I had 4 containers. I now have 10 containers with multiple updates so looking ot use images to prune.
The error still shows after ~10 seconds, so seems ot be ignoring the timeout value.
Expected behaviour
To view images
To reproduce
Load tugtainer
load images
see error
Platform
Debian, rPi 4 (ARM)
Versions
latest
Relevant log output
Extra
No response