Skip to content

[Upstream #234] Bug: Server fails to start with "No credentials configured" error despite successful OpenCode Go auth #171

@quangdang46

Description

@quangdang46

Mirrored from upstream 1jehuang/jcodeIssue #234 by @wtry
Original state: open
Created: 2026-05-19T23:04:12Z · Updated: 2026-05-19T23:30:33Z
This issue is an auto-mirrored copy. Comments and edits here are local to quangdang46/jcode — do not expect them to propagate upstream.


Image

Recommended if you have a subscription: Anthropic/Claude, OpenAI.

Skip: press Enter, or type skip.

Enter 1-38, provider name, or Enter=skip: 8
Setting up OpenCode Go...
See setup details: https://opencode.ai/docs/providers#opencode-go

Endpoint: https://opencode.ai/zen/go/v1
API key env variable: OPENCODE_GO_API_KEY

Paste your OpenCode Go API key:

Successfully saved OpenCode Go API key!
Stored at /Users/lan/Library/Application Support/jcode/opencode-go.env
Default model hint: kimi-k2.5

Validating OpenCode Go login with live auth/runtime checks...
=== auth-test: opencode-go ===
credential paths:

  • /Users/lan/Library/Application Support/jcode/opencode-go.env
    ✓ credential_probe — OpenCode Go auth status is available (API key (OPENCODE_GO_API_KEY)).
    ✓ refresh_probe — Skipped: provider does not expose a dedicated refresh probe in jcode today.
    ✓ provider_smoke — Provider returned AUTH_TEST_OK.
    ✓ tool_smoke — Tool-enabled provider request returned AUTH_TEST_OK after one validated real Jcode bash tool call, successful registry execution, and tool-result followup.
    smoke output: AUTH_TEST_OK
    tool smoke output: AUTH_TEST_OK
    result: PASS

Starting server...
Error: Server exited before signalling ready (exit status: 1):
Error: No credentials configured. Run 'jcode login' or set ANTHROPIC_API_KEY to authenticate.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions