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

[Bug] JavaScript error on main process only on Terminal Server

Open ankar84 opened this issue 2 years ago • 6 comments

Describe the bug That error experienced only on Terminal Server with version 3.8.6 Regular computers don't have that problem. Some time after start users get Error windows
image and after that desktop client is not workable.

What operating system and which version? Windows Server 2016 Which version of Rocket.Chat (Server)? 4.6.3 Which version of Rocket.Chat.Electron (Electron/Desktop)? 3.8.6 Is there any setting relevant changed? We have overriden-settings.json

To Reproduce Steps to reproduce the behavior:

  1. Install RC.Electron version 3.8.6 on Terminal Server
  2. Launch that remote application
  3. Get error

Expected behavior Normal work of RC.Electron application on Terminal Server

Screenshots image

Additional context Here is a overriden-settings.json config file

``` { "isReportEnabled": false, "isInternalVideoChatWindowEnabled": true, "isFlashFrameEnabled": true, "isMenuBarEnabled": true, "isTrayIconEnabled": true, "isMinimizeOnCloseEnabled": true, "isUpdatingEnabled": false, "doCheckForUpdatesOnStartup": false, "isAddNewServersEnabled": false }
</details>

ankar84 avatar May 16 '22 10:05 ankar84

@ankar84 the version 3.8.5 didnt break like this?

jeanfbrito avatar May 16 '22 17:05 jeanfbrito

@ankar84 the version 3.8.5 didnt break like this?

I don't know that. According to some issue reports here (one, two) I skipped 3.8.5 to test on Terminal Server and get 3.8.6. It works in general, it gives different users to launch application on same server (which wasn't true with 3.8.5, as far I know). But that error appears 100%

ankar84 avatar May 17 '22 03:05 ankar84

And on another one machine (regular computer, not terminal server) I have similar error on auto-update process image

ankar84 avatar May 17 '22 03:05 ankar84

Could be related to https://github.com/electron/electron/issues/34265

ankar84 avatar May 19 '22 11:05 ankar84

Did you tested if it happens without the overridden-settings.json? But I think that's a electron issue.

jeanfbrito avatar Jun 14 '22 16:06 jeanfbrito

But I think that's a electron issue.

Yes, I'm almost 100% sure it is an Electron issue.

ankar84 avatar Jun 16 '22 12:06 ankar84

Testing 3.8.8 now. I will update...

ankar84 avatar Aug 24 '22 04:08 ankar84

Any news about this @ankar84 ?

jeanfbrito avatar Sep 01 '22 19:09 jeanfbrito

We already testing 3.8.8 on terminal farm infrastructure and don't see that error yet. So, now I'm closing that issue. But I will reopen it is something wrong will happen. Thank you Jean!!

ankar84 avatar Sep 02 '22 00:09 ankar84

Issue is still here! After amount of users on server become 10 and more error come back on 3.8.8

ankar84 avatar Oct 24 '22 05:10 ankar84

@jeanfbrito just tested on version 3.8.11 and error appeared starting 5 users on server.

ankar84 avatar Oct 27 '22 05:10 ankar84

@ankar84 sorry I lost the notification. Is this a issue yet? Just on TS this happens?

jeanfbrito avatar Dec 27 '22 12:12 jeanfbrito

@ankar84 sorry I lost the notification. Is this a issue yet? Just on TS this happens?

Hey, @jeanfbrito Yeap, issue is still here. It appears only on terminal server and when number of connected users launching rocket chat application is about 11 and more. So, just launch rocket chat on TS is not enough to reproduce that issue.

ankar84 avatar Dec 27 '22 15:12 ankar84