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

[grpc-gateway plugin] Missing "te: trailers" header in example documentation for gRPC calls #14081

Closed
1 task done
tan199954 opened this issue Jan 4, 2025 · 1 comment
Closed
1 task done

Comments

@tan199954
Copy link

tan199954 commented Jan 4, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Kong version ($ kong version)

Kong 3.8.1

Current Behavior

I followed the guide to use the grpc-gateway plugin as described in the https://docs.konghq.com/hub/kong-inc/grpc-gateway/how-to/
However, the provided example for making gRPC calls using curl does not work as described.

The guide suggests using the following command:

curl -XGET localhost:8000/v1/messages/Kong2.0

But this command fails unless I explicitly add the --header "te: trailers" option, like this:

curl -XGET --header "te: trailers" localhost:8000/v1/messages/Kong2.0

Can the Kong developers make the grpc-gateway plugin automatically add the te: trailers header to gRPC requests?

Expected Behavior

No response

Steps To Reproduce

No response

Anything else?

No response

@xianghai2
Copy link

Duplicate issue #14043 ?

refer to fix:
https://github.com/Kong/kong/pull/14042/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants