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 — socket connection was closed unexpectedly. From more information, pass verbose: true in the second argument to fetch · Issue #3511 · anomalyco/opencode

socket connection was closed unexpectedly. From more information, pass verbose: true in the second argument to fetch #3511

New issue
Copy link
New issue
Copy link
Closed
Closed
socket connection was closed unexpectedly. From more information, pass verbose: true in the second argument to fetch#3511
Copy link
Assignees
rekram1-node
Labels
bugSomething isn't working

Description

@jcubic
jcubic
opened on Oct 28, 2025
Issue body actions

Description

I got an error from MCP server (Context 7):

socket connection was closed unexpectedly. From more information, pass verbose: true in the second argument to fetch

NOTE: I just assume it's MCP, it may be an internal error of OpenCode or interaction with GitHub Copilot model that I'm using.

OpenCode version

0.15.20

Steps to reproduce

You can try to create MCP that will close unexpectedly.

Screenshot and/or share link

Image

Operating System

Fedora 42

Terminal

Xfce Terminal (based on VTE)

Activity

  1. jcubic
    added
    bugSomething isn't working
    on Oct 28, 2025
  2. github-actions commented on Oct 28, 2025

    @github-actions
    github-actionsBot
    on Oct 28, 2025 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • MCP client failing makes opencode hang. #3273: MCP client failing makes opencode hang - Similar issue where MCP server failures cause opencode to become non-functional
    • Odd Session Blocking MCP Bug #3298: Odd Session Blocking MCP Bug - Sessions hang at launch when MCP server has issues, similar to TUI breaking behavior
    • [mcp] Can't submit a message using Anthropic Sonnet 4.5 and MCP tools due to "String should match pattern" #3354: [mcp] Can't submit a message using Anthropic Sonnet 4.5 and MCP tools - MCP-related errors preventing message submission
    • Slack MCP server request fails with AI_APICallError: tools.11.custom.name: String should match pattern '^[a-zA-Z0-9_-]{1,128}$' #3245: Slack MCP server request fails with similar error patterns - Another MCP server error causing tool failures

    Feel free to ignore if none of these address your specific case.

  3. jcubic
    changed the title [-]MCP error break OpenCode TUI[/-] [+]socket connection was closed unexpectedly. From more information, pass verbose: true in the second argument to fetch[/+] on Oct 28, 2025
  4. rekram1-node commented on Oct 28, 2025

    @rekram1-node
    rekram1-node
    on Oct 28, 2025
    Member
    More actions

    Oof it isn't supposed to pollute the chat like that, I think I wrote a fix for it that will be in next release

    As for the error that happens when the upstream provider is dropping your connection (p sure)

  5. rekram1-node
    self-assigned this
    on Oct 28, 2025
  6. thdxr commented on Mar 25, 2026

    @thdxr
    thdxr
    on Mar 25, 2026
    Member
    More actions

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

  7. thdxr
    closed this as completedon Mar 25, 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

bugSomething isn't working

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.