Skip to content

[WEB-UI] No new session can be started #12627

Closed

Description

@LeonMueller-OneAndOnly

Description

When trying to open a new session and sending the first message, the message can't be submitted.

Instead a lot of new session are created, all with a new placeholder name. In none of them the typed message is sent and the text input is also not cleared.

These newly created session are not even created in the same workspace / directory path.

I attach a screen recoding of me trying to submit a prompt in a new session and then a screenshot of the other workspace / directory where these empty placeholder session are created.

The new session are created in the base directory the server is running in.

In exisiting sessions new messages can be send without a problem.

Additonal debugging

This only happens when the root workspace ~ is opened as a directory in the webUI.
Correction: This also happens when this is not the case, this also happens often when this is not the case.

The server is also started from that directory.
Correction: This also happens when starting the server in a specific project folder.

So there exists a workaround, the webUI needs to be reloaded once after removing/closing this root directory for it to work.
Correction: Not true, no reliable workaround found yet

Plugins

none

OpenCode version

1.1.53

Steps to reproduce

  1. Start opencode server opencode serve --hostname localhost --port 4096

  2. Open WebUI

  3. Open new session

  4. Try to send first prompt

Screenshot and/or share link

https://github.com/user-attachments/assets/1a423c8e-19a2-46c6-80c4-08dca8ce6797
Image

Operating System

macOS

Terminal

Browser - Firefox / Zen and also iPhone Safari

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. ccjeaty commented on Feb 8, 2026

    @ccjeaty

    same here.

  3. getjake commented on Feb 9, 2026

    @getjake

    Same here.

  4. shengliangd commented on Feb 9, 2026

    @shengliangd

    Same here.

  5. mentoster commented on Feb 9, 2026

    @mentoster

    I have //session error in web console, will provide more info at home

  6. mentoster commented on Feb 9, 2026

    @mentoster

    Yea, thats #12840

  7. mykcryptodev commented on Feb 10, 2026

    @mykcryptodev

    any known workarounds?

  8. mentoster commented on Feb 10, 2026

    @mentoster

    Sometimes reloading helps, but it's unpredictable. I'll wait for a hotfix and then immediately update the opencode

  9. gareys commented on Feb 10, 2026

    @gareys

    Opening a session in another project, then going back to the new session where you couldn't submit usually fixes the problem for me.

  10. ylxdzsw commented on Feb 11, 2026

    @ylxdzsw

    1.1.56 fixed it for me

  11. MaximilianB commented on Aug 18, 2026

    @MaximilianB

    I can reproduce this on OpenCode 1.18.18 with an iPhone.

    On iOS Safari and Chrome, the “+” button is visible but tapping it does nothing. No POST /session request is sent. The server is healthy and session creation works through the API.

    Opening a session directly via its URL works, and new sessions can then be created from that page. The issue appears limited to the initial mobile Web UI state.

    Environment: iPhone, iOS, Safari and Chrome iOS, OpenCode 1.18.18, behind Cloudflare Access and Tunnel.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates 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