Rocket.Chat.Electron icon indicating copy to clipboard operation
Rocket.Chat.Electron copied to clipboard

Video call triggers again (Jitsi self-hosted)

Open thisfro opened this issue 6 years ago • 20 comments

My Setup

  • Operating System: Manjaro Linux 5.8.16-2
  • App Version: 3.0.4
  • Installation type: pacman
  • [x] I have tested with the latest version
  • [x] I can simulate the issue easily

Description

I started a video call in the evening (say 9 pm). I end the call with the hang up button in jitsi and leave the tab open (see screenshot). Then I put my computer to sleep overnight. The next morning my friend gets a new call.

image

It also shows me that I started a call, which I did not. image

Current Behavior

Both users (direct message) get a new call notification.

Expected Behavior

Only trigger the call when the button to call is actually clicked.

thisfro avatar Oct 23 '20 09:10 thisfro

I experienced same issue, but I think it's Rocket Chat server issue, because in my case RC RM application was involved.

ankar84 avatar Oct 23 '20 10:10 ankar84

@ankar84 as the client that triggerd a new call? or did it just show the call?

thisfro avatar Oct 24 '20 11:10 thisfro

@ankar84 as the client that triggerd a new call? or did it just show the call?

Actually few clients of my server experienced that issue, not me. And as I understand, there was a call in mobile application, call was finished. And after some time there appeared another call, that no-one start. All circumstances of that issue is unknown currently.

ankar84 avatar Oct 24 '20 12:10 ankar84

We had that same issue and what triggered it was an automated server restart after updates

sandreddu avatar Oct 28 '20 08:10 sandreddu

We had that same issue and what triggered it was an automated server restart after updates

Very interesting. @sampaiodiego @pierre-lehnen-rc can you take a look at that issue?

ankar84 avatar Oct 28 '20 08:10 ankar84

We can confirm this issue on Win 10 using client 3.0.6. It seems to start after Upgrade to client 3.x and affects just 2 users...

mape2k avatar Nov 19 '20 14:11 mape2k

Recently a lot of our users got affected by that issue. I'll try to make reproduce script to get the root cause of that issue.

ankar84 avatar Apr 05 '21 10:04 ankar84

That bug creates call button every 1 minute image image image image That's really annoying and users get angry about that. Here some another users with that problem https://open.rocket.chat/channel/support?msg=EgWZ4BAaGqPY4JSzy

ankar84 avatar Apr 05 '21 10:04 ankar84

jitsi:updateTimeout is a root cause for that! And it's RocketChat issue, not Electron issus

["{\"msg\":\"method\",\"method\":\"jitsi:updateTimeout\",\"params\":[\"gYFnyDxfwdDom9jeRiodE4TwMg4i729GoH\"],\"id\":\"65\"}"]

ankar84 avatar Apr 05 '21 11:04 ankar84

I definitely figure out that issue! It is a Web client issue for sure, so @ggazzo FYI. I'm on 3.7.1 now, but I see, that 3.8.1 involved to and some 3.9 version too.

Root cause

If Call contextual bar remain open and all call participants except one (with Call contextual bar open) leave that call, then after 3-5 minutes that calls buttons repeat to create in chat every single minute by jitsi:updateTimeout from websocket of that alone user in call, or more accurate by jitsi:updateTimeout of Call contextual bar. image image

Solution

It might be solved with https://github.com/RocketChat/Rocket.Chat/pull/21004 by @yash-rajpal who fixed that with close that Call contextual bar after call started. So I believe 3.12.1 and higher may not be affected.

Workaround

Advice your users always close that Call contextual bar after call is started or update to 3.12.1+

ankar84 avatar Apr 05 '21 12:04 ankar84

I have that bug somehow on recent 3.14 Rocket.Chat version with Call contextual bar closed right after call is started. I don't know all conditions right now, but definitely "Click to Join!" button every minute flood is present in 3.14!

If I find a reproduce way I will open separate issue in main RC repo.

ankar84 avatar May 20 '21 03:05 ankar84

Also related https://github.com/RocketChat/Rocket.Chat/issues/12148 https://github.com/RocketChat/Rocket.Chat/issues/18136 https://github.com/RocketChat/Rocket.Chat/issues/14508

ankar84 avatar May 27 '21 09:05 ankar84

@ankar84 Hi! You have same problem? I have this problem too So far there is no solution for this problem?

arpsyapathy avatar Jun 03 '21 17:06 arpsyapathy

@ankar84 Hi! You have same problem? I have this problem too So far there is no solution for this problem?

Yeah But we today updated to 3.15.0 Let's see

ankar84 avatar Jun 04 '21 03:06 ankar84

@ankar84 Hi! You have same problem? I have this problem too So far there is no solution for this problem?

Yeah But we today updated to 3.15.0 Let's see

@ankar84 I have 3.15.0.. The problem is still relevant...

arpsyapathy avatar Jun 04 '21 08:06 arpsyapathy

That and related issues could be fixed in https://github.com/RocketChat/Rocket.Chat/pull/22277

ankar84 avatar Jun 08 '21 06:06 ankar84

Same issue here, v3.15.0

mjunghanns avatar Jun 14 '21 12:06 mjunghanns

any hope this will be fixed ?

Cob0ld avatar Jun 21 '21 17:06 Cob0ld

any hope this will be fixed ?

It's fixed on the next Rocket.Chat version, which will be released next week.

pierre-lehnen-rc avatar Jun 21 '21 20:06 pierre-lehnen-rc

any hope this will be fixed ?

It's fixed on the next Rocket.Chat version, which will be released next week.

I hope you are right, Pierre!

ankar84 avatar Jun 22 '21 01:06 ankar84