Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

PresenceChannel onJoin fails if Authentication got status 502 because of timeout #586

Open
QubeX2 opened this issue Jan 6, 2022 · 0 comments

Comments

@QubeX2
Copy link

QubeX2 commented Jan 6, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant