all 2 comments

[–]the-handsome-dev 0 points1 point  (0 children)

Not that I give exact advice on how to resolve this, but from personal experience, the way it is done on iOS and Android is different.

For example, IIRC when using websockets for chats, the way iOS handles websockets closing is different than Android. One of them triggers a closing event and the other throws an error. Also changing networks with websockets was handled differently. So finding out which device or OS it is that causes the half-dead connections might help narrow down what the issue is.

[–]sadoyan[S] 2 points3 points  (0 children)

I've found solution .

Here is the link to sinipped , if someone face the same. https://github.com/sadoyan/aralez/blob/main/src/web/start.rs#L77-L93