Skip to content

Terminal Failure & Authentication Loop on Mobile #18189

Closed as not planned
Closed as not planned

Description

@tsingyuec

Description

Issue Report: Terminal Failure & Authentication Loop on Mobile

Summary

When accessing the OpenCode Web frontend, the main interface loads and authenticates correctly. However, clicking the "Terminal" (终端) button triggers a dynamic module fetch error. On mobile devices (iOS/Android), this manifests as an infinite login prompt loop.

Environment

  • Service: OpenCode Web
  • Access URL: http://127.0.0.1:4096
  • Component: Ghostty-web / Terminal Emulator
  • Devices Tested: * Desktop: Terminal fails to open with error popups.
    • Mobile (Phone/Tablet): Continuous login prompts.

Steps to Reproduce

  1. Log in to the OpenCode Web dashboard.
  2. Navigate to the right top panel and click the "Terminal" tab.
  3. Observe the error notifications in the bottom right corner.
  4. (Mobile only) Attempt to access the page and notice the repeated authentication requests.

Error Details

The frontend reports the following error multiple times:

连接已丢失 (Connection Lost)
Failed to fetch dynamically imported module: http://127.0.0.1:4096/assets/ghostty-web-D2FbONZS.js

Plugins

no

OpenCode version

1.2.27

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

Linux lavm-9asstsxehg 5.15.0-60-generic #66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Terminal

bash

Activity

  1. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  2. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 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

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions