Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

netty: Abrupt GOAWAY should not cause INTERNAL status #7501

Merged
merged 1 commit into from Oct 22, 2020

Conversation

ejona86
Copy link
Member

@ejona86 ejona86 commented Oct 9, 2020

The stream creation was failing because the stream id was disallowed:

Caused by: io.grpc.StatusRuntimeException: INTERNAL: http2 exception
	at io.grpc.Status.asRuntimeException(Status.java:533)
	at io.grpc.stub.ClientCalls$BlockingResponseStream.hasNext(ClientCalls.java:629)
	... 16 more
Caused by: io.grpc.netty.shaded.io.netty.handler.codec.http2.Http2Exception$StreamException: Cannot create stream 222691 greater than Last-Stream-ID 222689 from GOAWAY.

The problem was introduced in 9ead606. Fixes #7357

The stream creation was failing because the stream id was disallowed:
Caused by: io.grpc.StatusRuntimeException: INTERNAL: http2 exception
	at io.grpc.Status.asRuntimeException(Status.java:533)
	at io.grpc.stub.ClientCalls$BlockingResponseStream.hasNext(ClientCalls.java:629)
	... 16 more
Caused by: io.grpc.netty.shaded.io.netty.handler.codec.http2.Http2Exception$StreamException: Cannot create stream 222691 greater than Last-Stream-ID 222689 from GOAWAY.

The problem was introduced in 9ead606. Fixes grpc#7357
@ejona86 ejona86 added the TODO:backport PR needs to be backported. Removed after backport complete label Oct 9, 2020
@ejona86 ejona86 closed this Oct 20, 2020
@ejona86 ejona86 reopened this Oct 20, 2020
@dapengzhang0
Copy link
Member

Does this need be backported to 1.33 release?

@ejona86 ejona86 merged commit 45b8b0e into grpc:master Oct 22, 2020
@ejona86 ejona86 deleted the netty-nongraceful-goaway branch October 22, 2020 16:16
@ejona86 ejona86 removed the TODO:backport PR needs to be backported. Removed after backport complete label Oct 29, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

netty: INTERNAL error if GOAWAY is not a graceful shutdown
2 participants