Websocket Response Code |
Hello!
I'm trying to implement websockets in codeigniter with Ratchet PHP as described here : http://socketo.me/docs/hello-world I've gotten it working where I can telnet and connect to the websocket server from the same machine but I'm running into an issue when trying to connect via a browser. I have the Chat library as described in the tutorial being autoloaded via composer and i have a controller named 'playground' with a method 'index' for the connection. Whenever I try to connect via a browser I get the following error: WebSocket connection to 'ws://52.***/playground:443' failed: Error during WebSocket handshake: Unexpected response code: 200 Does anyone have any ideas?
Codeigniter is simply one of the tools you need to learn to be a successful developer. Always add more tools to your coding arsenal!
|
Welcome Guest, Not a member yet? Register Sign In |