Pysher icon indicating copy to clipboard operation
Pysher copied to clipboard

Reconnect after receive Error 4201

Open hacka007 opened this issue 4 years ago • 2 comments

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?

hacka007 avatar Sep 30 '21 05:09 hacka007

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.

benjamin-tang-pusher avatar Apr 14 '22 14:04 benjamin-tang-pusher

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.

sebaherrera07 avatar Jun 12 '24 14:06 sebaherrera07