Answers for "adonisjs failed: Error during WebSocket handshake: Unexpected response code: 404"

1

adonisjs failed: Error during WebSocket handshake: Unexpected response code: 404

<VirtualHost *:443>
        ProxyPreserveHost On
        ServerName www.mysite.com
        ProxyPass / http://localhost:3333/
        ProxyPassReverse / http://localhost:3333/

RewriteEngine On
RewriteCond %{HTTP:Upgrade} websocket    [NC]
RewriteRule /(.*)           ws://localhost:3333/$1 [P,L]

...
Posted by: Guest on February-17-2021

Code answers related to "adonisjs failed: Error during WebSocket handshake: Unexpected response code: 404"

Browse Popular Code Answers by Language