V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
xabcstack
V2EX  ›  Go 编程语言

net/http 这种异常有没有办法重试修复?

  •  
  •   xabcstack · 161 天前 · 591 次点击
    这是一个创建于 161 天前的主题,其中的信息可能已经有所发展或是发生改变。

    2023/11/18 19:40:43 http: proxy error: read tcp 172.18.0.4:35830->104.18.6.192:443: read: connection reset by peer

    2023/11/18 13:09:35 httputil: ReverseProxy read error during body copy: unexpected EOF

    NessajCN
        1
    NessajCN  
       161 天前
    if err == xxx {
    retry()
    }
    mengzhuo
        2
    mengzhuo  
       161 天前
    这个明显是 proxy 有问题啊
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5426 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 07:45 · PVG 15:45 · LAX 00:45 · JFK 03:45
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.