OpenHands
OpenHands copied to clipboard
[Bug]: fail Waiting for client to become ready...
Is there an existing issue for the same bug?
- [X] I have checked the existing issues.
Describe the bug and reproduction steps
when i use make docker and make bulid and make run , show Waiting for client to become ready..., and does not go on
OpenHands Installation
Docker command in README
OpenHands Version
No response
Operating System
None
Logs, Errors, Screenshots, and Additional Context
INFO: 172.18.0.1:38276 - "POST /api/conversations HTTP/1.1" 200 OK INFO: ('172.18.0.1', 38284) - "WebSocket /socket.io/?latest_event_id=-1&conversation_id=a989d29db53f479db2eafaafb461c76d&EIO=4&transport=websocket" [accepted] INFO: 172.18.0.1:38276 - "GET /api/options/config HTTP/1.1" 200 OK 07:31:30 - openhands:INFO: listen_socket.py:26 - sio:connect: 7r8dqN7ApDcuNCJuAAAF 07:31:30 - openhands:INFO: manager.py:209 - join_conversation:a989d29db53f479db2eafaafb461c76d:7r8dqN7ApDcuNCJuAAAF 07:31:30 - openhands:INFO: manager.py:364 - _get_event_stream:a989d29db53f479db2eafaafb461c76d 07:31:30 - openhands:INFO: manager.py:367 - found_local_agent_loop:a989d29db53f479db2eafaafb461c76d 07:31:31 - openhands:INFO: docker_runtime.py:133 - [runtime a989d29db53f479db2eafaafb461c76d] Starting runtime with image: ghcr.io/all-hands-ai/runtime:0.17-nikolaik 07:31:31 - openhands:INFO: docker_runtime.py:137 - [runtime a989d29db53f479db2eafaafb461c76d] Container started: openhands-runtime-a989d29db53f479db2eafaafb461c76d. VSCode URL: None 07:31:31 - openhands:INFO: docker_runtime.py:145 - [runtime a989d29db53f479db2eafaafb461c76d] Waiting for client to become ready at http://localhost:35402... INFO: 172.18.0.1:38298 - "GET /api/settings HTTP/1.1" 200 OK INFO: 172.18.0.1:38308 - "GET /api/options/config HTTP/1.1" 200 OK 07:31:45 - openhands:INFO: manager.py:434 - _cleanup_session:a989d29db53f479db2eafaafb461c76d INFO: 172.18.0.1:53872 - "GET /api/options/config HTTP/1.1" 200 OK INFO: 172.18.0.1:53874 - "GET /api/settings HTTP/1.1" 200 OK INFO: 172.18.0.1:53900 - "GET /api/options/config HTTP/1.1" 200 OK INFO: 172.18.0.1:53890 - "GET /api/settings HTTP/1.1" 200 OK INFO: 172.18.0.1:42306 - "GET /api/options/config HTTP/1.1" 200 OK INFO: 172.18.0.1:42298 - "GET /api/settings HTTP/1.1" 200 OK ^CINFO: Shutting down 07:32:06 - openhands:INFO: listen_socket.py:99 - sio:disconnect:7r8dqN7ApDcuNCJuAAAF 07:32:06 - openhands:INFO: manager.py:413 - disconnect_from_session:7r8dqN7ApDcuNCJuAAAF:a989d29db53f479db2eafaafb461c76d 07:32:06 - openhands:INFO: manager.py:458 - _close_session:a989d29db53f479db2eafaafb461c76d 07:32:06 - openhands:INFO: manager.py:466 - removing connections: [] 07:32:06 - openhands:INFO: manager.py:475 - closing_session:a989d29db53f479db2eafaafb461c76d INFO: Waiting for background tasks to complete. (CTRL+C to force quit) 07:32:08 - openhands:ERROR: session.py:116 - Error creating controller: HTTPConnectionPool(host='localhost', port=36361): Max retries exceeded with url: /alive (Caused by NewCon nectionError('<urllib3.connection.HTTPConnection object at 0x7f8acde96930>: Failed to establish a new connection: [Errno 111] Connection refused')) Traceback (most recent call last): File "/root/.cache/pypoetry/virtualenvs/openhands-ai-9TtSrW0h-py3.12/lib/python3.12/site-packages/urllib3/connection.py", line 199, in _new_conn sock = connection.create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/root/.cache/pypoetry/virtualenvs/openhands-ai-9TtSrW0h-py3.12/lib/python3.12/site-packages/urllib3/util/connection.py", line 85, in create_connection raise err File "/root/.cache/pypoetry/virtualenvs/openhands-ai-9TtSrW0h-py3.12/lib/python3.12/site-packages/urllib3/util/connection.py", line 73, in create_connection sock.connect(sa) ConnectionRefusedError: [Errno 111] Connection refused
The above exception was the direct cause of the following exception: