GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — kimi-k3 sessions hang indefinitely with no visible indication · Issue #1 · axisrow/opencode

kimi-k3 sessions hang indefinitely with no visible indication #1

New issue
Copy link
New issue
Copy link
Open
Open
kimi-k3 sessions hang indefinitely with no visible indication#1
Copy link

Description

@axisrow
axisrow
opened on Aug 1, 2026
Issue body actions

Summary

kimi-k3 sessions hang forever with no error and no visible indication in the TUI. The turn's status stays "thinking" indefinitely; only inspecting the process (lsof, log file) shows the stream actually died.

Environment

  • macOS (Darwin 25.5.0, arm64)
  • Local system proxy: HTTPS_PROXY=http://127.0.0.1:8118 (all outbound traffic routed through it)
  • System IPv6 has no working transit to some hosts (confirmed with curl -6), while others resolve fine over IPv6

What's confirmed

  1. The stream genuinely stalls. Log shows stream providerID=opencode modelID=kimi-k3 ... small=false agent=build mode=primary, then nothing — no further token deltas, no error, no completion — for 4+ minutes until the process was killed manually. lsof on the hung process showed established TCP sockets to opencode.ai with txq=0/rxq=0 (nothing being sent or received).

  2. No timeout bounds the connect/send phase. In provider.ts, the fetch call is made with timeout: false (working around Respect timeout passed to fetch oven-sh/bun#16682). chunkTimeout/wrapSSE only guards reading a response body that has already started arriving — it does nothing if the connection never completes or the request body is never fully sent. A stalled connect or a stalled write can block forever.

  3. IPv6 reachability is inconsistent on this network. curl -6 to some hosts fails outright (conn=0.000000s, timeout), to others it succeeds. Whether this is the actual trigger for a given kimi-k3 hang was not conclusively isolated — Bun's own fetch() was observed picking a working IPv4 route on its own in repeated local tests, so an IPv6/Happy-Eyeballs theory alone does not fully explain the hangs.

  4. The TUI gives no signal that anything is wrong. The "thinking" status/spinner is identical whether the model is genuinely processing or the stream has silently died. There is no elapsed-time counter and no token counter shown while a turn is in progress — both are only computed after the turn completes (time.completed), so a hung turn produces no observable difference from a slow one. This is the practical blocker: without any live signal, a stalled stream and a long-running one are indistinguishable from the UI alone, and the only way to tell them apart is external process/network inspection.

Impact

A stalled kimi-k3 turn requires killing the process by hand; there is no way to detect it from within the TUI itself.

Possibly related upstream

  • OMO Harness Stream Consumer Deadlock: LLM stream hangs indefinitely anomalyco/opencode#31122 — "LLM stream hangs indefinitely" (Kimi, stream stalls, no timeout) — fixed by PR fix: time out non-SSE streams anomalyco/opencode#39516 (draft, not merged)
  • SSE stream silently dropped mid-response hangs session/subagents forever — chunkTimeout has no default on the openai path anomalyco/opencode#37580 — stream silently dropped mid-response — fixed by PR fix(provider): recover stalled model streams anomalyco/opencode#40010 (open, no review)
  • Silent SSE terminations: EOF without a finish frame completes the turn, chunkTimeout misses stalled streams, provider error bodies are discarded anomalyco/opencode#39968 — fixed by PR fix(opencode): make long-lived provider streams robust to silent SSE terminations anomalyco/opencode#39970 (open, no review)

None of these are merged upstream yet. This issue is tracking the local investigation and the missing-indication gap specifically (see #2 in this fork for the live-timer fix).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.