OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

[Bug]: In runtime containe: raise exc.LibTmuxException(proc.stderr) libtmux.exc.LibTmuxException: ['no suitable socket path']

Open zeus-cht opened this issue 7 months ago • 0 comments

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.all-hands.dev/all-hands-ai/runtime:0.29-nikolaik start fail INFO: Started server process [9] INFO: Waiting for application startup. 11:56:41 - openhands:INFO: action_execution_server.py:177 - No max memory limit set, using all available system memory ERROR: Traceback (most recent call last): File "/openhands/poetry/openhands-ai-5O4_aCHf-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 693, in lifespan async with self.lifespan_context(app) as maybe_state: ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/openhands/micromamba/envs/openhands/lib/python3.12/contextlib.py", line 210, in aenter return await anext(self.gen) ^^^^^^^^^^^^^^^^^^^^^ File "/openhands/code/openhands/runtime/action_execution_server.py", line 553, in lifespan await client.ainit() File "/openhands/code/openhands/runtime/action_execution_server.py", line 232, in ainit self.bash_session.initialize() File "/openhands/code/openhands/runtime/utils/bash.py", line 204, in initialize self.session = self.server.new_session( ^^^^^^^^^^^^^^^^^^^^^^^^ File "/openhands/poetry/openhands-ai-5O4_aCHf-py3.12/lib/python3.12/site-packages/libtmux/server.py", line 517, in new_session raise exc.LibTmuxException(proc.stderr) libtmux.exc.LibTmuxException: ['no suitable socket path']

ERROR: Application startup failed. Exiting. Exception ignored in: <function BashSession.del at 0xfffb9e8ecd60> Traceback (most recent call last): File "/openhands/code/openhands/runtime/utils/bash.py", line 246, in del File "/openhands/code/openhands/runtime/utils/bash.py", line 261, in close AttributeError: 'BashSession' object has no attribute '_closed'

OpenHands Installation

Docker command in README

OpenHands Version

0.29/0.30/0.39

Operating System

docker

Logs, Errors, Screenshots, and Additional Context

No response

zeus-cht avatar May 26 '25 12:05 zeus-cht