-
Notifications
You must be signed in to change notification settings - Fork 437
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
grpcwebproxy incompatibility with aspnet core #404
Comments
The grpcwebproxy just uses the Go gRPC stack to make downstream requests. Can you reproduce this issue with a Go gRPC client? |
For the curious: it seems |
No i can't reproduce it with the go grpc client. I have switched to envoy now which is working |
Interesting. Are you setting the |
I only used the generated service method without specifying any options and without any meta data. |
I was able to resolve it by using port 8443 with https instead of 8080 with http on localhost. |
Closing this as it is unlikely to be a bug in the proxy |
Versions of relevant software used
latest grpcwebproxy binary for osx.
What happened
the http request to the grpc server contains a invalid connection header field.
What you expected to happen
A valid http/2 request.
How to reproduce it (as minimally and precisely as possible):
Start a aspnet core grpc server (0.1.20).
Start the proxy.
Send grpc request from browser to the proxy.
Server will throw a exception:
Line where the exception is throwed: https://github.com/aspnet/AspNetCore/blob/master/src/Servers/Kestrel/Core/src/Internal/Http2/Http2Connection.cs#L1165
Environment:
The text was updated successfully, but these errors were encountered: