Ratchet icon indicating copy to clipboard operation
Ratchet copied to clipboard

Ratchet - Apache - Rocky Linux - HTTP ERROR 426

Open rsclmumbai opened this issue 1 year ago • 0 comments

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!!

rsclmumbai avatar Jul 08 '24 07:07 rsclmumbai