Application completely closes after 10-15 seconds. Has occurred on multiple users' systems in organization.
Application opens and functions normally. Around 10-15 seconds, it simply closes with no apparent error message or warning. Re-opening the application is successful for another 10-15 seconds, repeat ad nauseam. Disabling antivirus and/or opening as Admin did not alter behavior. A complete uninstall/reinstall did not alter behavior. This problem began occurring after 3-4 weeks of normal behavior in the application and has occurred on multiple users' workstations running similar software loadouts.
Application should not crash randomly.
This may be related to #1152
This issue was being caused by:
https://github.com/RocketChat/Rocket.Chat.Electron/issues/1152 - Crash if update check cannot contact GitHub server (2.15.1 regression)
Disabling auto-update functionality cleared problem.
So after digging a bit, this issue is because of #1152. Our internet provider is having some issues talking to aws / github and it's causing the auto updates to crash several people's Rocket.Chat clients internally and on VPN.
We're still not able to push out the updates because the electron builds aren't signed!!!! 😡
https://github.com/RocketChat/Rocket.Chat.Electron/issues/1112
If we could push it out to all of our Windows machines with the /S (silent install) and /disableAutoUpdates flags we'd be golden... but we can't, because the builds aren't signed so Windows defender alerts.
@tassoevan any ETA on a fix for signed builds so we can push out the disableAutoUpdates to everyone?
This issue was being caused by:
1152 - Crash if update check cannot contact GitHub server (2.15.1 regression)
Disabling auto-update functionality cleared problem.
Hi, How do you disable the auto-update ? I am pretty new to Electron and can't find a simple guide...
Thanks in advance for your help!
Go to:
INSTDIR\resources\
Create „update.json“
Insert:
{
“canUpdate“: false,
“autoUpdate“ false
}
See: https://github.com/RocketChat/Rocket.Chat.Electron/blob/develop/build/installer.nsh
You can also disable auto update from the about rocket.chat menu. You just have to find it as soon as you start up rocket.chat, before it attempts to do an auto update check.
Thanks @HappyTobi I am just adding some precision/easy here for beginners:
const updateSettings = (() => { // Temporary fix.
const defaultUpdateSettings = { autoUpdate: false, canUpdate: false };
//app.once('start', () => ipcMain.emit('check-for-updates'));This is important for windows and Mac users to prevent the update check when you start your application.
Else it will crash everytime you open your app.
You can also disable auto update from the about rocket.chat menu. You just have to find it as soon as you start up rocket.chat, before it attempts to do an auto update check.
(Tested on Widows 10/7) The problem is that when newly building the app or launching the dev version, it crashes. Disabling the update check trough the code is the only solution so far until we get proper way to deal with the updates.
Have a good weekend guys !
rocket.chat-desktopapp 2.17.7 don´t start on windows server 2016 as terminalserver, in RDP session.
in local session it starts proper.
i installed rc with "change user /install" and autoupdate disabled.
in events shows "ntdll.dll" error
i´ve no idea why not working.