web-socket icon indicating copy to clipboard operation
web-socket copied to clipboard

code 404 is returned

Open eric-22 opened this issue 7 years ago • 1 comments

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 ?

eric-22 avatar Aug 09 '18 09:08 eric-22

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.

hpawe01 avatar Oct 23 '18 09:10 hpawe01