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

Decoding Issue #2613

Closed
Nido2001 opened this issue Mar 20, 2025 · 1 comment
Closed

Decoding Issue #2613

Nido2001 opened this issue Mar 20, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@Nido2001
Copy link

Sometimes with large requests 100kb+ i recieve a InvalidProtocolBufferException Exception

Status(StatusCode="Unavailable", Detail="Error starting gRPC call. InvalidProtocolBufferException: String is invalid UTF-8. DecoderFallbackException: Unable to translate bytes [8F] at index 1 from specified code page to Unicode.", DebugException="Google.Protobuf.InvalidProtocolBufferException: String is invalid UTF-8.)

Grpc.Core.RpcException

The request is completed its just failing to parse the response at times.

However if i was to mitm the reqeust and parse the response body myself manually i have no issues

request headers
te: trailers
grpc-accept-encoding: identity,gzip,deflate
grpc-timeout: 60100m
accept-encoding: gzip, deflate, br
content-type: application/grpc

response headers
content-type: application/grpc
x-envoy-upstream-service-time: 0
vary: Accept-Encoding
content-encoding: gzip
date: Thu, 20 Mar 2025 15:12:30 GMT
server: API Gateway
x-envoy-decorator-operation: ingress-gateway.PROD
strict-transport-security: max-age=31536000; includeSubDomains
via: 1.1 google
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000

@Nido2001 Nido2001 added the bug Something isn't working label Mar 20, 2025
@Nido2001
Copy link
Author

Issue was in a new build of Google.Protobuf

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

No branches or pull requests

1 participant