Skip to content

Error: Connection reset by server #12405

Closed as not planned
Closed as not planned

Description

@LIFue

Description

Environment: windows10, proxy to Internet,opencode client。

I add ZHIPU GLM4.7 model, opened my local project. It occured error when i try to run init command.

Image

Plugins

No response

OpenCode version

1.1.53

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. added
    bugSomething isn't working
    on Feb 6, 2026
  2. github-actions commented on Feb 6, 2026

    @github-actions
    Contributor

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

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

  3. CodeByPeete commented on Feb 6, 2026

    @CodeByPeete

    I get this when writing files with copilot/opus-4.6

  4. sunerpy commented on Feb 10, 2026

    @sunerpy

    I get this when writing files with copilot/opus-4.6

    same for me...

  5. slxr925 commented on Feb 11, 2026

    @slxr925

    我在用copilot/opus-4.6写文件时遇到这个问题

    我也是,有方法解决吗?

  6. slxr925 commented on Feb 11, 2026

    @slxr925

    我在用copilot/opus-4.6写文件时遇到这个问题

    我也是......

    我也是,有方法解决吗

  7. sunerpy commented on Feb 11, 2026

    @sunerpy

    我在用copilot/opus-4.6写文件时遇到这个问题

    我也是......

    我也是,有方法解决吗

    你是有经过ALB或者其他中转吗 我是在aws上做了中转 发现是ALB超时设置的问题 将ALB侧的超时设置为300s token太多的话有时候写大文件耗时较长会导致链接被ALB重置 所以就报上面的错误了

  8. ApexGP commented on Feb 21, 2026

    @ApexGP

    @sunerpy 怎么设置ALB,我没有自建机场,用的是xray

  9. habsfanongit commented on Feb 23, 2026

    @habsfanongit

    This happens on Mac as well, regardless of the model. I thought it was my VPN so I disconnected it, then second I blamed it on ISP until I started seeing the same thing while running locally on LMStudio. Just to note, I am only using the TUI.

  10. nickali2 commented on Mar 9, 2026

    @nickali2

    This happened to me, on windows 11, version 1.2.21 and 1.2.22. suddenly nothing work and cannot work with app

  11. kidcad1412 commented on Mar 16, 2026

    @kidcad1412

    我也遇到这个问题,通常是在读取一些本地文件失败的时候发生

  12. westonlast commented on Mar 18, 2026

    @westonlast

    This is extremely annoying because it is almost a constant issue. I'm using GitHub Copilot models. How does this not affect more people?

  13. rekt-osbot commented on Mar 22, 2026

    @rekt-osbot

    Definitely an annoying bug

  14. josh-fiskaly commented on Mar 22, 2026

    @josh-fiskaly

    An issue for me also - only on Anthropic models via Anthropic API though, copilot routed models work fine for me.

  15. SammYWin commented on Mar 25, 2026

    @SammYWin

    Same problem here when using GPT models...how to fix it???

  16. vanish1984 commented on Mar 26, 2026

    @vanish1984

    Same problem here when using opus 4.6

  17. lcosbr commented on Mar 26, 2026

    @lcosbr

    Having the same issue here. After using it for a while, this error appears only for the Anthopic models. I am using it under a corporate proxy and with GitHub Copilot.
    This error stops sometimes when I reset the OpenCode desktop, and doesn't occur with GPT models.
    This issue started after updating OS to Windows 11

  18. jensenojs commented on Apr 20, 2026

    @jensenojs
    Contributor

    mac, claude opus 4.5 (in copilot) also encounters this issue, especially when attempting to write large files. Having the model write in batches multiple times may resolve the problem.

  19. github-actions commented on Jul 3, 2026

    @github-actions
    Contributor

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

  20. index-of-metals commented on Aug 25, 2026

    @index-of-metals

    This affects me constantly on Mac, using minimax. It makes OpenCode almost completely unusable.

  21. MarchGe commented on Aug 26, 2026

    @MarchGe

    Image俺也一样,但这个应该不是工具问题,看着提示是服务端把tcp连接给干了

  22. kidcad1412 commented on Aug 26, 2026

    @kidcad1412

    Image俺也一样,但这个应该不是工具问题,看着提示是服务端把tcp连接给干了

    后来是发现公司网关做了限制,屏蔽了一些敏感词,例如build,网关层面给断了

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