HTTP2 stream 1 was not closed cleanly

DimasFrolov

Registered
Sep 7, 2018
2
0
1
Samui, Thailand
cPanel Access Level
Root Administrator
Hello everyone,

I've installed in my WHM panel mod_http2, but I still didn't get HTTP2 headers when I request it in curl. And I get this error:
Code:
curl -I https://example.com
curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)
Does anyone know how to fix this problem?
Thanks.
 

cPanelLauren

Forums Analyst II
Staff member
Nov 14, 2017
8,537
700
263
Houston
cPanel Access Level
DataCenter Provider
Hello @DimasFrolov

This error is usually associated with content that is not able to be served over HTTP/2 - typically remote content. You can test individual resources to see how they load with something like the following as well as your site itself:

Code:
curl -vvv https://yourdomain.tld/path/to/resource 2>&1 | grep HTTP