Skip to content

[Bug]: Startup error when specifying WebSocket URL in Docker deployment #12859

@workforjj

Description

@workforjj

Is there an existing issue for the same bug?

  • I have searched existing issues and this is not a duplicate.

Bug Description

Startup script below:
sudo docker run -it -d -p 3001:3000 -v /var/run/docker.sock:/var/run/docker.sock -v ~/.openhands:/.openhands --add-host host.docker.internal:host-gateway -e LOG_ALL_EVENTS=true -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.openhands.dev/openhands/runtime:595d1a0-nikolaik -e SANDBOX_STARTUP_GRACE_SECONDS=120 -e SANDBOX_CONTAINER_URL_PATTERN="https://******.com" --name openhands-app-595d1a0 docker.openhands.dev/openhands/openhands:595d1a0

Screenshot of the error and related logs :

Image

openhands-v2.log

Expected Behavior

No response

Actual Behavior

No response

Steps to Reproduce

No response

OpenHands Installation Method

CLI (uv tool install)

If you selected "Other", please specify

No response

OpenHands Version

No response

Version Confirmation

  • I have confirmed this bug exists on the LATEST version of OpenHands

Model Name

No response

Operating System

None

Browser (if using web UI)

No response

Logs and Error Messages

No response

Screenshots and Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions