-
Notifications
You must be signed in to change notification settings - Fork 108
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
define Request.GetBody to avoid this error #541
Comments
Hey @pqn! Thanks for the detailed breakdown. For unary requests we should be able to set GetBody on requests as we have the body in a |
In one log I'm seeing it maybe 4-5 times in an hour. |
We see this error 10-40 times per minute in our prod infra out of roughly 2400 requests, so 0.4% to 1.6% of all requests are being retried, which isn't terrible but also not insignificant. |
I saw #543 was closed. Just wondering, is this being worked on or in the backlog right now? Thanks! |
Hey @pqn, we are still aiming to fix this issue soon. The feedback on the PR was to focus on the unary changes first as this will have the largest impact. @mattrobenolt has some good suggestion on splitting out the unary flow to get some nice performance improvements too. Will be a much neater solution! |
Sounds good! Thanks for the update. |
Resolved in #649, but only for unary-request RPCs (which includes both unary RPCs and server-streaming RPCs). Implementing I've opened a separate issue (#672) to track the state of addressing this same issue with streaming RPCs. |
Describe the bug
In some of our production logs we've noticed the following client error:
To Reproduce
We've been unable to reproduce this locally.
Environment (please complete the following information):
connect-go
version or commit:v1.6.0
go version
:go version go1.20.5 linux/amd64
go.mod
: I can provide dependencies as neededAdditional context
Request.GetBody
stripe/stripe-go#711The text was updated successfully, but these errors were encountered: