Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

HTTP2 stream 1 was not closed cleanly

Discussion in 'EasyApache' started by DimasFrolov, Sep 7, 2018.

  1. DimasFrolov

    DimasFrolov Registered

    Joined:
    Sep 7, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
  2. DimasFrolov

    DimasFrolov Registered

    Joined:
    Sep 7, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Samui, Thailand
    cPanel Access Level:
    Root Administrator
    Nobody see this error before?
    My server response only via HTTP/1.1 :(
     
  3. cPanelLauren

    cPanelLauren Forums Analyst II
    Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    3,524
    Likes Received:
    251
    Trophy Points:
    193
    Location:
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice