Closed korvinko closed 7 years ago
Same for 1.6.2
Thanks for a report!
Do you use latest javascript client? Could you try to reproduce this when ping: false
in js client options?
Yes, ping: false
solved problem.
On client side centrifugo-js: 1.4.1 without sockjs.
Yeah, I see a problem - it's introduced with 1.6.0, will fix it very soon, until that moment you can use ping: false
to avoid such disconnects.
@johndoejdg fixed in 1.6.3, many thanks for your detailed report
Also I suggest updating centrifuge-js
to version 1.4.2 for those who use SockJS polling transports.
Centrifugo 1.6.1 run locally on 127.0.0.1 with memory engine. After some random actions on page it can suddenly close connection though I do not leave page or close connection by javacript API.
Server logs:![image](https://cloud.githubusercontent.com/assets/2064465/22057974/36d0f15a-dd78-11e6-88da-725d132f38e8.png)
Client logs:![image](https://cloud.githubusercontent.com/assets/2064465/22057996/5029f2a0-dd78-11e6-9d1a-6ce782d12990.png)
Server config:
Last messages before disconnect:![image](https://cloud.githubusercontent.com/assets/2064465/22058502/20c8974e-dd7a-11e6-9889-bd9a0c9618ab.png)
Centrifugo web admin "messages" section does not show any big messages. And can not be problem with network because it run locally.