I setup tyk successfully with loadbalancing with Consul. But from one of the API microservice I get the below error when used with CURL curl: (92) HTTP/2 stream 0 was not closed cleanly: INTERNAL_ERROR (err 2)
When I use POSTMAN, I get the below error Error: Stream error in the HTTP/2 framing layer
Now if I call the API directly, I get proper response. I think the error has something to do with http versions. Can anyone help ?
Thank you!
@ahmet I do not have that http2 config in my tyk.conf,. Just to show you my current curl responses for Nginx, Tyk and my microservice. All are HTTP/1.1, but I will make that config change in tyk and get back soon. Thanks!
My Tyk reponse for head is this:
curl --head http://192.168.34.150:5555/hello
HTTP/1.1 200 OK
Date: Tue, 04 May 2021 17:56:29 GMT
Content-Length: 10
Content-Type: text/plain; charset=utf-8
Connection: close