PresenceChannel onJoin fails if Authentication got status 502 because of timeout
QubeX2 opened this issue · 0 comments
QubeX2 commented
PresenceChannel onJoin fails if Authentication got 502 because of timeout
If authentication gets status 502 because of to many requests at the same time
To Reproduce
Make a page, join a presence channel, open 40 tabs in a webbrowser, when timeouts starts happening close all.
Expected behavior
laravel-echo-server shouldn't crash
Additional context
if(this.io.sockets.connected && this.io.sockets.connected[socket.id])
solves it when I tested it