web-socket
web-socket copied to clipboard
code 404 is returned
I've configured this to listen on 127.0.0.1 behind apache proxy. The proxy redirection work well but i've got a 404 error for response !?
I know the response is from Ratchet because of the response header X-Powered-By: Ratchet/0.4.1
what could cause Ratchet to return this error ?
Did you provide the correct Websocket url? If you for example have the socket route $socket->route('/example', new ExampleSocket, ['*']); you need create your socket with ws://localhost/example.