-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Possible backwards incompatible change or regression in v1.42.0 #5175
Comments
Is there a proxy in the server? Can you also try turning on the gRPC logs https://github.com/grpc/grpc-go#how-to-turn-on-logging |
@menghanl Hi, yes using grpc-gateway as a proxy to the gRPC server I will try enabling the gRPC logs and report back |
Hi @menghanl , I think this is the relevant log
|
This looks like grpc-ecosystem/grpc-gateway#2447 There was a behavior change in the server transport. Now requests with The problem was fixed in grpc-gateway. Can you try the newer version? Thanks! |
Thanks @menghanl for your assistance. That explains it. We are unfortunately unable to update to the 2.x grpc-gateway until Kubernetes updates due to the dependencies between the grpc eco system and gogo-protobuf/protofbuf. |
What version of gRPC are you using?
1.42.0
What version of Go are you using (
go version
)?1.17
What operating system (Linux, Windows, …) and version?
Linux
What did you do?
The Argo Workflows project is trying to update from grpc 1.41.1 to 1.42.0 and it looks like there is a regression or behavior change not documented in the release notes. The upgrade pr is argoproj/argo-workflows#7658. The tests pass on 1.41.1 argoproj/argo-workflows@afd59bc and fail on 1.42.0 argoproj/argo-workflows@e8ac272
The following tests fails after update to grpc 1.42.0: https://github.com/argoproj/argo-workflows/blob/master/test/e2e/argo_server_test.go#L1091-L1102
The test sets the Accept header as
text/event-stream
and asserts that the response header Content-Type isevent-stream
. On grpc v1.42.0 the test suite fails because the content type isapplication/json
and is a 500 instead of a 200 response.Any assistance would be greatly appreciated.
What did you expect to see?
I expected 1.42.0 to not cause a test failure or to contain a note in the release notes on what to change.
What did you see instead?
A test failure indicating a behavior change.
The text was updated successfully, but these errors were encountered: