laravel-echo-server
laravel-echo-server copied to clipboard
Service return "OK"
I use nginx to proxy SSL. My configuration is:
location /socket.io { proxy_pass http://localhost:6001/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; }
When i track the communication in developer tools on browser the connection seems successfull.
https://host.test/socket.io?EIO=3&transport=polling&t=Me8969F
but the result is just "OK". In the console I see no loggin information. Only this...
Why it´s just return "OK"? What can i do / try this will work correctly?
Hi,
Are you broadcasting any events? Are you listening on any events in the client side? Did you use the broadcast_driver redis in the .env file?
I only see things appear in the shell when a new private connection is created or when an event is broadcasted. Could you check the points above?
Let me know if you need any help.
any updates?