Websocket Response Code - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Websocket Response Code (/showthread.php?tid=64151) |
Websocket Response Code - albertleao - 01-20-2016 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? |