RDM file -> refresh after network change generates unexpected exception and password server error

RDM file -> refresh after network change generates unexpected exception and password server error

avatar
jbyrkit
Disabled

When I attempt to do a file->refresh after putting my laptop to sleep, RDM shows an unexpected exception:


Devolutions.RemoteDesktopManager.Business.TryGoOfflineException: Unexpected exception ---> System.Net.WebException: Unexpected exception
at Devolutions.Server.ApiWrapper.RestClient.GetResponse[T](HttpWebRequest request)
at Devolutions.RemoteDesktopManager.Business.DataSources.RDMSWebApiClient.cfd23ab33f7c1744d0a58e1a2eba34749.c787e16f94d9bb690ed1854e16d496fe1()
at Devolutions.RemoteDesktopManager.Business.DataSources.RDMSWebApiClient.c5f4f6c72c053c0cd60a62abeeaa43fdf[cb75a0a5d15a1ad8b8a8a5e57cca214a3](c31561c0d54939abd223ac7c0cf30e7e6`1 c6cc9ab02b2ea9ccd42c7c0497677bcc2, ExecuteActionLogMode c92f46156e371279a4f61cd5822be5fee)
--- End of inner exception stack trace ---


And the devolutions password server emails me this error:
The following error was received by jbyrkit@pao.pinellas.gov at 11/28/2018 7:52:02 AM
Error:
DirectoryServicesCOMException - The user name or password is incorrect. at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_AdsObject() at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne) at System.DirectoryServices.DirectorySearcher.FindOne() at Devolutions.RemoteDesktopManager.Managers.DirectoryServicesManager.GetGroups(UserPrincipal userPrincipal, PrincipalContext context, DirectoryServicesQueryParameter parameter) at Devolutions.RemoteDesktopManager.Managers.DirectoryServicesManager.GetUserDetails(String fullName, DirectoryServicesQueryParameter directoryServicesQueryParameter, Boolean isMultiDomain, RoleEntity[] roleNames) at Devolutions.Server.Controllers.APIControllers.V2.BackendApiController.GetCurrentUser(GetCurrentUserData data) at lambda_method(Closure , Object , Object[] ) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.b__9(Object instance, Object[] methodParameters) at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken) --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.ActionFilterAttribute.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Filters.AuthorizationFilterAttribute.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ExceptionFilterResult.d__0.MoveNext() --- Default
Source:
System.DirectoryServices



This may be related to the windows authentication issues you've been dealing with, since my actual domain is pao2k\jbyrkit (jbyrkit@pao2k.co.pinellas.fl.us), but because we participate in office365 under another tenant, we use an alternate UPN...jbyrkit@pao.pinellas.gov.

I have to exit RDM and then re-run it to get things to work again.
RDM version 14.0.6.0
DPS version 6.0.2.0 (maybe 6.0.1.0), see attached screen shot. it says both 6.0.2.0 and 6.0.1.0 and keeps wanting to upgrade to 6.0.2.0 which i do.

Capture.PNG

All Comments (13)

avatar

Hello,

Thank you for this information. I will try to reproduce it and will let you know my findings. I would need some information from your RDM. Could you please go in Help - Submit a Support Ticket and send me both reports?

The reason why you still get a prompt to upgrade to version 6.0.2 is that the DPS Console is still on version 6.0.1. You can check the lower left corner of the DPS Console to know which version is running. The other version number, 6.0.2, is the web application version. So you can update the DPS Console to version 6.0.2 without any problem.



Best regards,

Érica Poirier

2018-11-28_11-22-48.png

avatar

how do i upgrade the console?

avatar

ticket submitted

avatar

Hello,

To upgrade the DPS Console, go in the Options menu on the top right corner and select Check for updates. You will then get the upgrade dialog.



Best regards,

Érica Poirier

2018-11-28_13-40-23.png

avatar

That's the update i've done multiple times. It doesn't seem to update the console.

avatar

the answer is: "download and install when i exit the application", not "download and install now"

avatar

Hello,

You can also download the installer package on the following page with the Download Console blue button.
https://server.devolutions.net/home/download

Best regards,

Érica Poirier

avatar

any update on this?

avatar

Hello,

A lot of fixes has been made in the latest DPS and RDM version. I would recommend you to upgrade to the latest versions (DPS 6.1 and RDM 14.1).

We strongly recommend following the instructions on this online help page: Upgrading Devolutions Password Server

We also offer free remote session to assist you during the upgrade process of your DPS instance. If you would like to book a session, please send an email to ticket@devolutions.net and we will send you our online calendar.

Best regards,

Érica Poirier

avatar

i get the same error after updating server to 6.1 and rdm to 14.1.

avatar

Hello,

Have you configured the Administration credentials field in the Domain tab of the DPS settings? If not, could you please populate this field with a domain account that can run LDAP queries to gather user account information?



Best regards,

Érica Poirier

avatar

i did not have that set. I set it, and now it reconnects. Thanks!

avatar

Hello,

Thank you for your feedback and glad that it's working now.

Best regards,

Érica Poirier