Skip to content

Web server hangs on GET / in git repos on v1.1.53 #12565

Closed

Description

@robinlyu

Bug Description

opencode web starts and listens, but the web UI never loads when started from a git repo directory.

The request GET / is received and marked status=started, then hangs indefinitely (no response body).

Environment

  • OpenCode: 1.1.53
  • OS: Linux (remote server)
  • Command: opencode web --hostname 0.0.0.0 --port 9998 --log-level DEBUG

Repro

  1. Run opencode web --hostname 0.0.0.0 --port 9998 --log-level DEBUG in a git repo (e.g. /home/rob/Projects/smarketing).
  2. Open http://<host>:9998.
  3. Browser hangs; curl http://127.0.0.1:9998/ also hangs.

Control Test

If I run from /tmp (non-git dir), web responds normally with HTTP/1.1 200 OK.

Relevant Logs

In failing cases, logs consistently stop after file watcher/VCS init and never show request completion:

  • service=server method=GET path=/ request
  • service=server status=started method=GET path=/ request
  • service=file.watcher platform=linux backend=inotify watcher backend
  • service=vcs branch=... initialized
  • service=bus type=file.watcher.updated subscribing

No corresponding status=completed for GET /.

Log files:

  • /home/rob/.local/share/opencode/log/2026-02-07T035949.log (fails in smarketing repo)
  • /home/rob/.local/share/opencode/log/2026-02-07T040116.log (fails in coding-agent-settings repo)
  • /home/rob/.local/share/opencode/log/2026-02-07T035917.log (works from /tmp, includes completed GET /)

Notes

This started after moving to 1.1.53. I am downgrading as workaround.

Activity

  1. github-actions commented on Feb 7, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. github-actions commented on Apr 9, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

webRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions