ninite pro web interface not working in chrome session

Resolved Implemented

ninite pro web interface not working in chrome session

avatar

hi,

this https://ninite.com/pro-interface/#overview is broken for some time in chrome sessions but works in edge. problem is, that edge is just one session for the whole of RDM where as chrome has separate sessions, so edge is not really a workaround here. can you check?

All Comments (22)

avatar

Hello,

Thank you for contacting us on this subject!

I tested quickly and was able to access the URL you provided in an embedded web session in RDM without issues, both with Chrome and Edge.

I would like to verify what the behavior is for you when you try to access this web page in Chrome.

I would also like to ask for more details about what is preventing you from using Edge as your embedded browser in RDM, I'm not certain I understand what you mean.

Best regards,


Gabriel Degrandpré

avatar

sorry, I should have been more specific. the problem comes up after logging in. I can give you a login via PM or can I send you some logs that you see what's going on.

re edge: when using chrome embedded, every session is it's own chrome browser. so you can be logged in different accounts in different sessions. in my experience with the edge session, every edge session in RDM shares the same credentials, as if you would open just new tabs within edge.

avatar

Hello,

First of all, I would like to apologize for the delay since my last response here, I have unfortunately been sidetracked and had to put my tests for this case on hold for a moment.

That being said, I believe I was able to replicate the issue, but I would like to verify what happens for you when you try to log into Ninite Pro to confirm we indeed have the same issue. On my side, it results in a blank white page.

Best regards,


Gabriel Degrandpré

avatar

that's what I see:
forum image

avatar

Hello,

We are having a hard time replicating this issue internally. I can only replicate a similar behavior when using an embedded Internet Explorer session. In Chrome, the page works as expected.

I would like to verify first of all what version of RDM you currently use, and also if it would be possible to provide us screenshots of your session's properties, so I can try to see if a specific option is causing the issue.

Best regards,


Gabriel Degrandpré

avatar

here you go:

forum image
forum image
forum image
forum image

avatar

Hello,

I apologize for not mentioning it sooner, but I have shared the configuration with our engineering team. Thank you for the screenshots!

I will keep you posted as development is made on the case!

Best regards,


Gabriel Degrandpré

avatar

Hello,

I would like to verify if you had the opportunity to update to RDM 2021.2.27.0 since our last exchanges. As I was trying to replicate the issue again to gather some more information about the issue, I noticed that I don't seem to replicate it anymore, and the page displayed as expected.

Best regards,


Gabriel Degrandpré

avatar

same error message with RDM 2021.2.27.0, sorry..

avatar

Hello,

Thank you for your response. In that case, I would appreciate, when you have the time, if you could try a portable instance of RDM, to verify if the issue with the Ninite pro website occurs even with a fresh installation and default configurations.

Here are the steps to create a portable instance of RDM :
1. Download the RDM zip folder from the link below :
https://remotedesktopmanager.com/home/thankyou/rdmbin
2. Extract this zip in an empty folder of your choice
3. Launch RemoteDesktopManager64.exe from this folder
4. Register your license

Once that is done, please recreate your web entry from scratch and verify if the website still gives an error.

Best regards,


Gabriel Degrandpré

avatar

first login: interface loads.
close tab
open tab
second login (I was already logged in): same error
forum image

avatar

Could you please try the latest beta (https://remotedesktopmanager.com/home/downloadenterprise#Beta).

Note: is you are a SQL Server or MySQL data source a database migration will be required. Make sure you have a proper database backup.

this https://ninite.com/pro-interface/#overview is broken for some time in chrome sessions but works in edge. problem is, that edge is just one session for the whole of RDM where as chrome has separate sessions, so edge is not really a workaround here. can you check?


We now have incognito support for Embedded Edge.

You can now create Embedded Edge session with the following checked and all should work:

  • Private Sessions (incognito)
  • Clear cache before start
    • optional
  • Ignore certificate error
    • optional


Please give it a try a let us know.

Best regards,

Stéfane Lavergne

avatar

Ok, I don't have the time right now to test this, so I think I will wait for the release. From what I read I think it would be sensible to default the settings to incognito mode without clearing cache - this would simulate the current behaviour with the chrome sessions.

Will there be a way to bulk change entries when we think everything works as expected?

avatar
Ok, I don't have the time right now to test this, so I think I will wait for the release. From what I read I think it would be sensible to default the settings to incognito mode without clearing cache - this would simulate the current behaviour with the chrome sessions.

No problem, no rush.
Like with Embedded Chrome we support, "Clear cache on startup". Private mode & clear cache on startup are independent.
We might also add an option called "Clear cache on close". This way nothing from the session would remain on disk once it's closed.

Will there be a way to bulk change entries when we think everything works as expected?

Yes, we can give you a PowerShell script that you can simply paste into the Edit > Edit (Special Actions) > Custom PowerShell Command and this will automatically convert all your entries.

I've yet to write the script. I will get to that soon.

Stéfane Lavergne

avatar

ok, just a heads up, ninite pro now works really nice in embedded edge. I would wait a bit until I convert all entries, but if you can send the script..

also, as edge needs webview2 it would break a lot of entries when installing RDM on a new system (which usually hasn't installed it). I think you should install webiew2 by default with RDM now as you seem to rely more on it..

avatar

Hello,
I'm glad to see that WebView2 works well. Indeed we will soon add the runtime in the installer prerequisite and this was recently added in Advanced Installer.

Regards

David Hervieux

avatar
  • Select the entries you want to convert
  • Edit > Edit (Special Actions) > Custom PowerShell Command


Notes

  • The script will convert your Embedded non-Edge web entries to Embedded Edge
    • skipping entries that are of the wrong type or already converted.
  • We disable features not currently supported by Embedded Edge
  • You can change the script by removing the "#" from any line if you want to force that particular option
if ($connection.ConnectionType -eq "WebBrowser" -And $connection.ConnectionSubType -ne "Edge" -And $connection.OpenEmbedded -eq $true)
{
    $connection.ConnectionSubType = "Edge";
    $connection.WebBrowserApplication = "Edge";
    
    # features supported in Embedded Edge that won't change, remove the "#" to force them to $true
    # $connection.Web.ClearCache = $true;
    # $connection.Web.ForceHttps = $true;
    # $connection.Web.IgnoreCertificateErrors = $true;
    # $connection.Web.PrivateSession = $true;
    
    # disable features not supported in Embedded Edge
    $connection.Web.DisableAutoFillOnNewTab = $false;
    $connection.Web.DisableLoadingMessages = $false;
    $connection.Web.DisableSameOriginPolicy = $false;
    $connection.Web.EnableKeyboardShortcuts = $false;
    $connection.Web.AlwaysLaunchOnProtocolRequest = $false;
    $connection.Web.IgnoreCertificateAuthentication = $false;

    # Enable "Disable SmartScreen" if session is private mode, remove the "#" to force it to $true
    if ($connection.Web.PrivateSession)
    {
        # $connection.Web.DisableSmartScreen = $true;
    }
    
    $RDM.Save();
}

Stéfane Lavergne

avatar

As always make sure you have a proper backup before doing batch jobs like this.

Stéfane Lavergne

avatar

thanks, do you have the same for existing chrome sessions? (almost all our sessions are embedded chrome)

what would be the option to disable the "smartscreen" option in embedded edge? (and is this suggested? what does it bring?)

avatar

The above script will already convert any Embedded sessions to Edge (Chrome, IE or Default)

Smartscreen
https://support.microsoft.com/en-us/microsoft-edge/what-is-smartscreen-and-how-can-it-help-protect-me-1c9a874a-6826-be5e-45b1-67fa445a74c8

You can test it with the following samples
https://demo.wd.microsoft.com/Page/UrlRep

Stéfane Lavergne

avatar

thanks!

I know about smartscreen but is there a reason why there is this option in RDM? does it speed up things to disable it?

avatar

As far as I can figure out, it will only prevent the popup from being displayed and not block sites that violates the protection. Not sure it changes anything performance-wise.

Stéfane Lavergne