[Bug]: runtime stuck on Updating MCP server to ...
Is there an existing issue for the same bug? (If one exists, thumbs up or comment on the issue instead).
- [x] I have checked the existing issues.
Describe the bug and reproduction steps
- docker run app
- ask in webui
- runtime stuck when Updating MCP server to ..., which caused app timeout
OpenHands Installation
Docker command in README
OpenHands Version
0.39
Operating System
Linux
Logs, Errors, Screenshots, and Additional Context
32:02 - openhands:WARNING: action_execution_server.py:624 - Starting Action Execution Server 12:32:02 - openhands:INFO: action_execution_server.py:645 - Starting file viewer server 12:32:02 - openhands:INFO: file_viewer_server.py:94 - File viewer server URL saved to /tmp/oh-server-url: http://localhost:36304 12:32:02 - openhands:INFO: file_viewer_server.py:95 - Starting file viewer server on port 36304 12:32:02 - openhands:INFO: action_execution_server.py:650 - File viewer server started at http://localhost:36304 INFO: Started server process [8] INFO: Started server process [8] INFO: Waiting for application startup. 12:32:02 - openhands:INFO: action_execution_server.py:668 - Initializing ActionExecutor... INFO: Waiting for application startup. INFO: Application startup complete. INFO: Uvicorn running on http://127.0.0.1:36304 (Press CTRL+C to quit) 12:32:02 - openhands:INFO: action_execution_server.py:208 - No max memory limit set, using all available system memory 12:32:30 - openhands:INFO: browser_env.py:99 - Successfully called env.reset 12:32:30 - openhands:INFO: browser_env.py:116 - Browser env started. Server bound to 0.0.0.0:44423 (IPv4)
Extension host agent listening on 44423
[12:32:33]
Web UI available at http://localhost:44423?tkn=699bc416-4eae-4c6d-8847-ff8ecbe762f8
12:33:06 - openhands:INFO: action_execution_server.py:367 - Initializing by running 2 bash commands... 12:33:07 - openhands:INFO: action_execution_server.py:677 - ActionExecutor initialized. 12:33:07 - openhands:INFO: action_execution_server.py:680 - Initializing MCP Router... 12:33:07 - openhands:INFO: action_execution_server.py:705 - Mounted MCP Router SSE app at root path with allowed origins: ['*'] INFO: Application startup complete. INFO: Uvicorn running on http://0.0.0.0:35291 (Press CTRL+C to quit) INFO: 172.17.0.1:38466 - "GET /alive HTTP/1.1" 200 OK INFO: 172.17.0.1:38466 - "POST /execute_action HTTP/1.1" 200 OK INFO: 172.17.0.1:38466 - "POST /execute_action HTTP/1.1" 200 OK [Errno 2] No such file or directory: '.openhands/setup.sh' INFO: 172.17.0.1:38466 - "POST /execute_action HTTP/1.1" 200 OK [Errno 2] No such file or directory: '.openhands/pre-commit.sh' INFO: 172.17.0.1:38466 - "POST /execute_action HTTP/1.1" 200 OK [Errno 2] No such file or directory: '/workspace/.openhands_instructions' INFO: 172.17.0.1:38466 - "POST /execute_action HTTP/1.1" 200 OK INFO: 172.17.0.1:38466 - "POST /list_files HTTP/1.1" 200 OK 12:33:13 - openhands:INFO: action_execution_server.py:837 - Updating MCP server to: [ { "name": "fetch", "command": "uvx", "args": [ "mcp-server-fetch" ], "env": {} } ]. Previous profile: { "default": [] }