Errors in log and very(!) slow load

Implemented

Errors in log and very(!) slow load

avatar

Loading the application takes ages.

and I have just encountered this error:
[11/15/2022 12:19:57 PM]ERROR SILENT System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponseFromData (System.Net.WebResponseStream stream, System.Threading.CancellationToken cancellationToken) [0x00146] in <58e88939c75d416cab24e33b5bbb4b46>:0
at System.Net.HttpWebRequest.RunWithTimeoutWorker[T] (System.Threading.Tasks.Task`1[TResult] workerTask, System.Int32 timeout, System.Action abort, System.Func`1[TResult] aborted, System.Threading.CancellationTokenSource cts) [0x000f8] in <58e88939c75d416cab24e33b5bbb4b46>:0
at System.Net.HttpWebRequest.GetResponse () [0x00016] in <58e88939c75d416cab24e33b5bbb4b46>:0
at Devolutions.Utils.StreamUtils.ReadFileContentFromWeb (System.String filenameUrl, System.Boolean useDefaultCredentials) [0x00028] in <83c3511df280460a9938a8528bb30441>:0
at Devolutions.Utils.StreamUtils.ReadFileContentFromWeb (System.String filenameUrl) [0x00000] in <83c3511df280460a9938a8528bb30441>:0
at Devolutions.RemoteDesktopManager.Managers.BrowserExtensionManager.GetExternalAddOnLines () [0x00000] in <cb0fb2cfa20448928afe2a23643abd8b>:0

All Comments (11)

avatar

Hi,

Could you quantify "ages"? The application launch time is indeed long, and we know at least part of the reason, but it has so far been a limitation we've been unable to easily workaround (we had a "fix", but it caused other instability that were a lot more problematic).

As for your error, can you confirm that it occurs by opening the Extension Manager?

Best regards,

Xavier Fortin

avatar

Ok, so if Microsoft Remote Desktop is stuck on a dead connection then Manager will not load.
I think that I navigated to extension manager.

I'll try to reproduce the issue and share it with a screen recording.

avatar

"Ok, so if Microsoft Remote Desktop is stuck on a dead connection then Manager will not load."

Can you elaborate on what you mean? I'm not sure I understand this.

Best regards,

Xavier Fortin

avatar

I have Microsoft Remote Desktop application along side with Connection Manager.
The Microsoft RDP had a dead connection (Server restarted, and disconnected RDP - yields a black screen with error message)
The same server is listed in manager.

I had to free the Microsoft RDP and close it, before the Manager was willing to start.

I'll post a screen recording as soon as it happens to me again.

avatar

That's quite weird. So because Microsoft Remote Desktop add a failed connection, Remote Desktop Manager would now open at all? Is it something you can reproduce consistently?

Indeed, if you can provide a screen recording, that could prove useful.

Best regards,

Xavier Fortin

avatar

Ok, Finally got the video of the slow startup.
See attached.

Screen Recording 2022-11-17 at 8.52.50.mov

avatar

Yeah, this is definitely too long. It takes about 10 seconds in my case for the app to stop bouncing and launch.

Has it always been this long? Do you have access to another Mac computer to compare if it's also this long on it? The whole bouncing phase occurs well before the app state reaches managed code, so it suggests something is somehow slowing down the launch of RDM. Do you maybe have an antivirus or something of the sort installed that could be adding some overhead to the launch of RDM specifically?

Can you provide a screenshot of your Mac About window?

Best regards,

Xavier Fortin

avatar

Hey there,

Sometimes it's better but usually it takes that long.
I'll try to access a M1 mac. mine is an intel mac.
We have a Microsoft Defender installed as part of organization policy.
I have just excluded the manager from Defender - looks better. but I'll let you know on the long run.

See my about window:

forum image

avatar

With a Core i9 processor, the hardware is definitely not the issue. The antivirus could possibly be the culprit, but that still surprises me. Please, do keep me posted.

Best regards,

Xavier Fortin

avatar

Sure!

So, once I excluded the Remote Desktop Manager app from the Defender, everything began working smoothly.
I guess that was the issue.
However - I use many apps that are not excluded, and yet there is no issue.

avatar

Unfortunately, it's difficult to know why Defender would start making issue for Remote Desktop Manager. The application is signed and notarized, therefore following all Apple's guideline to ensure the app is legitimate and unaltered from it's original form. Also, as mentioned earlier, the entirety of the bouncing phase is out of our hands, for all intent and purpose, the app is not launch at that point.

I'll get in touch with our security team to see if they might have an idea of why this is happening.

Best regards,

Xavier Fortin