Hi Paul, I believe the bug has been fixed in https://github.com/grpc/grpc-go/pull/766. Can you update your gRPC-go and try again? If your issue is still not fixed, can you send us a test to reproduce?
(Note that the send() will get an io.EOF error, and you still need to call CloseAndRecv() to get the real error returned by server) Thanks, Menghan On Wednesday, September 14, 2016 at 11:24:08 AM UTC-7, Paul Breslin wrote: > > I've even tried canceling the context on the server side when the error > occurs but the writer still hangs! > This is a serious bug (at least for us). > > > On Wednesday, September 14, 2016 at 12:02:12 PM UTC-4, Paul Breslin wrote: >> >> I see that this may now be fixed? >> https://github.com/grpc/grpc-go/issues/764 >> >> Has this been released yet? If not any idea when? >> >> Thanks! >> >> >> On Tuesday, July 12, 2016 at 7:56:55 PM UTC-4, Qi Zhao wrote: >>> >>> sounds a bug. fixing .... Thanks for reporting. >>> >>> On Wednesday, June 29, 2016 at 12:51:11 PM UTC-7, Paul Breslin wrote: >>>> >>>> I have a case (client and server both in Go) where the client opens a >>>> write stream and starts to send write requests. The server receives the >>>> first request and returns an error immediately. On the client side the >>>> Send >>>> calls continue to succeed and at some threshold they eventually hang >>>> (indefinitely? I haven't waited long enough to find out). Below that >>>> threshold if the client calls CloseAndRecv then the error is returned. >>>> >>>> Is the server supposed to do something to shutdown the stream prior to >>>> returning an error? >>>> >>>> (Go version is: go1.5.3. I can't find a grpc release number anywhere.) >>>> >>> -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/6593ec89-8a33-471d-92d2-ffeb573d96ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
