Skip to content

Ratchet - Apache - Rocky Linux - HTTP ERROR 426 #1068

Open
@rsclmumbai

Description

Rocky Linux release 9.3 (Blue Onyx)
Server version: Apache/2.4.57
PHP 8.2.18

<VirtualHost *:80>
ServerName myhost.mydomain.com
ServerAlias myhost.mydomain.com
DocumentRoot /var/www/html
RewriteEngine on
RewriteCond %{SERVER_NAME} =myhost.mydomain.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
</VirtualHost>

<VirtualHost *:443>
ServerName myhost.mydomain.com
ServerAlias myhost.mydomain.com
DocumentRoot /var/www/html
ProxyPass / ws://127.0.0.1:8080/$1
SSLCertificateFile /etc/letsencrypt/live/myhost.mydomain.com/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/myhost.mydomain.com/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
error_reporting(E_ALL); ini_set('display_errors', 1);
        use Ratchet\Server\IoServer;
        use Ratchet\Http\HttpServer;
        use Ratchet\WebSocket\WsServer;
        use MyChatApp\Chat;

        require dirname(__DIR__) . '/vendor/autoload.php';
        $server = IoServer::factory(
                    new HttpServer(
                        new WsServer(
                            new Chat()
                        )
                    ),
                  8080
                 );
        $server->run();

Everything had been working fine for the last 3 months. but since an hour, I'm getting this error:
HTTP ERROR 426

I have been on Google for the last hour and I'm unable to find a solution. Can someone please help me... My services are down..

Please help!!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions