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

NewRelic Agent 10.19.0 breaks gRPC calls #2043

Closed
jeffpapp opened this issue Nov 9, 2023 · 5 comments · Fixed by #2046
Closed

NewRelic Agent 10.19.0 breaks gRPC calls #2043

jeffpapp opened this issue Nov 9, 2023 · 5 comments · Fixed by #2046
Labels
bug Something isn't working community To tag external issues and PRs

Comments

@jeffpapp
Copy link

jeffpapp commented Nov 9, 2023

Description

With the NewRelic Agent 10.19.0, we started seeing our gRPC calls fail with a Failed to deserialize response message error.

After doing some research it seems like this can happen if something is intercepting the request/response. I found a similar issue at dotnet/aspnetcore#39317 which made me think maybe the NewRelic agent might be causing an issue since it was just updated.

To check I rebuilt my docker images and specified version 10.18.0 directly and redeployed and tested the same exact gRPC call and it worked correctly.

Your Environment

I am running via docker container on AKS.

For Maintainers Only or Hero Triaging this bug
Suggested Priority (P1):
Suggested T-Shirt size (S, M, L, XL, Unknown):

@jeffpapp jeffpapp added the bug Something isn't working label Nov 9, 2023
@workato-integration
Copy link

@github-actions github-actions bot added the community To tag external issues and PRs label Nov 9, 2023
@tippmar-nr
Copy link
Member

@jeffpapp thanks for submitting this issue. We just released v10.19.1 with a fix that we think will help.

If you can, please give the new release a try and confirm back here whether it did or didn’t resolve your issue. Thanks!

@jeffpapp
Copy link
Author

jeffpapp commented Nov 9, 2023

Same error. Here are the gRPC debug level logs from the client side of the call. If there are other logs that would be helpful let me know and I can try to provide them

dbug: Grpc.Net.Client.Balancer.Internal.ConnectionManager[4]
      Channel picker updated.
dbug: Grpc.Net.Client.Balancer.Subchannel[11]
      Subchannel id '3-1' state changed to Connecting. Detail: 'Connection requested.'.
dbug: Grpc.Net.Client.Balancer.Internal.ConnectionManager[3]
      Channel state updated to Connecting.
dbug: Grpc.Net.Client.Balancer.Internal.ConnectionManager[8]
      Picked queued.
dbug: Grpc.Net.Client.Balancer.Internal.SocketConnectivitySubchannelTransport[2]
      Subchannel id '3-1' connected to socket xxx:5000.
dbug: Grpc.Net.Client.Balancer.Subchannel[11]
      Subchannel id '3-1' state changed to Ready. Detail: 'Successfully connected to socket.'.
dbug: Grpc.Net.Client.Balancer.Internal.ConnectionManager[3]
      Channel state updated to Ready.
dbug: Grpc.Net.Client.Balancer.Internal.ConnectionManager[4]
      Channel picker updated.
dbug: Grpc.Net.Client.Balancer.Internal.ConnectionManager[6]
      Successfully picked subchannel id '3-1' with address xxx:5000. Transport status: InitialSocket
info: System.Net.Http.HttpClient.XXXServiceClient.LogicalHandler[100]
      Start processing HTTP request POST http://cxxx:5000/xxx/xxx
info: System.Net.Http.HttpClient.XXXServiceClient.ClientHandler[100]
      Sending HTTP request POST http://xxx:5000/xxx/xxx
dbug: Grpc.Net.Client.Internal.GrpcCall[18]
      Sending message.
info: System.Net.Http.HttpClient.XXXServiceClient.ClientHandler[101]
      Received HTTP response headers after 1673.5675ms - 200
info: System.Net.Http.HttpClient.XXXServiceClient.LogicalHandler[101]
      End processing HTTP request after 1692.3809ms - 200
dbug: Grpc.Net.Client.Internal.GrpcCall[13]
      Reading message.
dbug: Grpc.Net.Client.Internal.GrpcCall[9]
      Message not returned from unary or client streaming call.
info: Grpc.Net.Client.Internal.GrpcCall[3]
      Call failed with gRPC error status. Status code: 'Internal', Message: 'Failed to deserialize response message.'.
dbug: Grpc.Net.Client.Internal.GrpcCall[4]
      Finished gRPC call.

@tippmar-nr
Copy link
Member

tippmar-nr commented Nov 9, 2023

Thanks for the feedback, @jeffpapp. We've been able to reproduce the issue using a gRPC server and are continuing to investigate.

@floge07
Copy link

floge07 commented Nov 9, 2023

I cannot describe in words of what a nightmare it has been for us to trace this problem back to the newrelic agent...
Always use static version constraints on your packages folks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community To tag external issues and PRs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants