Gin v1.9.1 with go1.21.2 on Centos8 and Debian11 (Google Cloud VM instance) – Server-side push issue

I am facing an issue with gin on Centos8 and on Debian11 (Google Cloud VM instance). Not sure whether it is gin issue or go issue or os issue or network issue …

This works fine, I get HTTP/2 in the output message for curl -I ...

[GIN] 2023/10/08 - 05:49:29 | 404 |     184.381µs |     98.33.79.20 | HEAD     "/api/associations/get"

However, this fails for curl ... (that is, without the -I option) …

Failed to push: feature not supported
[GIN] 2023/10/08 - 05:49:55 | 200 |      119.21µs |     98.33.79.20 | GET      "/api/associations/get"

Any idea what could be going wrong?

I am using go1.21.2 and gin v1.9.1

Thanks

Leave a Comment