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
Daemon: agentctl launch fails with 'Connection closed before response received' #186
codeblock
$ agentctl launch opencode --callback-session ... --callback-agent kindo --cwd -p ...
Connection closed before response received
codeblock
Daemon state:
codeblock
$ agentctl daemon status
Daemon running (PID )
Uptime: stable now, but was restarting rapidly earlier
Active sessions: 0
Active locks: 83
Active fuses: 6
codeblock
codeblock
$ agentctl list -a
...shows 2 running opencode sessions...
codeblock
Observations:
Launch consistently fails with connection closed before any response.
Daemon status reports
codeblockActive sessions: 0codeblock while
codeblocklist -acodeblock shows running sessions — suggests daemon lost track of existing sessions after a restart.
codeblockActive locks: 83codeblock seems high; possibly leaked locks from prior crashed sessions preventing new launches.
4. Daemon was observed restarting repeatedly (PID changing every few seconds) before stabilizing.
Impact:
New coding-agent launches are blocked. Existing running sessions (orphaned from prior daemon lifetimes) continue executing but are no longer supervised.
Repro:
Attempted multiple launches over ~10-minute window; all failed identically.
Activity