-
Notifications
You must be signed in to change notification settings - Fork 756
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
Grpc-web not return exactly grpc status always response 2 Incomplete response #1417
Comments
@KP-story Thanks for the report! Do you mind following this following Typescript example, and check how things are looking different between that and what you have? Without knowing your whole setup, it's hard to know what's wrong. So it would be easier if you compare the wire data against the demo we have. |
HI, My backend was written by rust tonic web. I always response null with grpc-status and grpc-message in metadata. Is it valid ? |
@KP-story As I see you are using CloudFlare might I recommend checking if you have access to the CloudFlare Dashboard for that website, go to the Network tab, and scroll to the bottom and make sure gRPC is enabled so it knows to proxy the gRPC API connection. https://developers.cloudflare.com/network/grpc-connections/ |
Hi, I have just updated the configuration in Cloudflare, but it's still showing an error. |
I gen code using a command protoc -I=./src/proto
--js_out=import_style=commonjs,binary:./src/generated
--grpc-web_out=import_style=typescript,mode=grpcweb:./src/generated
$(find ./src/proto -iname "*.proto")
When I sent request that was not valid, Grpc web always response 2 incomplete response , even though my response headers contained the 'grpc-status' and 'grpc-message' fields."
The text was updated successfully, but these errors were encountered: