Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot connect to pusher when network reconnects #465

Closed
tgolen opened this issue Sep 11, 2020 · 1 comment · Fixed by #475
Closed

Cannot connect to pusher when network reconnects #465

tgolen opened this issue Sep 11, 2020 · 1 comment · Fixed by #475
Assignees

Comments

@tgolen
Copy link
Contributor

tgolen commented Sep 11, 2020

Problem

After being disconnected from Pusher for longer than two hours (so the authToken expires), when Pusher tries to reconnect, it uses the expired authToken to attempt to authenticate, and then fails. So after network reconnect, pusher remains disconnected.

image

Solution

Add code to the pusher lib to handle the reconnection scenario so it can properly get a new authToken

@tgolen tgolen added the HIGH label Sep 11, 2020
@tgolen tgolen added this to the Deprecate Slack for DMs milestone Sep 11, 2020
@marcaaron marcaaron self-assigned this Sep 11, 2020
@marcaaron
Copy link
Contributor

I'll try to throw on the 5 second authToken again and get to the bottom of this one.

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

Successfully merging a pull request may close this issue.

2 participants