peertube-plugin-livechat icon indicating copy to clipboard operation
peertube-plugin-livechat copied to clipboard

Lost connection to chat

Open Alterak opened this issue 3 years ago • 6 comments

Chat Version 5.4.0 Peertube version 4.0.0 Server address peervideo.ru

The problem appeared about 2 weeks ago, in the latest versions of the chat. If I start the stream, then the chat is active ... I hide on the panel. After about 30 minutes, the chat is inactive, I have to refresh my stream page. I have attached screenshots below with logs.

Chat works well here. Screenshot_1

Here the chat is inactive after about 30 minutes Screenshot_2

Alterak avatar Jan 15 '22 18:01 Alterak

Such a problem in the last two versions. I really hope you fix this. I think there is a timeout. Maybe I'm wrong.

Alterak avatar Jan 15 '22 18:01 Alterak

Thanks for the report. I think the problem is related to the ConverseJS version change (I updated the library from version 7.0.6 to 9.0.0). I will investigate this in the coming days.

JohnXLivingston avatar Jan 16 '22 11:01 JohnXLivingston

I just tested on firefox. I was not able to reproduce. I waited 33 minutes with the tab in the background.

If you can, can you try with firefox (I see in the screenshot you are using chrome).

I'll search for the error messages in the ConverseJS code (but not today, I have other tasks to achieve).

JohnXLivingston avatar Jan 16 '22 16:01 JohnXLivingston

I tested on 3 browsers

Firefox - works good. Google Chrome - the connection is terminated. Microsoft EDGE - the connection is terminated.

Alterak avatar Jan 20 '22 06:01 Alterak

Ok thanks, that helps. Was the browser tab in the background? Or always displayed?

JohnXLivingston avatar Jan 20 '22 09:01 JohnXLivingston

I think it may be related to https://github.com/conversejs/converse.js/issues/2770

JohnXLivingston avatar Jan 20 '22 09:01 JohnXLivingston