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

Rocket.Chat Desktop Application quits when trying to join a call

Open ghxm opened this issue 5 years ago • 19 comments

My Setup

  • Operating System: macOS 10.15.5 & macOS 11.0
  • App Version: 3.0.x
  • Installation type: homebrew
  • [x] I have tested with the latest version
  • [x] I can simulate the issue easily

Description

Rocket.chat app crashed when clicking a button "Click to Join!" to join a Jitsi call. Problem does not occur when call has already ended (Call already ended notification appears).

Problem does not occur under macOS 10.13.6

Current Behavior

Program quits

Expected Behavior

Open Jitsi call window

ghxm avatar Dec 10 '20 11:12 ghxm

Maybe that is your problem https://github.com/RocketChat/Rocket.Chat.Electron/issues/1841

ankar84 avatar Dec 11 '20 01:12 ankar84

Not sure, might be a different problem as the Meeting Window does not open for me at all but the Rocket.Chat Electron Application quits unexpectedly.

ghxm avatar Dec 11 '20 09:12 ghxm

I have the same problem: OSX 10.15.7 RC client: 3.07 RC server: 3.9.1 , "Jitsi" -> "Always Open in New Window" is on.

mpachkov avatar Dec 16 '20 12:12 mpachkov

Update. If I start the client from a terminal (iTerm) then after clicking join button I have got a popups asking to allow access of iTerm to microphone and camera. Video call worked fine. Next I started the client directly and again had the same issue of client crashing when joining a video call. So it seems to be permissions issue.

mpachkov avatar Dec 18 '20 13:12 mpachkov

If I start the client from a terminal (iTerm) then after clicking join button I have got a popups asking to allow access of iTerm to microphone and camera. Video call worked fine. Next I started the client directly and again had the same issue of client crashing when joining a video call.

I'm able to reproduce this behavior.

ghxm avatar Dec 18 '20 14:12 ghxm

The issue is still present in 3.1.1

mpachkov avatar Dec 27 '20 15:12 mpachkov

We have this problem too. @ggazzo any idea?

EnCz avatar Feb 09 '21 09:02 EnCz

rocket.chat have not any feedback 👎

anyway111 avatar Mar 02 '21 10:03 anyway111

Same issue here. Launching the app by clicking on it in Finder leads to video crashing.

However, starting the app from a terminal via /Applications/Rocket.Chat.app/Contents/MacOS/Rocket.Chat it asks for permissions and works ok. Unfortunately it still crashes if I subsequently re-launch the app from spotlight/finder.

andrewcorrigan avatar Mar 23 '21 16:03 andrewcorrigan

We also have this issue we can reproduce with fresh installed macOS 11.4 and Rocket.Chat 3.2.3. We've looked at the tcc log file with /usr/bin/log show -style syslog --predicate 'subsystem == "com.apple.TCC"' --info --last 10m and noticed this part:

This app has crashed because it has a hardened runtime and attempted to access privacy-sensitive data without an entitlement indicating its intent to access this data. The app must have the 'com.apple.security.device.audio-input' entitlement.

complete-tcc-log.txt

The pkg and dmg downloads have only 3 entitlement keys, nothing for audio or video. The MAS version has for more entitlements (15 keys, including com.apple.security.device.audio-input, com.apple.security.device.camera and com.apple.security.device.microphone) but the latest App-Store version I can get is 3.0.3 (3.2.3 is actual).

Entitlements of the pkg-version: rc-entitlements-pkg

Entitlements of the mas-version: rc-entitlements-mas

May this issue be solved, if the right entitlements would also be defined in the non MAS version?

Apfelpom avatar Jul 09 '21 15:07 Apfelpom

@cazetto @ankar84 this problem still exists ... whatever version you try to install on a fresh macos ... the app is not asking for rights to use cam, mic or screensharing so the app is crashing as soon as you start a jitsi call

i tried a lot different versions of rocketchat.app releases including the last 2.17.11 and even older ones. no one of them had any entitlements set for cam or mic or screensharing. even the last one available on app store has this problem.

Can you please fix that with high prio cause it seems like you are just not able to use rocketchat + jitsi on any new set up macos!

Thx in advance

chrisi51 avatar Sep 29 '21 20:09 chrisi51

https://github.com/RocketChat/Rocket.Chat.Electron/blob/master/build/entitlements.mas.plist this is what is needed in the .dmg .pkg app for mac

chrisi51 avatar Sep 29 '21 21:09 chrisi51

we built the app based on my fork with my last pull request included and its working ... but due to missing developer id and stuff like that its not compatible with an update to 3.5.7 (the entitlements got resetted on update process) so we will stay on our own fork until the pull request is merged.

feel free to clone my repo and build the app yourself as its described on the https://github.com/RocketChat/Rocket.Chat.Electron#readme

@ggazzo @tassoevan Would be nice, if the rocketchat team would merge the request to make entitlements available to all over the world as there are a lot of issues open for this bug :P

chrisi51 avatar Oct 06 '21 09:10 chrisi51

problem is at least related to the following issues #1802 #1845 #1912 #1965 #1981 #2012 #2132 #2184

all are based on missing entitlements

chrisi51 avatar Oct 06 '21 09:10 chrisi51

@debdutdeb Hey, Deb! Please help us to fix that and all related annoying issues with ready to go fix https://github.com/RocketChat/Rocket.Chat.Electron/pull/2191 by @chrisi51 Thank you!

ankar84 avatar Oct 06 '21 12:10 ankar84

+1 Maybe @ggazzo ?

3id0 avatar Oct 18 '21 10:10 3id0

@dudanogueira Hey, Duda! Please help us to fix that and all related annoying issues with ready to go fix #2191 by @chrisi51 Thank you!

ankar84 avatar Nov 16 '21 06:11 ankar84

----- Original Message -----

@dudanogueira ( https://github.com/dudanogueira ) Hey, Duda! Please help us to fix that and all related annoying issues with ready to go fix #2191 ( https://github.com/RocketChat/Rocket.Chat.Electron/pull/2191 ) by @ chrisi51 ( https://github.com/chrisi51 ) Thank you!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub ( https://github.com/RocketChat/Rocket.Chat.Electron/issues/1912#issuecomment-969901716 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AB4UXCM6SBVYCF54X3M6WFTUMHZRPANCNFSM4UU3YT2A ) . Triage notifications on the go with GitHub Mobile for iOS ( https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 ) or Android ( https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub ) .

Quy Le,

lequy1010 avatar Nov 16 '21 07:11 lequy1010

?

chrisi51 avatar Nov 16 '21 07:11 chrisi51