Skip to content

TUI crashes immediately with {"data": {},"errors": [],"success": false} after upgrade to v1.14.42 (Distrobox/container environment) #26559

Description

@knas4ever

Description

Description:
After auto-upgrading from a previous version to v1.14.42, the TUI fails to start and immediately exits with:
json{
"data": {},
"errors": [],
"success": false
}
Only one log line is produced before the crash:
INFO 2026-05-09T18:28:24 +148ms service=default version=1.14.42 args=["--print-logs"] process_role=main run_id=... opencode
Environment:

OS: Bazzite (Fedora-based, immutable) with Distrobox container (Ubuntu)
Terminal: Ptyxis (GNOME), TERM=xterm-256color, COLORTERM=truecolor
opencode runs inside a Distrobox container (ai-box) accessed via podman exec
Node.js: v18.19.1
LM Studio local provider via opencode-lmstudio@latest plugin

What works:

opencode run "message" works perfectly — server starts, model responds, tools work
opencode web works — web interface accessible on port 4096
opencode models lmstudio works
Previous version of opencode worked fine in the same environment today before the auto-upgrade at 18:35 local time

What doesn't work:

opencode (TUI mode) — crashes immediately
The crash happens regardless of --port, TERM=xterm, plugins disabled (--pure), or minimal config

Root cause hypothesis:
The TUI client makes a GET /config request to the server on startup and receives HTTP 400. This causes an immediate crash. The same config endpoint works fine in opencode web. This may be a regression in how the TUI initializes or handles the config response in v1.14.42.
Relevant log excerpt from opencode run (which works) showing the 400:
INFO service=default http.method=GET http.url=/config http.status=400 logSpan.http.span.2=2ms Sent HTTP response
Config:
json{
"$schema": "https://opencode.ai/config.json",
"plugin": [
"opencode-lmstudio@latest",
"superpowers@git+https://github.com/obra/superpowers.git"
],
"autoshare": false,
"model": "lmstudio/qwen3.6-27b",
"provider": {
"lmstudio": {
"npm": "@ai-sdk/openai-compatible",
"name": "LM Studio (local)",
"options": {
"baseURL": "http://127.0.0.1:1234/v1"
},
"models": {
"qwen3.6-27b": {
"limit": {
"context": 200000,
"output": 4096
}
}
}
}
}
}
Workaround: opencode web or opencode run "message" until fixed.

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

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