ARTICLE AD BOX
When I'm using a Golang client to request a Golang Fiber server, I occasionally encounter an error: http_code 502, timeout 10.00s, cost 13ms.
Yes, my context timeout is set to 10s, but this request returns in 13ms, and it still returns a 502, which is very strange. Has anyone encountered this before?
I've also encountered this error:
timeout 20.00s, cost 11ms, err: Post "https://xxxx.com/": read tcp 10.0.1.2:1512->1.2.2.2:443: read: connection reset by peer
context deadline exceeded (Client.Timeout exceeded while awaiting headers)
Because these errors don't occur consistently, I tried to reproduce them and conducted tests, but couldn't replicate the issue.
