HTTP gateway SEARCHing for things often doesn't find anything (it's OK, there are a lot of random requests to the gateway). This leads to io.EOF returned, but it's counted as an error in Pool (incError) and eventually leads to declaring client unhealthy.
Expected Behavior
It's just not an error, it's normal behavior.
Possible Solution
Review error handling in updateErrorRate.
Context
Mainnet gateways (HTTP 0.27.4) went down because of this.
Current Behavior
HTTP gateway SEARCHing for things often doesn't find anything (it's OK, there are a lot of random requests to the gateway). This leads to
io.EOF
returned, but it's counted as an error in Pool (incError
) and eventually leads to declaring client unhealthy.Expected Behavior
It's just not an error, it's normal behavior.
Possible Solution
Review error handling in
updateErrorRate
.Context
Mainnet gateways (HTTP 0.27.4) went down because of this.