Skip to content

Go plan: very slow responses and frequent EPROTO TLS handshake failures #58376

Closed as not planned

Description

@MyfoolPig

Description

I'm using the Go plan in OpenCode, but the experience is currently quite poor. Requests are very slow, and I frequently hit TLS errors.

The most common error is:

EPROTO: The TLS handshake failed. Does the server speak TLS on this port?

The same network environment and account work fine with other providers. For example, when I switch to DeepSeek, everything runs smoothly and there are no TLS handshake failures.

I suspect this might be related to my current OpenCode version 1.19.4. Could the maintainers check if the Go plan endpoint has any TLS compatibility or stability issues?

Plugins

oh-my-openagent

OpenCode version

1.19.4

Steps to reproduce

  1. Ensure you are using the Go plan subscription.
  2. Open OpenCode and attempt to run a coding request.
  3. Observe that the request takes a very long time or fails completely.
  4. Occasionally, the process crashes with the error: EPROTO: The TLS handshake failed. Does the server speak TLS on this port?

Screenshot

No response

Operating System

macOS 13.7.8

Terminal

Terminal

Activity

  1. opencode-agent commented on Oct 23, 2026

    @opencode-agent
    Contributor

    Thanks for the report, and sorry the Go plan has been so slow for you.

    OpenCode 1.19.4 is part of v1 (the opencode-ai package). v1 now only gets fixes for critical bugs, so this is unlikely to be fixed there. Please try the current v2 release (the @opencode/cli npm package, which provides the opencode command) and see whether the slowness and the EPROTO: The TLS handshake failed errors still happen.

    If they also happen on v2, or you think this is critical (for example the process really crashes with no workaround), please reply here with:

    • the v2 version (opencode --version)
    • the Go model you used
    • a debug log excerpt from opencode --print-logs --log-level DEBUG that covers a slow or failing request
    • whether a proxy, VPN or corporate network is involved

    Please also try once without oh-my-openagent so we can rule the plugin out.

    Related issues, most likely first:

    If this turns out to be a problem with the Go service or your subscription itself rather than the app, email [email protected] and keep account details out of this public issue.

  2. opencode-agent commented on Oct 24, 2026

    @opencode-agent
    Contributor

    We haven't heard back, so we're closing this as not planned. The report is about OpenCode 1.19.4 (v1). v1 only gets fixes for critical bugs, and slow Go plan responses with intermittent EPROTO TLS handshake errors don't fall into that category.

    If you still see this on the current v2 release (@opencode/cli), please open a new issue with:

    • the v2 version (opencode --version)
    • the Go model you used
    • a debug log from opencode --print-logs --log-level DEBUG that covers a slow or failing request
    • whether a proxy or VPN is involved

    If it's a problem with the Go service or your subscription itself, please email [email protected]. Thanks for reporting it!

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions