melodic-baker-78386
09/22/2025, 2:45 PMpoetry run python ./openhands/core/main.py -i 5 -t "Write me a bash script that prints hello world." -c CodeActAgent - l model of my choice
I am running this command and nothing seems to happen, no errors and I see the logs and a docker container spis up but I never get any response
22:25:54 - openhands:INFO: docker_runtime.py:203 - [runtime 9b9415e4-2609-46-709386bc87d920e] Runtime is ready.
22:25:55 - openhands:INFO: base.py:1026 - Successfully configured git: name=openhands, email=openhands@all-hands.dev
22:25:55 - openhands:INFO: base.py:860 - [runtime 9b9415e4-2609-46-709386bc87d920e] Selected repo: None, loading microagents from /workspace/.openhands/microagents (inside runtime)
22:25:55 - openhands:INFO: base.py:608 - [runtime 9b9415e4-2609-46-709386bc87d920e] Attempting to list files in repository microagents directory: /workspace/.openhands/microagents
22:25:55 - openhands:INFO: memory.py:261 - Loading user workspace microagents: []
22:25:55 - openhands:WARNING: mcp_config.py:331 - No search engine API key found, skipping search engine
22:25:55 - openhands:WARNING: utils.py:298 - Added microagent stdio server: fetch
22:25:55 - openhands:INFO: action_execution_client.py:434 - [runtime 9b9415e4-2609-46-709386bc87d920e] Updated MCP config: []
22:25:55 - openhands:INFO: utils.py:126 - Initializing MCP agent for url='http://localhost:32402/mcp/sse' api_key='******' with SSE connection...
22:25:58 - openhands:INFO: client.py:55 - Connected to server with tools: ['fetch']
22:25:58 - openhands:INFO: utils.py:312 - Loaded 1 MCP tools: ['fetch']
22:25:58 - openhands:INFO: agent.py:169 - Setting 1 MCP tools for agent CodeActAgent: ['fetch']
22:25:58 - openhands:INFO: agent.py:181 - Tools updated for agent CodeActAgent, total 8: ['execute_bash', 'think', 'finish', 'browser', 'execute_ipython_cell', 'task_tracker', 'str_replace_editor', 'fetch']
22:25:58 - openhands:INFO: state_tracker.py:94 - AgentController 9b9415e4-2609-46-709386bc87d920e - created new state. start_id: 0
22:25:58 - openhands:INFO: agent_controller.py:637 - [Agent Controller 9b9415e4-2609-46-709386bc87d920e] Setting agent(CodeActAgent) state from AgentState.LOADING to AgentState.RUNNING
22:25:58 - openhands:INFO: conversation_stats.py:65 - Saved conversation stats
22:26:08 - openhands:INFO: agent_controller.py:637 - [Agent Controller 9b9415e4-2609-46-709386bc87d920e] Setting agent(CodeActAgent) state from AgentState.RUNNING to AgentState.FINISHED
22:26:08 - openhands:INFO: conversation_stats.py:65 - Saved conversation stats
this is what the client logs look like and below are the docker logs
03:25:34 - openhands:warning: action_execution_server.py:654 - Starting Action Execution Server
03:25:34 - openhands:INFO: action_execution_server.py:680 - Starting file viewer server
03:25:34 - openhands:INFO: file_viewer_server.py:92 - File viewer server URL saved to /tmp/oh-server-url: http://localhost:33349
03:25:34 - openhands:INFO: file_viewer_server.py:93 - Starting file viewer server on port 33349
03:25:34 - openhands:INFO: action_execution_server.py:685 - File viewer server started at http://localhost:33349
INFO: Started server process [8]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:33349 (Press CTRL+C to quit)
INFO: Started server process [8]
INFO: Waiting for application startup.
03:25:34 - openhands:INFO: action_execution_server.py:700 - Initializing ActionExecutor...
03:25:34 - openhands:INFO: action_execution_server.py:217 - No max memory limit set, using all available system memory
03:25:45 - openhands:INFO: browser_env.py:103 - Successfully called env.reset
03:25:45 - openhands:INFO: browser_env.py:121 - Browser env started.
03:25:52 - openhands:INFO: action_execution_server.py:366 - Initializing by running 2 bash commands...
03:25:53 - openhands:INFO: action_execution_server.py:710 - ActionExecutor initialized.
03:25:53 - openhands:INFO: action_execution_server.py:720 - Initializing MCP Proxy Manager...
03:25:53 - openhands.runtime.mcp.proxy.manager:INFO: manager.py:57 - No MCP servers configured for FastMCP Proxy, skipping initialization.
03:25:53 - openhands.runtime.mcp.proxy.manager:INFO: manager.py:81 - No MCP servers configured for FastMCP Proxy, skipping mount.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:32402 (Press CTRL+C to quit)
INFO: 172.17.0.1:58062 - "GET /alive HTTP/1.1" 200 OK
INFO: 172.17.0.1:58062 - "POST /execute_action HTTP/1.1" 200 OK
INFO: 172.17.0.1:58062 - "POST /execute_action HTTP/1.1" 200 OK
[Errno 2] No such file or directory: '/workspace/.openhands_instructions'
INFO: 172.17.0.1:58062 - "POST /execute_action HTTP/1.1" 200 OK
INFO: 172.17.0.1:58062 - "POST /list_files HTTP/1.1" 200 OK
03:25:55 - openhands:INFO: action_execution_server.py:866 - Updating MCP server with tools: [
{
"name": "fetch",
"command": "uvx",
"args": [
"mcp-server-fetch"
],
"env": {}
}
]
03:25:55 - openhands.runtime.mcp.proxy.manager:INFO: manager.py:69 - FastMCP Proxy initialized successfully
03:25:55 - openhands.runtime.mcp.proxy.manager:INFO: manager.py:117 - Mounted FastMCP Proxy app at /mcp
03:25:55 - openhands:INFO: action_execution_server.py:872 - MCP Proxy Manager updated and remounted successfully
INFO: 172.17.0.1:58062 - "POST /update_mcp_server HTTP/1.1" 200 OK
INFO: 172.17.0.1:58064 - "GET /mcp/sse HTTP/1.1" 200 OK
INFO: 172.17.0.1:58076 - "POST /mcp/messages/?session_id=f69d98c8624b4a0093bc16537b6c5fb9 HTTP/1.1" 202 Accepted
INFO: 172.17.0.1:58076 - "POST /mcp/messages/?session_id=f69d98c8624b4a0093bc16537b6c5fb9 HTTP/1.1" 202 Accepted
INFO: 172.17.0.1:58076 - "POST /mcp/messages/?session_id=f69d98c8624b4a0093bc16537b6c5fb9 HTTP/1.1" 202 Accepted
Downloading lxml (5.0MiB)
Downloading pydantic-core (1.9MiB)
Downloading pydantic-core
Downloading lxml
Installed 40 packages in 149ms
INFO: 172.17.0.1:46372 - "POST /execute_action HTTP/1.1" 200 OK
INFO: 172.17.0.1:46372 - "POST /execute_action HTTP/1.1" 200 OK
INFO: 172.17.0.1:46372 - "POST /execute_action HTTP/1.1" 200 OK
INFO: Shutting down
INFO: Waiting for application shutdown.
03:26:11 - openhands:INFO: action_execution_server.py:739 - Shutting down MCP Proxy Manager...
03:26:11 - openhands:INFO: action_execution_server.py:746 - Closing ActionExecutor...
03:26:12 - openhands:INFO: action_execution_server.py:750 - ActionExecutor closed successfully.
03:26:12 - openhands:INFO: action_execution_server.py:755 - Shutdown complete.
INFO: Application shutdown complete.
INFO: Finished server process [8]
Slack Conversationmelodic-baker-78386
09/23/2025, 7:18 PM