You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When client.Close is called, the gRPC connection gets closed, and the stream.Recv() call here returns a gRPC internal error ErrConnClosing, which is not considered a grace close, hence causes a log.Fatalf().
2021/05/14 13:07:05 error in subscription stream: rpc error: code = Unavailable desc = transport is closing
Nope, ErrConnClosing is defined in an internal package so we don't have access. Didn't check if the error wrapper can be recognizable though. Anyway it should be low priority since it only happens when closing down.
When
client.Close
is called, the gRPC connection gets closed, and thestream.Recv()
call here returns a gRPC internal errorErrConnClosing
, which is not considered a grace close, hence causes alog.Fatalf()
.go-threads/net/api/client/client.go
Lines 297 to 307 in 5d09258
This shouldn't be considered a fatal error, but maybe more importantly, provide a way to signal the loop to return immediately?
The text was updated successfully, but these errors were encountered: