V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
xabcstack

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

  •  
  •   xabcstack · Nov 18, 2023 · 1141 views
    This topic created in 896 days ago, the information mentioned may be changed or developed.

    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  
       Nov 19, 2023
    if err == xxx {
    retry()
    }
    mengzhuo
        2
    mengzhuo  
       Nov 19, 2023
    这个明显是 proxy 有问题啊
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2510 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 08:39 · PVG 16:39 · LAX 01:39 · JFK 04:39
    ♥ Do have faith in what you're doing.