Skip to content

Title: Opencode Go — constant disconnects, 6–8 retries per session, unusable for 2 weeks #36857

Closed as duplicate

Description

@CBOfeng

Description

Title: Opencode Go — constant disconnects, 6–8 retries per session, unusable for 2 weeks
Body:

I've been subscribed to Opencode Go for about half a month, and I've only used 20% of my quota — not because I don't need it, but because I literally can't use it.

Every single conversation disconnects. It takes 6 to 8 retries before a message goes through. Most of my time is spent watching "reconnecting" instead of actually coding. I'm paying for time and quota, but all the time is wasted on this bug.

This is a paid service. It should be at least usable. Can you please look into this or provide some explanation?

Environment:

Windows 11
Opencode Go subscription
Happens consistently, every session

The bug screen recording file I uploaded.:https://github.com/CBOfeng/video/blob/main/%E5%BD%95%E5%88%B6_2026_07_14_21_33_48_505.mp4

Activity

  1. CBOfeng commented on Jul 14, 2026

    @CBOfeng
    Author
  2. github-actions commented on Jul 14, 2026

    @github-actions
    Contributor

    Thanks for updating the issue! It now includes a clear description, environment details, and a screen recording. We've removed the compliance flag and will look into the disconnection issue.

  3. CBOfeng commented on Jul 14, 2026

    @CBOfeng
    Author

    The connection is never completely down — it always recovers after retries. But each and every message requires 6 to 8 retries on average before it goes through.

    Here's what I know:

    OpenCode Desktop latest version (auto-updated)
    Windows 11
    Error: "Cannot connect to API: Connect Timeout Error (opencode.ai:443)" requiring 4-6 retries per message

  4. alosslessdev commented on Jul 14, 2026

    @alosslessdev

    I can't say it has happened to me. Maybe it's an ISP blocking issue? what happens if you use a VPN? Are you behind the great firewall? This sounds like how the great firewall works

  5. Chzxxuanzheng commented on Aug 1, 2026

    @Chzxxuanzheng

    I'm behind the great firewall, but I use a proxy that can visit google smoothly. I also meet the issue.

    56258 │ timestamp=2026-08-01T03:15:51.110Z level=ERROR run=7ea1aa3b message="stream error
          │ " providerID=opencode-go modelID=deepseek-v4-flash session.id=ses_044c5cda1ffeX7U
          │ 8njkIrfGuF1 small=false agent=plan mode=primary error.error="AI_APICallError: Can
          │ not connect to API: The socket connection was closed unexpectedly. For more infor
          │ mation, pass `verbose: true` in the second argument to fetch() (cause: Error: The
          │  socket connection was closed unexpectedly. For more information, pass `verbose:
          │ true` in the second argument to fetch())" 
    
  6. neriousy commented on Oct 1, 2026

    @neriousy
    Member

    Closing as a duplicate of #36889, which tracks frequent disconnects and outages on the OpenCode Go endpoint (zen/go/v1). Please add the times, region/network setup and error messages there.

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

Metadata

Metadata

Assignees

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