Skip to content

Open an opencode url via basic auth will show error stack #15991

Closed as not planned

Description

@bryanzhou

Description

Open an opencode url via basic auth like http://username:[email protected]:59884 will show this stack trace

Error: Layout context must be used within a context provider
at use (http://10.217.11.165:59884/assets/index-AvKpSioI.js:1947:5895)
at e_ (http://10.217.11.165:59884/assets/session-QKulkwPD.js:22:63845)
at http://10.217.11.165:59884/assets/index-AvKpSioI.js:2:14980
at Xe (http://10.217.11.165:59884/assets/index-AvKpSioI.js:2:4067)
at Object.fn (http://10.217.11.165:59884/assets/index-AvKpSioI.js:2:14950)
at gk (http://10.217.11.165:59884/assets/index-AvKpSioI.js:2:6835)
at Al (http://10.217.11.165:59884/assets/index-AvKpSioI.js:2:6592)
at Object.b6 (http://10.217.11.165:59884/assets/index-AvKpSioI.js:2:5606)
at gh (http://10.217.11.165:59884/assets/index-AvKpSioI.js:2:10657)
at gh (http://10.217.11.165:59884/assets/index-AvKpSioI.js:2:10654)

Plugins

No response

OpenCode version

1.2.16

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

macos sonoma 14.2.1

Terminal

No response

Activity

  1. github-actions commented on Mar 4, 2026

    @github-actions
    Contributor

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

    Please review those issues and consider whether this is the same underlying problem. If so, it may be better to continue the discussion there.

  2. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  3. github-actions commented on Jul 5, 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