Skip to content

Streaming request ends with "Streaming request exited with code 1" #485

Description

@cagechi

Environment

  • OS: Windows
  • Neovim: 0.12.4
  • opencode.nvim: e708ba3
  • OpenCode CLI: 1.17.18

Description

Immediately after opening opencode.nvim, the following warning is displayed:

[opencode.nvim] Streaming request exited with code 1

The warning appears before any user prompt is submitted.

After adding debug output to server_job.lua, I observed:

EXIT CODE 1
EXIT SIGNAL 15
STDERR ERR= nil
STDERR DATA= nil
STDOUT nil
STDERR nil

While investigating, I found that the stream process exits with signal = 15 and the warning is emitted from the stream exit handler.

Additional Information

  • :checkhealth opencode passes successfully.
  • opencode.exe is available and works correctly from both PowerShell and Neovim.
  • curl.exe is available.
  • OpenCode server starts successfully.
  • The warning appears before any prompt is submitted.
  • Debugging shows the stream process exits with signal = 15.

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

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions