Reconnect after receive Error 4201
In my project I receive the following Error and my app reconnect to the pusher service. The Error fires al lot of times while running the app over a day.
pysher.connection:Connection: Received error 4201
Connection: Received error 4201
websocket:close status: 4201
close status: 4201 `
I use Python 3.7.11 and pysher 1.0.4 with websocket-client 0.57.0.
What can I do to prevent my app from this error and the reconnect?
Errors 4200-4299 means Pong reply not received: ping was sent to the client by our cluster, but no reply was received. I'm suspecting this library is getting a bit old unfortunately, and isn't complying with our latest protocol.
We are seeing the same lately in our app too. Lots of 4201 events, but still haven't figured out what's the reason behind it.