Upgrading to grpc 1.41 is definitely worth trying because of this https://github.com/grpc/grpc-java/pull/8359 .
On Tuesday, March 8, 2022 at 4:26:21 PM UTC-8 chetan sood wrote: > Hi > > We are seeing the following exceptions in our grpc-java client when it's > trying to send a rpc to a grpc-server that is configured behind nginx. > > *io.grpc.StatusRuntimeException: UNAVAILABLE: Abrupt GOAWAY closed sent > stream. HTTP/2 error code: NO_ERROR* > > I went through the detailed conversation here - > https://github.com/grpc/grpc-java/issues/8310. > > I understand that nginx is not sending 2 GOAWAY frames and thats the > reason for the issue in our case. I believe this is the case since we don't > see the requests reaching the grpc server. > > It sounds like the grpc-client should retry once automatically as part of > transparent retry mechanism. Is my understanding correct here? > We don't enable retry on the managed channel ( > https://grpc.github.io/grpc-java/javadoc/io/grpc/ManagedChannelBuilder.html#enableRetry--) > > . Should we still expect the grpc-client to retry once in case of > transparent retries? > > In our case we see that the request doesn't reach the server and is > terminated by nginx, so we would expect a subsequent retry to work and we > shouldn't see these errors. Is there another reason why we might be seeing > this? At the end of the conversation, *ejona86 > <https://github.com/ejona86> *mentions that a netty bug is also fixed in > 1.41 grpc version. We currently use 1.37 grpc version. Is that the reason > the transparent retry is not working for us and we are seeing the above > errors? Will upgrading to 1.41 resolve the issue? > > I'm planning to upgrade our client to 1.41 however I'm not certain if > that's the only change that's needed here. Please let me know if I need to > add something else. > > Thanks > > > > > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/2825459d-6bf1-49f7-81c0-8dfe523c3fdbn%40googlegroups.com.
