Forum

Posts by holger02 (holger02)

holger02
holger02
Posts: 11

Hello,

are there any news to this issue?

I´m sure, that there is a Problem getting AD inforamtion. This may be the reason, why DPS cannot match the account to the group. I doublechecked the Membership of the account and thats OK. On our old DPS Installation it´s working … only extremly slow.

Best regards … Holger

2 yrs DVLS Web slow to show Vault content
holger02
holger02
Posts: 11

Hi,

the user is member of that group. In out old enviroment this user can logon.

Best regatds ... Holger

2 yrs DVLS Web slow to show Vault content
holger02
holger02
Posts: 11

Hi,

i have installed the Update to 6.0.1.0.

No changes … when AD Caching is enabled, no Login with AD credentials possible.

With AD Cache disabled, I get the error "User is not a member of the allowed group for automatic account creation."

Best regards … Holger

2 yrs DVLS Web slow to show Vault content
holger02
holger02
Posts: 11

Hi,
we have left some old Windows Server 2008 R2 DCs … so we are using AD and Forest Schema Level 2008 R2.
The Server running DPS is 2012 R2.

Best regards … Holger

2 yrs DVLS Web slow to show Vault content
holger02
holger02
Posts: 11

Sent!

2 yrs DVLS Web slow to show Vault content
holger02
holger02
Posts: 11

Hi,

this is the log entry, when I try to Access the web Login with a Domain account.

2 yrs DVLS Web slow to show Vault content
holger02
holger02
Posts: 11

Hi,

I Setup a new test enviroment, using a new Windows 2012 R2 Installation, a Fresh Installation of DPS accessing a copy of the database running on our SQLCluster.

When I try to Login with an Domain account, I see this message inside the logs:

-------------------------------------------------------------------------------------------------------------------------
NullReferenceException - Object reference not set to an instance of an object.

at Devolutions.Server.Managers.AuthenticationProvider.ProcessDomainUserInfo(String userName, String password, LoginContext membershipLoginData)
at Devolutions.Server.Managers.AuthenticationProvider.DoValidateUserMultiDomain(LoginContext loginData, String username, String password, UserData userData)
at Devolutions.Server.Managers.AuthenticationProvider.DoValidateUser(LoginContext loginData, String username, String password)
at Devolutions.Server.Managers.AuthenticationProvider.AuthenticateUser(LoginContext loginData, String userName, String password)
at Devolutions.Server.Managers.AuthenticationProvider.DoValidateUserFull(LoginContext loginData, String userName, String password)
at Devolutions.Server.Controllers.APIControllers.V2.BackendApiController.DoLogin(SessionContext context, String userName, String password, ClientApplicationInfo clientApplicationInfo, String twoFactorID, TwoFactorInfo twoFactorInfo, String publicIPAddress, Byte[] sessionKey, String repositoryId, Boolean partialMode, Boolean useWindowsAuthentication, Boolean useAzureADAuthentication, String localMachineName, String localMachineUserName)
at Devolutions.Server.Controllers.APIControllers.V2.BackendApiController.Login(LoginData loginData, Boolean partialMode)
at lambda_method(Closure , Object , Object[] )
at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>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.<InvokeActionAsyncCore>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.<CallOnActionExecutedAsync>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.<CallOnActionExecutedAsync>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.<ExecuteActionFilterAsyncCore>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.<CallOnActionExecutedAsync>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.<CallOnActionExecutedAsync>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.<ExecuteActionFilterAsyncCore>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.<ExecuteAsync>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.<ExecuteAsync>d__0.MoveNext()
-------------------------------------------------------------------------------------------------------------------------

Access from RDM causes the same error.

Best regards … Holger

2 yrs DVLS Web slow to show Vault content
holger02
holger02
Posts: 11

Hello,

I add an DVLS Admin User and tried again. It seems a littel bit better but no amazing speedup:

It looks like an AD issue with syncing AD Groups and with authentication. Both takes a lot time.

Main thread (UI)
----------------------------------------
Executing mapping: mnuForceRefresh
Executing shortcut:mnuForceRefresh
HasOfflineSessionChanges : 0 ms
RefreshUserSecurityContext : 7958 ms
LoadConnections [Devolutions Password Server : S099SRV57] - 64-bit...
DisposeAndClearConnections : 3 ms
reload: True hasSecurityChanged: True hasChanged: True
HasOfflineChanges...
LoadConnectionsFromOfflineFile...
DeserializeData : 0 ms
ReadFromOffline : 0 ms
LoadConnectionsFromOfflineFile : 0 ms
HasOfflineSessionChanges : 0 ms
HasOfflineChanges : 0 ms
RefreshUserSecurityContext : 183 ms
DisposeAndClearConnections : 0 ms
LoadConnectionsFromDataSource...
LoadDataSourceSettingsFromDataSource...
GetDataSourceSettings : 6617 ms
LoadDataSourceSettingsFromDataSource : 6617 ms
GetConnections...
RDMS.GetConnections...
this.dataSourceSettingsConnectionData : 0 ms
ConnectionInfos.Foreach...
DecryptData : 57 ms - Count : 3844
DeserializeData : 1632 ms - Count : 3844
Log - multi-threaded : 5 ms
Decrypt - multi-threaded : 0 ms
LoadObjectFromString - multi-threaded : 0 ms
ConnectionInfos.Foreach : 1723 ms
Fetched 3844 sessions
Fetched 0 removed sessions
RDMS.GetConnections : 1724 ms
GetConnections : 1724 ms
DoMergeConnections...
PrepareConnectionList : 8 ms
Loop...
MigrateConnection : 42 ms
OfflineManager.Merge : 0 ms
MergeWithList - Contains : 0 ms
MergeWithList : 950 ms
Loop : 1274 ms
Filter : 0 ms
DisposeAndClearConnections : 0 ms
VerifyMissingAddons : 2 ms
DoMergeConnections : 1305 ms
LoadConnectionsFromDataSource : 9982 ms
DisposeAndClearConnections : 0 ms
LoadConnections [Devolutions Password Server : S099SRV57] - 64-bit : 10554 ms
Connection States: Refresh...
ClearClosedRunning : 35 ms
GetAllConnectionStates : 41 ms - Count : 3
HasChanges : 0 ms
CreateConnectionStateDictionary : 0 ms
Connection States: Refresh : 77 ms
TreeView.LoadConnectionList...
GetGroupInfos : 0 ms
BeginUpdate...
ApplyGroupCustomImages : 0 ms
LoadConnectionInTreeNode : 1672 ms
PreCreateGroups : 341 ms - Count : 1
BeginUpdate : 2018 ms
TreeView.LoadConnectionList : 2018 ms
CreateConnectionStateDictionary : 0 ms
SelectionChanged : 221 ms

2 yrs DVLS Web slow to show Vault content
holger02
holger02
Posts: 11

Hi,

when I copy the log to Notepad++, there are About 27.000 Lines with "CreateConnectionStateDictionary : 0 MS"

I have removed These lines from the file and attach it here …

Best regards … Holger

2 yrs DVLS Web slow to show Vault content
holger02
holger02
Posts: 11

Hello,

the traces are uploaded!

2 yrs DVLS Web slow to show Vault content
holger02
holger02
Posts: 11

Hello,

we have a very similar issue on a customer Installation of DVLS.

We are running DVLS 5.1.1.0 with a high Performance SQL Cluster (SQL Server 11.0.6607.3) as backend.
The Vault contains about 3000 entries.
We are using AD Authentication with about 100 roles.

When I access the Vault via web, it take About 30-60 sec. to open the vault. When I access the vault via RDM it also takes that long.
When I run the performance profiling tool inside RDM and e.g. duplicate an entry, I can see this:

LoadConnections [Devolutions Password Server : S099SRV57] - 64-bit : 14065 MS

It takes 14 sec to load the Connections?

What is the reason for this?


I put the whole vault on a test-DVLS in my Office. No Problems. The difference seem to be anything with Authentication or the Roles. In my AD, we only have about 50 users.

How can I speedup the DVLS on the customer side?

Any ideas?

2 yrs DVLS Web slow to show Vault content