Reputation: 1245
I am working to gRPC in my .Net Core 2.1 application, But when i send a request the server throws an error stating
Connection id "" bad request data: "Unrecognized HTTP version: 'HTTP/2.0'
1.ParseRequestLine(TRequestHandler handler, ReadOnlySequence
1& buffer, SequencePosition& consumed, SequencePosition&Upvotes: 9
Views: 16084
Reputation: 875
Please checkout documentation here to enable http/2 in kestrel: https://learn.microsoft.com/en-us/aspnet/core/fundamentals/servers/kestrel?view=aspnetcore-2.2#http2-support
Upvotes: 4