Description
What is the issue?
Pusher will no longer reconnect after long periods of time. Will stay disconnected even after listening to the status change and calling pusher reconnect. Not to sure what to do at this point since we need pusher to be reliable for long periods of hours, for lets say 8 hours. From what I've read in the tickets, it seems like that there is max retry for pusher that will stop trying to connect after 6 attempts. Is this true and is maybe whats causing my issues? Any solutions or tips would be greatly appreciated.
This is the code that I sure to to listen to disconnect statuses, and then reconnect.
https://gist.github.com/Salim1993/acd765e1049bf0a74293a2798c850492
I had to use Gist because I couldn't get the code formatting to work properly. Let me know if you can't access the gist.
Is it a crash report? Submit stack traces or anything that you think would help
Not a crash,just pusher stops responding to events after a while. After looking at the psuher dashboard for events for a long time, i realized that pusher socket disconnects, but never reconnects again.
...
CC @pusher/mobile