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 — ECONNRESET: The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch() · Issue #53829 · anomalyco/opencode

ECONNRESET: The socket connection was closed unexpectedly. For more information, pass verbose: true in the second argument to fetch() #53829

New issue
Copy link
New issue
Copy link
Closed
Closed
ECONNRESET: The socket connection was closed unexpectedly. For more information, pass verbose: true in the second argument to fetch()#53829
Copy link
Assignees
rekram1-node

Description

@shadyuwugurl
shadyuwugurl
opened on Oct 8, 2026
Issue body actions

Description

dunno what this means

ive flushed my dns cache

pinned it to ipv4 pinned it to ipv6

deleted a few things

also bricked most my plugins

only happens on 1 sessions

Plugins

No response

OpenCode version

v2.0.24

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macis 27

Terminal

opencode desktop gui

Activity

  1. opencode-agent commented on Oct 8, 2026

    @opencode-agent
    opencode-agentBot
    on Oct 8, 2026 – with OpenCode Agent
    Contributor
    More actions

    Thanks for the report! To look into this we need a bit more detail:

    1. Provider and model used in the affected session (e.g. OpenCode Zen/Go, Anthropic, OpenAI, or a custom/OpenAI-compatible endpoint, plus any proxy or VPN in between).
    2. When the error appears: on every message in that session, right after a specific action (reading files, a tool call, an MCP server), or only once the session got long? Does a new session with the same model and project work?
    3. About how large is the affected session (number of messages, or the context usage shown in the app)?
    4. Logs from around the time of the error, if you can get them (on macOS: ~/.local/share/opencode/log/), or a screenshot of the error in the app.

    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 issues might be related, ordered from most to least likely to be relevant:

    • When connecting to an independently deployed model, some projects will continue to report ECONNRESET errors even for new sessions #46088: ECONNRESET that keeps happening in one project/session once files are read into context (custom model)
    • ECONNRESET when using Custom Provider: socket connection closed unexpectedly and custom server not detected correctly #51537: ECONNRESET with a custom OpenAI-compatible provider after a few turns
    • OpenCode Go: "socket connection was closed unexpectedly" / "unknown certificate verification error" on all models #42479: "socket connection was closed unexpectedly" with OpenCode Go models
    • ECONNRESET: #53176: same error message, closed because it lacked details
  2. opencode-agent
    added
    triaging
    on Oct 8, 2026
  3. github-actions
    assigned
    rekram1-node
    on Oct 8, 2026
  4. shadyuwugurl commented on Oct 8, 2026

    @shadyuwugurl
    shadyuwugurl
    on Oct 8, 2026
    Author
    More actions

    1
    opencode zen
    muse spark 1.3

    2
    the last message of specific session
    can't get past it
    tried different models and providers and thinking types

    3
    relatively large
    still in context
    about 100 messages
    at 400k tokens[

    (tried to upload file)

    ](url)

    its 30mb

    tried different log (original)

    app error

    Image Image Image Image Image Image

    attached screen shots

    Reacted by Ash Bryant
  5. opencode-agent
    removed
    triaging
    on Oct 8, 2026
  6. opencode-agent commented on Oct 8, 2026

    @opencode-agent
    opencode-agentBot
    on Oct 8, 2026 – with OpenCode Agent
    Contributor
    More actions

    Thanks for the details and screenshots! This one is hard to reproduce without a real provider and your session. The connection gets reset while the request for that one long session (about 100 messages, about 400k tokens) is being sent, and it happens no matter which provider or model you pick. That suggests the size or content of the session is the problem, not your network. Our test environment uses a simulated model, so it can't trigger this, and a maintainer with provider access will need to look into it.

    Things that would help, if you can:

    • An export of the affected session (e.g. opencode export <sessionID> from the CLI). Remove anything private first. If it's too big to attach, a gist or a zipped file works, or let us know roughly how big it is.
    • Whether the session contains any very large attachments or tool outputs (big files, images, long command output).

    Two things that might get you going again: try compacting/summarizing the session (/compact), or start a new session and paste in a short summary of where you were. Related reports: #46088 and #51537 (ECONNRESET once a session's requests get large).

  7. shadyuwugurl commented on Oct 8, 2026

    @shadyuwugurl
    shadyuwugurl
    on Oct 8, 2026
    Author
    More actions

    if it also helps

    most my plugins are also bugged as of this

    I fixed it

    by going back a few messages

    and forking it

    and then hitting compress

    it uses a lot of images and tool calls

  8. neriousy commented on Oct 20, 2026

    @neriousy
    neriousy
    on Oct 20, 2026
    Member
    More actions

    Thanks for following up! You confirmed that going back a few messages, forking the session, and compacting it got you past the ECONNRESET error in that image- and tool-heavy conversation. We're closing this as resolved per your update; please open a new issue if it happens again.

  9. neriousy
    closed this as completedon Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @rekram1-node
    rekram1-node

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 01402792 — 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.