unary response has zero messages due to io.EOF
for all io.EOF
errors
#774
Labels
bug
Something isn't working
io.EOF
for all io.EOF
errors
#774
Describe the bug
After updating our dependency from 1.15.0 to 1.16.2, we started to see the error
unary response has zero messages
returned where we previously used to seeio.EOF
. #712 appears to have caused the behavioral change to returnconnect.CodeUnimplemented
instead ofio.EOF
for all cases ofio.EOF
which can come from general network/transport errors and nothing to do with the gRPC doc linked in the PR. We were relying onio.EOF
in a client interceptor to automatically retry requests since we can occasionally see the error due to network flakiness and have since updated to check for the connect.Unimplemented code and error now.To Reproduce
I couldn't really come up with a great way to provide a reproducible test for this but am happy to do so if it's a blocker.
Environment (please complete the following information):
connect-go
version or commit:v0.16.2
go version
:go version go1.23.0 linux/amd64
The text was updated successfully, but these errors were encountered: