[Bug]: LM Studio not able to connect it with openhands
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
Cannot Connect OpenHands to Local LM Studio - Configuration Issues Environment
OS: Windows OpenHands Version: 0.44 LM Studio: Running on localhost:1234 Docker: Running OpenHands in container with --add-host host.docker.internal:host-gateway
Problem Description
OpenHands UI can access localhost:3000 and conversations initiate successfully, but fails to connect to local LM Studio instance after a few seconds. Getting various connection errors despite trying multiple configuration approaches.
What Works β
Network connectivity is confirmed working:
bash# This works from inside OpenHands container
curl http://host.docker.internal:1234/v1/chat/completions
-H "Content-Type: application/json"
-d '{
"model": "TheBloke/deepseek-coder-6.7B-instruct-GGUF",
"messages": [
{ "role": "system", "content": "Always answer in rhymes." },
{ "role": "user", "content": "Introduce yourself." }
],
"temperature": 0.7,
"max_tokens": -1,
"stream": true
}'
LM Studio model info:
json{
"name": "deepseek-ai_deepseek-coder-6.7b-instruct",
"arch": "llama",
"quant": "Q8_0",
"context_length": 16384,
"embedding_length": 4096,
"num_layers": 32,
"rope": {
"freq_base": 100000,
"dimension_count": 128
},
"head_count": 32,
"head_count_kv": 32,
"parameters": "7B"
}
What Doesn't Work β
OpenHands UI connection to LM Studio fails after trying multiple configurations in the Settings > LLM tab.
Attempted Configurations
LM Studio API response shows model ID as:
json"id": "TheBloke/deepseek-coder-6.7B-instruct-GGUF/deepseek-coder-6.7b-instruct.Q8_0.gguf"
Tried in OpenHands UI Settings:
Custom Model: openai/TheBloke/deepseek-coder-6.7B-instruct-GGUF Custom Model: TheBloke/deepseek-coder-6.7B-instruct-GGUF Custom Model: deepseek-ai_deepseek-coder-6.7b-instruct Base URL: http://host.docker.internal:1234/v1 API Key: dummy
Questions/Confusion
Should I use the UI Settings or create a config file? I've seen examples of both approaches in documentation. What's the correct model name format? Getting inconsistent information between:
LM Studio API response: TheBloke/deepseek-coder-6.7B-instruct-GGUF/deepseek-coder-6.7b-instruct.Q8_0.gguf Model info: deepseek-ai_deepseek-coder-6.7b-instruct
Why does curl work but OpenHands UI doesn't? Network connectivity is proven working.
Feature Request
Add a "Test LLM Connection" button in the Settings page to validate configuration before trying to use it in conversations. This would make debugging much easier.
OpenHands Installation
Docker command in README
OpenHands Version
0.44
Operating System
WSL on Windows
Logs, Errors, Screenshots, and Additional Context
No response
Hi!
The URL is correct. The model name should follow the format openai/model_id, where model_id is the identifier shown in the Developer panel of LM Studio - itβs on the right sidebar, under API Usage, e.g. mistralai/devstral-small-2505 (in the end, that would become openai/mistralai/devstral-small-2505). What is the exact error in the Docker logs?
A test connection button is a good idea, I was thinking about it too.
By the way, I suggest using at least Devstral, a 6.7B parameter likely isn't good enough.
used the /v1/models url to find the id and added "openai/" infront.
model name: "openai/TheBloke/deepseek-coder-6.7B-instruct-GGUF/deepseek-coder-6.7b-instruct.Q8_0.gguf"
base URL: http://host.docker.internal:1234/v1
this works!! Thanks and I will check on Devstral.
Hi!
The URL is correct. The model name should follow the format
openai/model_id, wheremodel_idis the identifier shown in the Developer panel of LM Studio - itβs on the right sidebar, under API Usage, e.g.mistralai/devstral-small-2505(in the end, that would becomeopenai/mistralai/devstral-small-2505). What is the exact error in the Docker logs?A test connection button is a good idea, I was thinking about it too.
By the way, I suggest using at least Devstral, a 6.7B parameter likely isn't good enough.
I believe it's the customer model string he used, isn't it supposed to be lm_studio, not lm-studio.
This issue still exists in 0.45.
I have tried openai and lm_studio with the correct LLM name but I am stuck on initialising agent.
Hi @ZebraBeer,
If it's stuck at "Initializing Agent", then the issue is likely unrelated to these parameters. Even if the model configuration is incorrect, OpenHands should still reach the "Agent is ready" blue message.
Please check the Docker logs for any error or relevant message. Please let me know what you find.
For reference, here are the correct parameters when using LM Studio or Ollama with the official models downloaded from their respective hubs:
Quick LLM Server Configuration Reference
π¦ Models to Download
| Platform | Model Name in UI | Note |
|---|---|---|
| LM Studio | mistralai/Devstral-Small-2505 |
Search and download only from LM Studio's official model hub |
| Ollama | devstral |
Pull only from Ollama's built-in model library |
βοΈ LLM Server Configuration
| Parameter | Suggested Value | LM Studio | Ollama |
|---|---|---|---|
| Context Size (Important!) | β₯32768 recommended | Set it in model settings | Set it via OLLAMA_CONTEXT_LENGTH or custom Modelfile |
π οΈ OpenHands Configuration Parameters
| Parameter | LM Studio Value | Ollama Value |
|---|---|---|
| Custom Model field value | openai/mistralai/devstral-small-2505 |
openai/devstral |
| Base URL field value | http://host.docker.internal:1234/v1 |
http://host.docker.internal:11434/v1 |
| API Key field value | local-llm (any non-empty value is accepted) |
local-llm (any non-empty value is accepted) |
Note: You can likely use the lm_studio/ (for LM Studio) or ollama/ (for Ollama) prefixes instead of openai/.
However, both LLM servers support OpenAI-compatible endpoints, and these openai/ versions have been tested and confirmed to work correctly with OpenHands.
Edit: If you already had Devstral downloaded in LM Studio, you can find its correct Model API identifier in the Developer pane. Remember to still prepend openai/ to the identifier when using it in the OpenHands configuration.
Hi, Thanks for your help with this.
So still no luck, I have the correct settings in LMStudio, using the correct references through the API for the LLM model, and I have the docker URL set correctly, I am using Devstral.
The settings I use work using Openhands 0.32, just not on 0.45
Here are my container logs below.
From Chat Spawned Container Logs.
INFO: Started server process [8]
INFO: Waiting for application startup.
15:08:56 - openhands:INFO: action_execution_server.py:178 - No max memory limit set, using all available system memory
15:08:59 - openhands:INFO: browser_env.py:103 - Successfully called env.reset
15:08:59 - openhands:INFO: browser_env.py:120 - Browser env started.
[I 2025-06-21 15:09:00.903 KernelGatewayApp] Writing Jupyter server cookie secret to /root/.local/share/jupyter/runtime/jupyter_cookie_secret
[I 2025-06-21 15:09:00.903 KernelGatewayApp] Jupyter Kernel Gateway 3.0.1 is available at http://0.0.0.0:40612
Server bound to 0.0.0.0:40061 (IPv4)
Extension host agent listening on 40061
[15:09:01]
Web UI available at http://localhost:40061?tkn=85246c39-bf0c-4d62-8184-7edf5c477df1
[15:09:01] Extension host agent started.
[15:09:01] Started initializing default profile extensions in extensions installation folder. file:///root/.openvscode-server/extensions
[15:09:01] Completed initializing default profile extensions in extensions installation folder. file:///root/.openvscode-server/extensions
[I 2025-06-21 15:09:01.106 KernelGatewayApp] Kernel started: 014f5d61-1e31-47fc-a09b-2277c9ca7a39
[I 250621 15:09:01 web:2348] 201 POST /api/kernels (127.0.0.1) 116.10ms
[W 2025-06-21 15:09:01.109 KernelGatewayApp] No session ID specified
[I 250621 15:09:01 web:2348] 101 GET /api/kernels/014f5d61-1e31-47fc-a09b-2277c9ca7a39/channels (127.0.0.1) 363.46ms
[I 2025-06-21 15:09:01.473 KernelGatewayApp] Connecting to kernel 014f5d61-1e31-47fc-a09b-2277c9ca7a39.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:36494 (Press CTRL+C to quit)
INFO: 172.17.0.1:58282 - "GET /alive HTTP/1.1" 200 OK
INFO: 172.17.0.1:58282 - "POST /execute_action HTTP/1.1" 200 OK
15:09:05 - openhands:ERROR: action_execution_server.py:632 - Error while running /execute_action: action={'message': 'Running command: git init && git config --global --add safe.directory /workspace', 'action': 'run', 'args': {'command': 'git init && git config --global --add safe.directory /workspace', 'is_input': False, 'thought': '', 'blocking': False, 'is_static': False, 'cwd': None, 'hidden': False, 'confirmation_state': 'confirmed'}, 'timeout': 120.0} has the wrong arguments: CmdRunAction.__init__() got an unexpected keyword argument 'is_static'
15:09:05 - openhands:ERROR: action_execution_server.py:578 - HTTP exception occurred: Traceback (most recent call last):
File "/openhands/code/openhands/events/serialization/action.py", line 120, in action_from_dict
decoded_action = action_class(**args)
^^^^^^^^^^^^^^^^^^^^
TypeError: CmdRunAction.__init__() got an unexpected keyword argument 'is_static'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/openhands/code/openhands/runtime/action_execution_server.py", line 625, in execute_action
action = event_from_dict(action_request.action)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openhands/code/openhands/events/serialization/event.py", line 55, in event_from_dict
evt = action_from_dict(data)
^^^^^^^^^^^^^^^^^^^^^^
File "/openhands/code/openhands/events/serialization/action.py", line 130, in action_from_dict
raise LLMMalformedActionError(
openhands.core.exceptions.LLMMalformedActionError: action={'message': 'Running command: git init && git config --global --add safe.directory /workspace', 'action': 'run', 'args': {'command': 'git init && git config --global --add safe.directory /workspace', 'is_input': False, 'thought': '', 'blocking': False, 'is_static': False, 'cwd': None, 'hidden': False, 'confirmation_state': 'confirmed'}, 'timeout': 120.0} has the wrong arguments: CmdRunAction.__init__() got an unexpected keyword argument 'is_static'
INFO: 172.17.0.1:58282 - "POST /execute_action HTTP/1.1" 500 Internal Server Error
From Openhands app container
Starting OpenHands...
Running OpenHands as root
/app/.venv/lib/python3.12/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)
15:05:04 - openhands:INFO: server_config.py:53 - Using config class None
INFO: Started server process [8]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:3000 (Press CTRL+C to quit)
INFO: 172.18.0.1:33886 - "GET /conversations/6070af058b9d4508b2c25c6da3dad66e HTTP/1.1" 200 OK
INFO: 172.18.0.1:33886 - "GET /locales/en/translation.json HTTP/1.1" 200 OK
INFO: 172.18.0.1:33886 - "GET /api/options/config HTTP/1.1" 200 OK
INFO: 172.18.0.1:33886 - "GET /assets/notification-Cyeyy5ud.mp3 HTTP/1.1" 206 Partial Content
INFO: 172.18.0.1:33906 - "GET /api/options/config HTTP/1.1" 200 OK
INFO: 172.18.0.1:33890 - "GET /api/conversations/6070af058b9d4508b2c25c6da3dad66e HTTP/1.1" 200 OK
INFO: 172.18.0.1:33886 - "GET /assets/notification-Cyeyy5ud.mp3 HTTP/1.1" 206 Partial Content
INFO: 172.18.0.1:33906 - "GET /api/settings HTTP/1.1" 404 Not Found
INFO: 172.18.0.1:33890 - "GET /api/options/models HTTP/1.1" 200 OK
INFO: 172.18.0.1:33886 - "GET /api/settings HTTP/1.1" 404 Not Found
INFO: 172.18.0.1:33906 - "GET /api/options/agents HTTP/1.1" 200 OK
INFO: 172.18.0.1:33886 - "GET /api/options/security-analyzers HTTP/1.1" 200 OK
INFO: 172.18.0.1:33890 - "GET /api/settings HTTP/1.1" 404 Not Found
INFO: 172.18.0.1:33890 - "GET /api/settings HTTP/1.1" 404 Not Found
INFO: 172.18.0.1:36210 - "POST /api/settings HTTP/1.1" 200 OK
INFO: 172.18.0.1:36210 - "GET /api/settings HTTP/1.1" 200 OK
INFO: 172.18.0.1:36210 - "POST /api/settings HTTP/1.1" 200 OK
INFO: 172.18.0.1:36210 - "GET /api/settings HTTP/1.1" 200 OK
15:07:50 - openhands:INFO: manage_conversations.py:118 - initializing_new_conversation:repository=None git_provider=None selected_branch=None initial_user_msg=None image_urls=[] replay_json=None suggested_task=None conversation_instructions=None
15:07:50 - openhands:INFO: conversation_service.py:48 - Creating conversation
15:07:50 - openhands:INFO: conversation_service.py:56 - Loading settings
15:07:50 - openhands:INFO: conversation_service.py:59 - Settings loaded
15:07:50 - openhands:INFO: conversation_service.py:87 - Loading conversation store
15:07:50 - openhands:INFO: conversation_service.py:89 - ServerConversation store loaded
15:07:50 - openhands:INFO: conversation_service.py:96 - New conversation ID: d419c1f4b97d4096b55db493f7fabe45
15:07:50 - openhands:INFO: conversation_service.py:106 - Saving metadata for conversation d419c1f4b97d4096b55db493f7fabe45
15:07:50 - openhands:INFO: conversation_service.py:120 - Starting agent loop for conversation d419c1f4b97d4096b55db493f7fabe45
15:07:50 - openhands:INFO: standalone_conversation_manager.py:258 - maybe_start_agent_loop:d419c1f4b97d4096b55db493f7fabe45
15:07:50 - openhands:INFO: standalone_conversation_manager.py:274 - starting_agent_loop:d419c1f4b97d4096b55db493f7fabe45
15:07:50 - openhands:INFO: conversation_service.py:141 - Finished initializing conversation d419c1f4b97d4096b55db493f7fabe45
15:07:50 - openhands:WARNING: mcp_config.py:183 - No search engine API key found, skipping search engine
15:07:50 - openhands:INFO: session.py:171 - Enabling pipeline condenser with: browser_output_masking(attention_window=2), llm(model="lm_studio/devstral-small-2505", base_url="http://host.docker.internal:1234/v1", keep_first=4, max_size=80)
INFO: 172.18.0.1:36210 - "POST /api/conversations HTTP/1.1" 200 OK
INFO: 172.18.0.1:36210 - "GET /api/conversations/d419c1f4b97d4096b55db493f7fabe45 HTTP/1.1" 200 OK
INFO: 172.18.0.1:37404 - "GET /assets/notification-Cyeyy5ud.mp3 HTTP/1.1" 206 Partial Content
INFO: 172.18.0.1:36210 - "GET /assets/notification-Cyeyy5ud.mp3 HTTP/1.1" 206 Partial Content
15:07:51 - openhands:INFO: docker_runtime.py:165 - [runtime d419c1f4b97d4096b55db493f7fabe45] Starting runtime with image: docker.all-hands.dev/all-hands-ai/runtime:0.32-nikolaik
15:07:52 - openhands:INFO: docker_runtime.py:169 - [runtime d419c1f4b97d4096b55db493f7fabe45] Container started: openhands-runtime-d419c1f4b97d4096b55db493f7fabe45. VSCode URL: None
15:07:52 - openhands:INFO: docker_runtime.py:180 - [runtime d419c1f4b97d4096b55db493f7fabe45] Waiting for client to become ready at http://host.docker.internal:32199...
INFO: 172.18.0.1:37404 - "GET /api/conversations/d419c1f4b97d4096b55db493f7fabe45 HTTP/1.1" 200 OK
INFO: 172.18.0.1:36210 - "WebSocket /socket.io/?latest_event_id=-1&conversation_id=d419c1f4b97d4096b55db493f7fabe45&providers_set=&session_api_key=null&EIO=4&transport=websocket" [accepted]
INFO: connection open
15:07:54 - openhands:INFO: listen_socket.py:38 - sio:connect: ZkdE7Rh8qQ8LyzgMAAAB
15:07:54 - openhands:INFO: listen_socket.py:49 - Socket request for conversation d419c1f4b97d4096b55db493f7fabe45 with connection_id ZkdE7Rh8qQ8LyzgMAAAB
15:07:54 - openhands:INFO: listen_socket.py:74 - User None is allowed to connect to conversation d419c1f4b97d4096b55db493f7fabe45
15:07:54 - openhands:INFO: listen_socket.py:88 - Replaying event stream for conversation d419c1f4b97d4096b55db493f7fabe45 with connection_id ZkdE7Rh8qQ8LyzgMAAAB...
15:07:54 - openhands:INFO: listen_socket.py:116 - Finished replaying event stream for conversation d419c1f4b97d4096b55db493f7fabe45
15:07:54 - openhands:INFO: conversation_service.py:188 - Git provider scaffold: {}
15:07:54 - openhands:INFO: standalone_conversation_manager.py:128 - join_conversation:d419c1f4b97d4096b55db493f7fabe45:ZkdE7Rh8qQ8LyzgMAAAB
15:07:54 - openhands:INFO: standalone_conversation_manager.py:258 - maybe_start_agent_loop:d419c1f4b97d4096b55db493f7fabe45
15:07:54 - openhands:INFO: listen_socket.py:134 - Successfully joined conversation d419c1f4b97d4096b55db493f7fabe45 with connection_id ZkdE7Rh8qQ8LyzgMAAAB
INFO: 172.18.0.1:37404 - "GET /api/conversations/d419c1f4b97d4096b55db493f7fabe45 HTTP/1.1" 200 OK
INFO: 172.18.0.1:37404 - "GET /api/conversations/d419c1f4b97d4096b55db493f7fabe45 HTTP/1.1" 200 OK
INFO: 172.18.0.1:37404 - "GET /api/conversations/d419c1f4b97d4096b55db493f7fabe45 HTTP/1.1" 200 OK
INFO: 172.18.0.1:37404 - "GET /api/conversations/d419c1f4b97d4096b55db493f7fabe45 HTTP/1.1" 200 OK
15:08:08 - openhands:INFO: docker_runtime.py:186 - [runtime d419c1f4b97d4096b55db493f7fabe45] Runtime is ready.
15:08:08 - openhands:ERROR: agent_session.py:213 - Agent session start failed in 17.260831356048584s
15:08:08 - openhands:ERROR: session.py:228 - Error creating agent_session: Server error '500 Internal Server Error' for url 'http://host.docker.internal:32199/execute_action'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
Details: Traceback (most recent call last):
File "/openhands/code/openhands/events/serialization/action.py", line 120, in action_from_dict
decoded_action = action_class(**args)
^^^^^^^^^^^^^^^^^^^^
TypeError: CmdRunAction.__init__() got an unexpected keyword argument 'is_static'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/openhands/code/openhands/runtime/action_execution_server.py", line 625, in execute_action
action = event_from_dict(action_request.action)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openhands/code/openhands/events/serialization/event.py", line 55, in event_from_dict
evt = action_from_dict(data)
^^^^^^^^^^^^^^^^^^^^^^
File "/openhands/code/openhands/events/serialization/action.py", line 130, in action_from_dict
raise LLMMalformedActionError(
openhands.core.exceptions.LLMMalformedActionError: action={'message': 'Running command: git init && git config --global --add safe.directory /workspace', 'action': 'run', 'args': {'command': 'git init && git config --global --add safe.directory /workspace', 'is_input': False, 'thought': '', 'blocking': False, 'is_static': False, 'cwd': None, 'hidden': False, 'confirmation_state': 'confirmed'}, 'timeout': 120.0} has the wrong arguments: CmdRunAction.__init__() got an unexpected keyword argument 'is_static'
Traceback (most recent call last):
File "/app/openhands/runtime/utils/request.py", line 46, in send_request
response.raise_for_status()
File "/app/.venv/lib/python3.12/site-packages/httpx/_models.py", line 829, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Server error '500 Internal Server Error' for url 'http://host.docker.internal:32199/execute_action'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/openhands/server/session/session.py", line 194, in initialize_agent
await self.agent_session.start(
File "/app/openhands/server/session/agent_session.py", line 130, in start
runtime_connected = await self._create_runtime(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/openhands/server/session/agent_session.py", line 384, in _create_runtime
await self.runtime.clone_or_init_repo(
File "/app/openhands/runtime/base.py", line 385, in clone_or_init_repo
self.run_action(action)
File "/app/openhands/runtime/base.py", line 827, in run_action
observation = getattr(self, action_type)(action)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/openhands/runtime/impl/action_execution/action_execution_client.py", line 334, in run
return self.send_action_for_execution(action)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/openhands/runtime/impl/action_execution/action_execution_client.py", line 316, in send_action_for_execution
response = self._send_action_server_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 338, in wrapped_f
return copy(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 477, in __call__
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 378, in iter
result = action(retry_state)
^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 400, in <lambda>
self._add_action_func(lambda rs: rs.outcome.result())
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 480, in __call__
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/app/openhands/runtime/impl/action_execution/action_execution_client.py", line 125, in _send_action_server_request
return send_request(self.session, method, url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 338, in wrapped_f
return copy(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 477, in __call__
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 378, in iter
result = action(retry_state)
^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 400, in <lambda>
self._add_action_func(lambda rs: rs.outcome.result())
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 480, in __call__
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/app/openhands/runtime/utils/request.py", line 54, in send_request
raise RequestHTTPError(
openhands.runtime.utils.request.RequestHTTPError: Server error '500 Internal Server Error' for url 'http://host.docker.internal:32199/execute_action'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
Details: Traceback (most recent call last):
File "/openhands/code/openhands/events/serialization/action.py", line 120, in action_from_dict
decoded_action = action_class(**args)
^^^^^^^^^^^^^^^^^^^^
TypeError: CmdRunAction.__init__() got an unexpected keyword argument 'is_static'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/openhands/code/openhands/runtime/action_execution_server.py", line 625, in execute_action
action = event_from_dict(action_request.action)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openhands/code/openhands/events/serialization/event.py", line 55, in event_from_dict
evt = action_from_dict(data)
^^^^^^^^^^^^^^^^^^^^^^
File "/openhands/code/openhands/events/serialization/action.py", line 130, in action_from_dict
raise LLMMalformedActionError(
openhands.core.exceptions.LLMMalformedActionError: action={'message': 'Running command: git init && git config --global --add safe.directory /workspace', 'action': 'run', 'args': {'command': 'git init && git config --global --add safe.directory /workspace', 'is_input': False, 'thought': '', 'blocking': False, 'is_static': False, 'cwd': None, 'hidden': False, 'confirmation_state': 'confirmed'}, 'timeout': 120.0} has the wrong arguments: CmdRunAction.__init__() got an unexpected keyword argument 'is_static'
INFO: 172.18.0.1:37404 - "GET /api/conversations/d419c1f4b97d4096b55db493f7fabe45 HTTP/1.1" 200 OK
15:08:09 - openhands:INFO: listen_socket.py:157 - sio:disconnect:ZkdE7Rh8qQ8LyzgMAAAB
15:08:09 - openhands:INFO: standalone_conversation_manager.py:344 - disconnect_from_session:ZkdE7Rh8qQ8LyzgMAAAB:d419c1f4b97d4096b55db493f7fabe45
INFO: 172.18.0.1:37404 - "WebSocket /socket.io/?latest_event_id=0&conversation_id=d419c1f4b97d4096b55db493f7fabe45&providers_set=&session_api_key=null&EIO=4&transport=websocket" [accepted]
INFO: connection open
INFO: connection closed
15:08:09 - openhands:INFO: listen_socket.py:38 - sio:connect: qFPLbKYU-V_J0l5tAAAD
15:08:09 - openhands:INFO: listen_socket.py:49 - Socket request for conversation d419c1f4b97d4096b55db493f7fabe45 with connection_id qFPLbKYU-V_J0l5tAAAD
15:08:09 - openhands:INFO: listen_socket.py:74 - User None is allowed to connect to conversation d419c1f4b97d4096b55db493f7fabe45
15:08:09 - openhands:INFO: listen_socket.py:88 - Replaying event stream for conversation d419c1f4b97d4096b55db493f7fabe45 with connection_id qFPLbKYU-V_J0l5tAAAD...
15:08:09 - openhands:INFO: listen_socket.py:116 - Finished replaying event stream for conversation d419c1f4b97d4096b55db493f7fabe45
15:08:09 - openhands:INFO: conversation_service.py:188 - Git provider scaffold: {}
15:08:09 - openhands:INFO: standalone_conversation_manager.py:128 - join_conversation:d419c1f4b97d4096b55db493f7fabe45:qFPLbKYU-V_J0l5tAAAD
15:08:09 - openhands:INFO: standalone_conversation_manager.py:258 - maybe_start_agent_loop:d419c1f4b97d4096b55db493f7fabe45
15:08:09 - openhands:INFO: listen_socket.py:134 - Successfully joined conversation d419c1f4b97d4096b55db493f7fabe45 with connection_id qFPLbKYU-V_J0l5tAAAD
15:08:43 - openhands:INFO: listen_socket.py:157 - sio:disconnect:qFPLbKYU-V_J0l5tAAAD
15:08:43 - openhands:INFO: standalone_conversation_manager.py:344 - disconnect_from_session:qFPLbKYU-V_J0l5tAAAD:d419c1f4b97d4096b55db493f7fabe45
INFO: connection closed
INFO: 172.18.0.1:40852 - "POST /api/settings HTTP/1.1" 200 OK
INFO: 172.18.0.1:40852 - "GET /api/settings HTTP/1.1" 200 OK
15:08:50 - openhands:INFO: manage_conversations.py:118 - initializing_new_conversation:repository=None git_provider=None selected_branch=None initial_user_msg=None image_urls=[] replay_json=None suggested_task=None conversation_instructions=None
15:08:50 - openhands:INFO: conversation_service.py:48 - Creating conversation
15:08:50 - openhands:INFO: conversation_service.py:56 - Loading settings
15:08:50 - openhands:INFO: conversation_service.py:59 - Settings loaded
15:08:50 - openhands:INFO: conversation_service.py:87 - Loading conversation store
15:08:50 - openhands:INFO: conversation_service.py:89 - ServerConversation store loaded
15:08:50 - openhands:INFO: conversation_service.py:96 - New conversation ID: b61dc65f0c1b4a52aa5b596899bb9ee5
15:08:50 - openhands:INFO: conversation_service.py:106 - Saving metadata for conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:08:50 - openhands:INFO: conversation_service.py:120 - Starting agent loop for conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:08:50 - openhands:INFO: standalone_conversation_manager.py:258 - maybe_start_agent_loop:b61dc65f0c1b4a52aa5b596899bb9ee5
15:08:50 - openhands:INFO: standalone_conversation_manager.py:274 - starting_agent_loop:b61dc65f0c1b4a52aa5b596899bb9ee5
15:08:50 - openhands:INFO: conversation_service.py:141 - Finished initializing conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:08:50 - openhands:WARNING: mcp_config.py:183 - No search engine API key found, skipping search engine
15:08:50 - openhands:INFO: session.py:171 - Enabling pipeline condenser with: browser_output_masking(attention_window=2), llm(model="lm_studio/devstral-small-2505", base_url="http://host.docker.internal:1234", keep_first=4, max_size=80)
INFO: 172.18.0.1:40852 - "POST /api/conversations HTTP/1.1" 200 OK
INFO: 172.18.0.1:40852 - "GET /api/conversations/b61dc65f0c1b4a52aa5b596899bb9ee5 HTTP/1.1" 200 OK
INFO: 172.18.0.1:51532 - "GET /assets/notification-Cyeyy5ud.mp3 HTTP/1.1" 206 Partial Content
INFO: 172.18.0.1:40852 - "GET /assets/notification-Cyeyy5ud.mp3 HTTP/1.1" 206 Partial Content
15:08:51 - openhands:INFO: docker_runtime.py:165 - [runtime b61dc65f0c1b4a52aa5b596899bb9ee5] Starting runtime with image: docker.all-hands.dev/all-hands-ai/runtime:0.32-nikolaik
15:08:51 - openhands:INFO: docker_runtime.py:169 - [runtime b61dc65f0c1b4a52aa5b596899bb9ee5] Container started: openhands-runtime-b61dc65f0c1b4a52aa5b596899bb9ee5. VSCode URL: None
15:08:51 - openhands:INFO: docker_runtime.py:180 - [runtime b61dc65f0c1b4a52aa5b596899bb9ee5] Waiting for client to become ready at http://host.docker.internal:36494...
INFO: 172.18.0.1:51532 - "GET /api/conversations/b61dc65f0c1b4a52aa5b596899bb9ee5 HTTP/1.1" 200 OK
INFO: 172.18.0.1:40852 - "WebSocket /socket.io/?latest_event_id=-1&conversation_id=b61dc65f0c1b4a52aa5b596899bb9ee5&providers_set=&session_api_key=null&EIO=4&transport=websocket" [accepted]
INFO: connection open
15:08:53 - openhands:INFO: listen_socket.py:38 - sio:connect: cEpPcNBZRojephHbAAAF
15:08:53 - openhands:INFO: listen_socket.py:49 - Socket request for conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id cEpPcNBZRojephHbAAAF
15:08:53 - openhands:INFO: listen_socket.py:74 - User None is allowed to connect to conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:08:53 - openhands:INFO: listen_socket.py:88 - Replaying event stream for conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id cEpPcNBZRojephHbAAAF...
15:08:53 - openhands:INFO: listen_socket.py:116 - Finished replaying event stream for conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:08:53 - openhands:INFO: conversation_service.py:188 - Git provider scaffold: {}
15:08:53 - openhands:INFO: standalone_conversation_manager.py:128 - join_conversation:b61dc65f0c1b4a52aa5b596899bb9ee5:cEpPcNBZRojephHbAAAF
15:08:53 - openhands:INFO: standalone_conversation_manager.py:258 - maybe_start_agent_loop:b61dc65f0c1b4a52aa5b596899bb9ee5
15:08:53 - openhands:INFO: listen_socket.py:134 - Successfully joined conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id cEpPcNBZRojephHbAAAF
INFO: 172.18.0.1:51532 - "GET /api/conversations/b61dc65f0c1b4a52aa5b596899bb9ee5 HTTP/1.1" 200 OK
INFO: 172.18.0.1:51532 - "GET /api/conversations/b61dc65f0c1b4a52aa5b596899bb9ee5 HTTP/1.1" 200 OK
INFO: 172.18.0.1:51532 - "GET /api/conversations/b61dc65f0c1b4a52aa5b596899bb9ee5 HTTP/1.1" 200 OK
INFO: 172.18.0.1:51532 - "GET /api/conversations/b61dc65f0c1b4a52aa5b596899bb9ee5 HTTP/1.1" 200 OK
15:09:05 - openhands:INFO: docker_runtime.py:186 - [runtime b61dc65f0c1b4a52aa5b596899bb9ee5] Runtime is ready.
15:09:05 - openhands:ERROR: agent_session.py:213 - Agent session start failed in 15.26090407371521s
15:09:05 - openhands:ERROR: session.py:228 - Error creating agent_session: Server error '500 Internal Server Error' for url 'http://host.docker.internal:36494/execute_action'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
Details: Traceback (most recent call last):
File "/openhands/code/openhands/events/serialization/action.py", line 120, in action_from_dict
decoded_action = action_class(**args)
^^^^^^^^^^^^^^^^^^^^
TypeError: CmdRunAction.__init__() got an unexpected keyword argument 'is_static'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/openhands/code/openhands/runtime/action_execution_server.py", line 625, in execute_action
action = event_from_dict(action_request.action)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openhands/code/openhands/events/serialization/event.py", line 55, in event_from_dict
evt = action_from_dict(data)
^^^^^^^^^^^^^^^^^^^^^^
File "/openhands/code/openhands/events/serialization/action.py", line 130, in action_from_dict
raise LLMMalformedActionError(
openhands.core.exceptions.LLMMalformedActionError: action={'message': 'Running command: git init && git config --global --add safe.directory /workspace', 'action': 'run', 'args': {'command': 'git init && git config --global --add safe.directory /workspace', 'is_input': False, 'thought': '', 'blocking': False, 'is_static': False, 'cwd': None, 'hidden': False, 'confirmation_state': 'confirmed'}, 'timeout': 120.0} has the wrong arguments: CmdRunAction.__init__() got an unexpected keyword argument 'is_static'
Traceback (most recent call last):
File "/app/openhands/runtime/utils/request.py", line 46, in send_request
response.raise_for_status()
File "/app/.venv/lib/python3.12/site-packages/httpx/_models.py", line 829, in raise_for_status
raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Server error '500 Internal Server Error' for url 'http://host.docker.internal:36494/execute_action'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/app/openhands/server/session/session.py", line 194, in initialize_agent
await self.agent_session.start(
File "/app/openhands/server/session/agent_session.py", line 130, in start
runtime_connected = await self._create_runtime(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/openhands/server/session/agent_session.py", line 384, in _create_runtime
await self.runtime.clone_or_init_repo(
File "/app/openhands/runtime/base.py", line 385, in clone_or_init_repo
self.run_action(action)
File "/app/openhands/runtime/base.py", line 827, in run_action
observation = getattr(self, action_type)(action)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/openhands/runtime/impl/action_execution/action_execution_client.py", line 334, in run
return self.send_action_for_execution(action)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/openhands/runtime/impl/action_execution/action_execution_client.py", line 316, in send_action_for_execution
response = self._send_action_server_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 338, in wrapped_f
return copy(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 477, in __call__
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 378, in iter
result = action(retry_state)
^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 400, in <lambda>
self._add_action_func(lambda rs: rs.outcome.result())
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 480, in __call__
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/app/openhands/runtime/impl/action_execution/action_execution_client.py", line 125, in _send_action_server_request
return send_request(self.session, method, url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 338, in wrapped_f
return copy(f, *args, **kw)
^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 477, in __call__
do = self.iter(retry_state=retry_state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 378, in iter
result = action(retry_state)
^^^^^^^^^^^^^^^^^^^
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 400, in <lambda>
self._add_action_func(lambda rs: rs.outcome.result())
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 449, in result
return self.__get_result()
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/_base.py", line 401, in __get_result
raise self._exception
File "/app/.venv/lib/python3.12/site-packages/tenacity/__init__.py", line 480, in __call__
result = fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/app/openhands/runtime/utils/request.py", line 54, in send_request
raise RequestHTTPError(
openhands.runtime.utils.request.RequestHTTPError: Server error '500 Internal Server Error' for url 'http://host.docker.internal:36494/execute_action'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500
Details: Traceback (most recent call last):
File "/openhands/code/openhands/events/serialization/action.py", line 120, in action_from_dict
decoded_action = action_class(**args)
^^^^^^^^^^^^^^^^^^^^
TypeError: CmdRunAction.__init__() got an unexpected keyword argument 'is_static'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/openhands/code/openhands/runtime/action_execution_server.py", line 625, in execute_action
action = event_from_dict(action_request.action)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/openhands/code/openhands/events/serialization/event.py", line 55, in event_from_dict
evt = action_from_dict(data)
^^^^^^^^^^^^^^^^^^^^^^
File "/openhands/code/openhands/events/serialization/action.py", line 130, in action_from_dict
raise LLMMalformedActionError(
openhands.core.exceptions.LLMMalformedActionError: action={'message': 'Running command: git init && git config --global --add safe.directory /workspace', 'action': 'run', 'args': {'command': 'git init && git config --global --add safe.directory /workspace', 'is_input': False, 'thought': '', 'blocking': False, 'is_static': False, 'cwd': None, 'hidden': False, 'confirmation_state': 'confirmed'}, 'timeout': 120.0} has the wrong arguments: CmdRunAction.__init__() got an unexpected keyword argument 'is_static'
INFO: 172.18.0.1:51532 - "GET /api/conversations/b61dc65f0c1b4a52aa5b596899bb9ee5 HTTP/1.1" 200 OK
15:09:08 - openhands:INFO: listen_socket.py:157 - sio:disconnect:cEpPcNBZRojephHbAAAF
15:09:08 - openhands:INFO: standalone_conversation_manager.py:344 - disconnect_from_session:cEpPcNBZRojephHbAAAF:b61dc65f0c1b4a52aa5b596899bb9ee5
INFO: 172.18.0.1:51532 - "WebSocket /socket.io/?latest_event_id=0&conversation_id=b61dc65f0c1b4a52aa5b596899bb9ee5&providers_set=&session_api_key=null&EIO=4&transport=websocket" [accepted]
INFO: connection open
INFO: connection closed
15:09:08 - openhands:INFO: listen_socket.py:38 - sio:connect: cSSvNCXuD4viE6CbAAAH
15:09:08 - openhands:INFO: listen_socket.py:49 - Socket request for conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id cSSvNCXuD4viE6CbAAAH
15:09:08 - openhands:INFO: listen_socket.py:74 - User None is allowed to connect to conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:09:08 - openhands:INFO: listen_socket.py:88 - Replaying event stream for conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id cSSvNCXuD4viE6CbAAAH...
15:09:08 - openhands:INFO: listen_socket.py:116 - Finished replaying event stream for conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:09:08 - openhands:INFO: conversation_service.py:188 - Git provider scaffold: {}
15:09:08 - openhands:INFO: standalone_conversation_manager.py:128 - join_conversation:b61dc65f0c1b4a52aa5b596899bb9ee5:cSSvNCXuD4viE6CbAAAH
15:09:08 - openhands:INFO: standalone_conversation_manager.py:258 - maybe_start_agent_loop:b61dc65f0c1b4a52aa5b596899bb9ee5
15:09:08 - openhands:INFO: listen_socket.py:134 - Successfully joined conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id cSSvNCXuD4viE6CbAAAH
15:09:23 - openhands:INFO: listen_socket.py:157 - sio:disconnect:cSSvNCXuD4viE6CbAAAH
15:09:23 - openhands:INFO: standalone_conversation_manager.py:344 - disconnect_from_session:cSSvNCXuD4viE6CbAAAH:b61dc65f0c1b4a52aa5b596899bb9ee5
INFO: connection closed
INFO: 172.18.0.1:60058 - "POST /api/settings HTTP/1.1" 200 OK
INFO: 172.18.0.1:60058 - "GET /api/settings HTTP/1.1" 200 OK
INFO: 172.18.0.1:60058 - "GET /api/conversations?limit=20 HTTP/1.1" 200 OK
INFO: 172.18.0.1:60058 - "WebSocket /socket.io/?latest_event_id=-1&conversation_id=b61dc65f0c1b4a52aa5b596899bb9ee5&providers_set=&session_api_key=null&EIO=4&transport=websocket" [accepted]
INFO: connection open
INFO: 172.18.0.1:60064 - "GET /assets/notification-Cyeyy5ud.mp3 HTTP/1.1" 206 Partial Content
15:09:36 - openhands:INFO: listen_socket.py:38 - sio:connect: QO6ITPIFmoLJOp0eAAAJ
15:09:36 - openhands:INFO: listen_socket.py:49 - Socket request for conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id QO6ITPIFmoLJOp0eAAAJ
15:09:36 - openhands:INFO: listen_socket.py:74 - User None is allowed to connect to conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:09:36 - openhands:INFO: listen_socket.py:88 - Replaying event stream for conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id QO6ITPIFmoLJOp0eAAAJ...
15:09:36 - openhands:INFO: listen_socket.py:116 - Finished replaying event stream for conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:09:36 - openhands:INFO: conversation_service.py:188 - Git provider scaffold: {}
15:09:36 - openhands:INFO: standalone_conversation_manager.py:128 - join_conversation:b61dc65f0c1b4a52aa5b596899bb9ee5:QO6ITPIFmoLJOp0eAAAJ
15:09:36 - openhands:INFO: standalone_conversation_manager.py:258 - maybe_start_agent_loop:b61dc65f0c1b4a52aa5b596899bb9ee5
15:09:36 - openhands:INFO: listen_socket.py:134 - Successfully joined conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id QO6ITPIFmoLJOp0eAAAJ
INFO: 172.18.0.1:60064 - "GET /assets/notification-Cyeyy5ud.mp3 HTTP/1.1" 206 Partial Content
INFO: 172.18.0.1:44094 - "GET /conversations/b61dc65f0c1b4a52aa5b596899bb9ee5 HTTP/1.1" 200 OK
INFO: connection closed
15:11:41 - openhands:INFO: listen_socket.py:157 - sio:disconnect:QO6ITPIFmoLJOp0eAAAJ
15:11:41 - openhands:INFO: standalone_conversation_manager.py:344 - disconnect_from_session:QO6ITPIFmoLJOp0eAAAJ:b61dc65f0c1b4a52aa5b596899bb9ee5
INFO: 172.18.0.1:44094 - "GET /locales/en/translation.json HTTP/1.1" 200 OK
INFO: 172.18.0.1:44094 - "GET /api/options/config HTTP/1.1" 200 OK
INFO: 172.18.0.1:44094 - "GET /assets/notification-Cyeyy5ud.mp3 HTTP/1.1" 206 Partial Content
INFO: 172.18.0.1:44096 - "GET /api/options/config HTTP/1.1" 200 OK
INFO: 172.18.0.1:44104 - "GET /api/conversations/b61dc65f0c1b4a52aa5b596899bb9ee5 HTTP/1.1" 200 OK
INFO: 172.18.0.1:44094 - "GET /assets/notification-Cyeyy5ud.mp3 HTTP/1.1" 206 Partial Content
INFO: 172.18.0.1:44104 - "WebSocket /socket.io/?latest_event_id=-1&conversation_id=b61dc65f0c1b4a52aa5b596899bb9ee5&providers_set=&session_api_key=null&EIO=4&transport=websocket" [accepted]
INFO: connection open
INFO: 172.18.0.1:44096 - "GET /api/settings HTTP/1.1" 200 OK
15:11:41 - openhands:INFO: listen_socket.py:38 - sio:connect: 8-NeQ0KpPN9SuSdhAAAL
15:11:41 - openhands:INFO: listen_socket.py:49 - Socket request for conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id 8-NeQ0KpPN9SuSdhAAAL
15:11:41 - openhands:INFO: listen_socket.py:74 - User None is allowed to connect to conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:11:41 - openhands:INFO: listen_socket.py:88 - Replaying event stream for conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id 8-NeQ0KpPN9SuSdhAAAL...
15:11:41 - openhands:INFO: listen_socket.py:116 - Finished replaying event stream for conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:11:41 - openhands:INFO: conversation_service.py:188 - Git provider scaffold: {}
15:11:41 - openhands:INFO: standalone_conversation_manager.py:128 - join_conversation:b61dc65f0c1b4a52aa5b596899bb9ee5:8-NeQ0KpPN9SuSdhAAAL
15:11:41 - openhands:INFO: standalone_conversation_manager.py:258 - maybe_start_agent_loop:b61dc65f0c1b4a52aa5b596899bb9ee5
15:11:41 - openhands:INFO: listen_socket.py:134 - Successfully joined conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id 8-NeQ0KpPN9SuSdhAAAL
INFO: 172.18.0.1:44094 - "WebSocket /socket.io/?latest_event_id=-1&conversation_id=b61dc65f0c1b4a52aa5b596899bb9ee5&providers_set=&session_api_key=null&EIO=4&transport=websocket" [accepted]
INFO: connection open
15:11:41 - openhands:INFO: listen_socket.py:38 - sio:connect: MdmcIGrXhfUs1w4_AAAN
15:11:41 - openhands:INFO: listen_socket.py:49 - Socket request for conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id MdmcIGrXhfUs1w4_AAAN
15:11:41 - openhands:INFO: listen_socket.py:74 - User None is allowed to connect to conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:11:41 - openhands:INFO: listen_socket.py:88 - Replaying event stream for conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id MdmcIGrXhfUs1w4_AAAN...
15:11:41 - openhands:INFO: listen_socket.py:116 - Finished replaying event stream for conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:11:41 - openhands:INFO: conversation_service.py:188 - Git provider scaffold: {}
15:11:41 - openhands:INFO: standalone_conversation_manager.py:128 - join_conversation:b61dc65f0c1b4a52aa5b596899bb9ee5:MdmcIGrXhfUs1w4_AAAN
15:11:41 - openhands:INFO: standalone_conversation_manager.py:258 - maybe_start_agent_loop:b61dc65f0c1b4a52aa5b596899bb9ee5
15:11:41 - openhands:INFO: listen_socket.py:134 - Successfully joined conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id MdmcIGrXhfUs1w4_AAAN
INFO: 172.18.0.1:44096 - "GET /api/conversations?limit=20 HTTP/1.1" 200 OK
15:11:46 - openhands:INFO: standalone_conversation_manager.py:375 - _close_session:d419c1f4b97d4096b55db493f7fabe45
15:11:46 - openhands:INFO: standalone_conversation_manager.py:383 - removing connections: []
15:11:46 - openhands:INFO: standalone_conversation_manager.py:397 - closing_session:d419c1f4b97d4096b55db493f7fabe45
15:11:46 - openhands:INFO: standalone_conversation_manager.py:399 - closed_session:d419c1f4b97d4096b55db493f7fabe45
INFO: 172.18.0.1:44096 - "DELETE /api/conversations/d419c1f4b97d4096b55db493f7fabe45 HTTP/1.1" 200 OK
INFO: 172.18.0.1:44096 - "GET /api/conversations?limit=20 HTTP/1.1" 200 OK
15:14:18 - openhands:INFO: listen_socket.py:157 - sio:disconnect:MdmcIGrXhfUs1w4_AAAN
15:14:18 - openhands:INFO: standalone_conversation_manager.py:344 - disconnect_from_session:MdmcIGrXhfUs1w4_AAAN:b61dc65f0c1b4a52aa5b596899bb9ee5
INFO: connection closed
INFO: 172.18.0.1:42698 - "GET /api/conversations?limit=20 HTTP/1.1" 200 OK
INFO: 172.18.0.1:42698 - "WebSocket /socket.io/?latest_event_id=-1&conversation_id=b61dc65f0c1b4a52aa5b596899bb9ee5&providers_set=&session_api_key=null&EIO=4&transport=websocket" [accepted]
INFO: connection open
INFO: 172.18.0.1:42714 - "GET /assets/notification-Cyeyy5ud.mp3 HTTP/1.1" 206 Partial Content
15:14:21 - openhands:INFO: listen_socket.py:38 - sio:connect: H9fDovW2l8X1oDWDAAAP
15:14:21 - openhands:INFO: listen_socket.py:49 - Socket request for conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id H9fDovW2l8X1oDWDAAAP
15:14:21 - openhands:INFO: listen_socket.py:74 - User None is allowed to connect to conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:14:21 - openhands:INFO: listen_socket.py:88 - Replaying event stream for conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id H9fDovW2l8X1oDWDAAAP...
15:14:21 - openhands:INFO: listen_socket.py:116 - Finished replaying event stream for conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:14:21 - openhands:INFO: conversation_service.py:188 - Git provider scaffold: {}
15:14:21 - openhands:INFO: standalone_conversation_manager.py:128 - join_conversation:b61dc65f0c1b4a52aa5b596899bb9ee5:H9fDovW2l8X1oDWDAAAP
15:14:21 - openhands:INFO: standalone_conversation_manager.py:258 - maybe_start_agent_loop:b61dc65f0c1b4a52aa5b596899bb9ee5
15:14:21 - openhands:INFO: listen_socket.py:134 - Successfully joined conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id H9fDovW2l8X1oDWDAAAP
INFO: 172.18.0.1:42714 - "GET /assets/notification-Cyeyy5ud.mp3 HTTP/1.1" 206 Partial Content
15:14:28 - openhands:INFO: listen_socket.py:157 - sio:disconnect:H9fDovW2l8X1oDWDAAAP
15:14:28 - openhands:INFO: standalone_conversation_manager.py:344 - disconnect_from_session:H9fDovW2l8X1oDWDAAAP:b61dc65f0c1b4a52aa5b596899bb9ee5
INFO: 172.18.0.1:42718 - "GET /api/options/models HTTP/1.1" 200 OK
INFO: connection closed
INFO: 172.18.0.1:42718 - "GET /api/options/agents HTTP/1.1" 200 OK
INFO: 172.18.0.1:42718 - "GET /api/options/security-analyzers HTTP/1.1" 200 OK
INFO: 172.18.0.1:58680 - "POST /api/settings HTTP/1.1" 200 OK
INFO: 172.18.0.1:58680 - "GET /api/settings HTTP/1.1" 200 OK
INFO: 172.18.0.1:58680 - "GET /api/conversations?limit=20 HTTP/1.1" 200 OK
INFO: 172.18.0.1:58680 - "WebSocket /socket.io/?latest_event_id=-1&conversation_id=b61dc65f0c1b4a52aa5b596899bb9ee5&providers_set=&session_api_key=null&EIO=4&transport=websocket" [accepted]
INFO: connection open
INFO: 172.18.0.1:58696 - "GET /assets/notification-Cyeyy5ud.mp3 HTTP/1.1" 206 Partial Content
15:14:38 - openhands:INFO: listen_socket.py:38 - sio:connect: ckrCSSHhGJ06KFwMAAAR
15:14:38 - openhands:INFO: listen_socket.py:49 - Socket request for conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id ckrCSSHhGJ06KFwMAAAR
15:14:38 - openhands:INFO: listen_socket.py:74 - User None is allowed to connect to conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:14:38 - openhands:INFO: listen_socket.py:88 - Replaying event stream for conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id ckrCSSHhGJ06KFwMAAAR...
15:14:38 - openhands:INFO: listen_socket.py:116 - Finished replaying event stream for conversation b61dc65f0c1b4a52aa5b596899bb9ee5
15:14:38 - openhands:INFO: conversation_service.py:188 - Git provider scaffold: {}
15:14:38 - openhands:INFO: standalone_conversation_manager.py:128 - join_conversation:b61dc65f0c1b4a52aa5b596899bb9ee5:ckrCSSHhGJ06KFwMAAAR
15:14:38 - openhands:INFO: standalone_conversation_manager.py:258 - maybe_start_agent_loop:b61dc65f0c1b4a52aa5b596899bb9ee5
15:14:38 - openhands:INFO: listen_socket.py:134 - Successfully joined conversation b61dc65f0c1b4a52aa5b596899bb9ee5 with connection_id ckrCSSHhGJ06KFwMAAAR
INFO: 172.18.0.1:58696 - "GET /assets/notification-Cyeyy5ud.mp3 HTTP/1.1" 206 Partial Content
My issue is resolved. I build my containers using docker-compose not docker run, and my config was incorrect.
My error, for anyone who may have the same issue double check their runtime configs, I was specifying a runtime that is now out of date.
`docker pull docker.all-hands.dev/all-hands-ai/runtime:0.47-nikolaik
docker run -it --rm --pull=always
-e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:0.47-nikolaik
-e LOG_ALL_EVENTS=true
-v /var/run/docker.sock:/var/run/docker.sock
-v ~/.openhands:/.openhands
-p 3000:3000
--add-host host.docker.internal:host-gateway
--name openhands-app
docker.all-hands.dev/all-hands-ai/openhands:0.47`
The official recommended startup method I used still has this ffmpeg error. How did you handle it?
@ZebraBeer
@aikefang the ffmpeg should be a warning and shouldn't fail the startup. Unless you're getting something different?
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for over 30 days with no activity.