Reputation: 61
I'm facing for the first time with WebSocket. I used the example from here to create WebSocket https://github.com/leggetter/realtime-symfony-examples. I tried Faye and Ratcher method, and both work same.
My problem: On local machine everything is ok, but on the server, it's not. First, should I set localhost or domain URL? I tried with domain URL, and because it's https, I use wss to connect on WebSocket and getting a connection timeout. Then I tried with localhost, and it has been connected, but the client didn't receive any message.
Thanks
Upvotes: 0
Views: 1870