You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
session/new returns "Internal error" on Windows via ACP #17285
Have this issue as well, when using acpx --format json opencode exec "text" seeing these errors in ~/.local/share/opencode/logs/*.log
INFO 2026-03-14T12:12:52 +3ms service=config path=/var/lib/openclaw/.config/opencode/config.json loading
INFO 2026-03-14T12:12:52 +0ms service=config path=/var/lib/openclaw/.config/opencode/opencode.json loading
INFO 2026-03-14T12:12:52 +7ms service=config path=/var/lib/openclaw/.config/opencode/opencode.jsonc loading
ERROR 2026-03-14T12:12:52 +152ms service=server error= failed
ERROR 2026-03-14T12:12:52 +4ms service=server error= failed
ERROR 2026-03-14T12:12:52 +1ms service=acp-agent error=Unauthorized failed to load user config for default model
ERROR 2026-03-14T12:12:52 +0ms service=server error= failed
ERROR 2026-03-14T12:12:52 +0ms service=acp-agent error=Unauthorized failed to list providers for default model
ERROR 2026-03-14T12:12:52 +1ms service=server error= failed
Even though the ~/.config/opencode/opencode.json file is configured with a provider and model, and a default model, and just using opencode on the cli works and uses the configured model.
For me the problem was having OPENCODE_SERVER_PASSWORD in the environment. Was causing this problem, and removing it resolved it.
Activity
github-actions commentedon Mar 13, 2026
This issue might be a duplicate of existing issues. Please check:
session/newreturns "Internal error" via ACP integration (JetBrains, different OS but same root symptom)kesor commentedon Mar 14, 2026
Have this issue as well, when using
acpx --format json opencode exec "text"seeing these errors in~/.local/share/opencode/logs/*.logEven though the
~/.config/opencode/opencode.jsonfile is configured with a provider and model, and a default model, and just usingopencodeon the cli works and uses the configured model.For me the problem was having
OPENCODE_SERVER_PASSWORDin the environment. Was causing this problem, and removing it resolved it.