Open
Description
When I am making GET requests using Pester, I sporadically get connection reset by peer errors:
read tcp 10.24.8.45:37286->13.49.93.125:443 read: connection reset by peer
I can detect these errors using:
if opErr, ok := err.(*net.OpError); ok {
if syscallErr, ok := opErr.Err.(*os.SyscallError); ok {
if syscallErr.Err == syscall.ECONNRESET {
fmt.Println("Found a ECONNRESET")
}
}
}
I would like Pester to retry these requests. What do you think?
Metadata
Metadata
Assignees
Labels
No labels