ssl – ERR_SSL_PROTOCOL_ERROR after http2 enabled

I configure HTTP2 for my application and randomly get a browser ERR_SSL_PROTOCOL_ERROR.

this only happens on the Google Chrome browser. Everything is fine on Firefox.

I'm using Encrypth to encrypt with SSL and everything worked fine. The problem occurred after the activation of HTTP2 today. I'm using Apache2. I updated it in 2.4.38 to support the HTTP2 module

I have tried the following:

  • disable the http2 module / restart apache2

  • clear all browser cache

  • Resetting the HSTS header with the help of .htacess:

Set of Strict-Transport-Security headers "max-age = 0; includeSubDomains;" env = HTTPS

No results, it is always randomly the error.

here is my config vhost:


    
            
            
            
            DocumentRoot / var / www / domain / prod / web
Server_name sub.domain.tld
ServerAlias ​​Domain
ServerAdmin admin@domain.tld

    
            Options FollowSymLinks MultiViews
AllowOverride All
Order allow, refuse
Allow everyone
    
    ErrorLog /var/www/domain/prod/logs/error.log
LogLevel warn
Combined CustomLog /var/www/domain/prod/logs/access.log
ServerSignature On

SSLEngine On
Include /etc/letsencrypt/options-ssl-apache.conf

Protocols h2 h2c http / 1.1

SSLCertificateFile
/etc/letsencrypt/live/domain/fullchain.pem
SSLCertificateKeyFile
/etc/letsencrypt/live/domain/privkey.pem