laravel-echo-server icon indicating copy to clipboard operation
laravel-echo-server copied to clipboard

Service return "OK"

Open lambdann opened this issue 5 years ago • 2 comments

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...

Unbenannt

Why it´s just return "OK"? What can i do / try this will work correctly?

lambdann avatar Apr 10 '19 17:04 lambdann

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.

nickkuijpers avatar Feb 19 '20 11:02 nickkuijpers

any updates?

athasamid avatar Mar 03 '22 01:03 athasamid