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

Product Owner
Staff member
Nov 14, 2017
13,304
1,250
313
Houston
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