Skip to content

Not usable #60739

Closed as duplicate
Closed as duplicate

Description

@FlyingMansion701

Description

Opencode was working perfectly fine before and now suddenly it cannot be used. I don't think I did anything other than type "opencode" in the terminal and type my message. Error is in the screenshot.

Plugins

None

OpenCode version

2.2.4

Steps to reproduce

  1. Open terminal
  2. Type "opencode"
  3. Type literally anything
  4. It errors

Screenshot

Image

Operating System

Linux Mint

Terminal

Default Linux Mint Terminal

Activity

  1. opencodejr commented on Oct 30, 2026

    @opencodejr
    Contributor

    Thanks for the report! To work out what's going wrong, could you share:

    1. The error message as text: please copy and paste it here. It's hard for us to search for an error that's only in a screenshot.
    2. The provider and model you were using (for example a free OpenCode model, OpenCode Go, Anthropic or OpenAI), and whether you updated OpenCode just before it stopped working.
    3. If you can, the last lines of ~/.local/share/opencode/log/opencode.log from around the failure. Please remove anything sensitive first.

    Something you could try in the meantime: run opencode service stop, then start opencode again. That fixed a similar problem after the 2.2.4 update for another user.

    You can reply here with the details, or edit the issue. If you edit it, please also leave a comment saying you've updated it, so we know you're done.

    These existing issues may be related, ordered from most to least likely. Please check whether one of them already covers your problem:

  2. VariableVince commented on Oct 30, 2026

    @VariableVince

    @opencodejr it's the same error that's being reported here as well: #60742 (comment) and here #60700

  3. FlyingMansion701 commented on Oct 31, 2026

    @FlyingMansion701
    Author

    @opencodejr

    1. The error message as text: ECONNRESET: The socket connection was closed unexpectedly.
    2. The provider and model: Provider is ollama model is qwen3.6:latest
    3. ~/.local/share/opencode/log/opencode.log: opencode.log

    I don't know exactly what in the log file to put so i just put a download link for it

  4. opencodejr commented on Nov 2, 2026

    @opencodejr
    Contributor

    We haven't heard back, so I'm closing this for now. Without the error message as text and the provider and model you were using, we couldn't work out what was failing; we couldn't read the error from the screenshot.

    If it's still happening, please reply here with the error text and those details (and the last lines of ~/.local/share/opencode/log/opencode.log if you can), and we'll take another look. You can also try opencode service stop, then start opencode again, or check whether #60724 or #60667 matches what you're seeing. Thanks!

  5. neriousy commented on Nov 4, 2026

    @neriousy
    Member

    Thanks for the report! This ECONNRESET: The socket connection was closed unexpectedly error is tracked in #60399, which covers the cause (networks dropping the TLS handshake) and has workarounds. Please follow that issue for updates and add your details there if the workarounds don't help.

    Closing as a duplicate of #60399.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions