Harsh Nagalla
Harsh Nagalla

Reputation: 1245

Does .Net Core 2.1 support HTTP/2 requests?

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'

Upvotes: 9

Views: 16084

Answers (1)

Umang
Umang

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

Related Questions