Unable to login to Studio and admin module

Hi,

I can’t login to Studio and admin module even though entering correct credentials. All components are running. I think this must be an authentication related issue. Kindly help me in this. PFB my logs

Logs:

{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“instid”:“0”,“level”:“Info”,“priority”:“1”,“srcmodule”:“Utilities.Logging”,“method”:“Logging”,“message”:“Loaded InstanceID from app.config. Value is : 0”,“description”:“NA”,“datetime”:“2023-01-05T10:40:06.617-05:00”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“instid”:“0”,“level”:“Info”,“priority”:“1”,“srcmodule”:“Utilities.Logging”,“method”:“Logging”,“message”:“Loaded logIP from app.config. Value is : True”,“description”:“NA”,“datetime”:“2023-01-05T10:40:08.823-05:00”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“instid”:“0”,“level”:“Info”,“priority”:“1”,“srcmodule”:“Utilities.Logging”,“method”:“Logging”,“message”:“Loaded logUserID from app.config. Value is : True”,“description”:“NA”,“datetime”:“2023-01-05T10:40:08.823-05:00”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“instid”:“0”,“level”:“Info”,“priority”:“1”,“srcmodule”:“Utilities.Logging”,“method”:“Logging”,“message”:“Loaded logErrorDetails from app.config. Value is : True”,“description”:“NA”,“datetime”:“2023-01-05T10:40:08.823-05:00”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“instid”:“0”,“level”:“Info”,“priority”:“1”,“srcmodule”:“Utilities.Logging”,“method”:“Logging”,“message”:“Loaded LogTypePushToElastic from app.config. Value is : None”,“description”:“NA”,“datetime”:“2023-01-05T10:40:08.823-05:00”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“instid”:“0”,“level”:“Info”,“priority”:“1”,“srcmodule”:“Utilities.Logging”,“method”:“Logging”,“message”:“Finished loading module - category mapping information. Mapping found for 1 modules”,“description”:“NA”,“datetime”:“2023-01-05T10:40:08.844-05:00”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“instid”:“0”,“level”:“Info”,“priority”:“1”,“srcmodule”:“Utilities.Logging”,“method”:“Logging”,“message”:“Loading Log Settings”,“description”:“NA”,“datetime”:“2023-01-05T10:40:08.844-05:00”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“instid”:“0”,“level”:“Info”,“priority”:“1”,“srcmodule”:“Utilities.Logging”,“method”:“Logging”,“message”:“Finished Log Settings”,“description”:“NA”,“datetime”:“2023-01-05T10:40:08.850-05:00”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“co_module”:“SE_ACE”,“inst_key”:“0”,“trans_key”:“0”,“trans_id”:“”,“crossref_id”:“”,“workspacekey”:“Default”,“datetime”:“2023-01-05T10:40:14.470-05:00”,“level”:“Error”,“priority”:“0”,“srcmodule”:“IDE.App”,“method”:“App_DispatcherUnhandledException”,“errormessage”:“Desktop applications are required to opt in to all earlier accessibility improvements to get the later improvements. To do this, ensure that if the AppContext switch ‘Switch.UseLegacyAccessibilityFeatures.N’ is set to ‘false’, then ‘Switch.UseLegacyAccessibilityFeatures’ and all ‘Switch.UseLegacyAccessibilityFeatures.M’ switches, when M < N, evaluate to false as well. Note that, if a switch for a particular set of accessibility improvements is not present, its value is determined by the target framework version. You can remedy this by adding these switches and setting their value to false.”,“errordetails”:“ExceptionMessage - Desktop applications are required to opt in to all earlier accessibility improvements to get the later improvements. To do this, ensure that if the AppContext switch ‘Switch.UseLegacyAccessibilityFeatures.N’ is set to ‘false’, then ‘Switch.UseLegacyAccessibilityFeatures’ and all ‘Switch.UseLegacyAccessibilityFeatures.M’ switches, when M < N, evaluate to false as well. Note that, if a switch for a particular set of accessibility improvements is not present, its value is determined by the target framework version. You can remedy this by adding these switches and setting their value to false. \r\nExceptionSource - WindowsBase \r\nExceptionTarget - Void WriteEventAndThrow(System.String) \r\nStackTrace - System.NotSupportedException: Desktop applications are required to opt in to all earlier accessibility improvements to get the later improvements. To do this, ensure that if the AppContext switch ‘Switch.UseLegacyAccessibilityFeatures.N’ is set to ‘false’, then ‘Switch.UseLegacyAccessibilityFeatures’ and all ‘Switch.UseLegacyAccessibilityFeatures.M’ switches, when M < N, evaluate to false as well. Note that, if a switch for a particular set of accessibility improvements is not present, its value is determined by the target framework version. You can remedy this by adding these switches and setting their value to false.\r\n at System.Windows.AccessibilitySwitches.WriteEventAndThrow(String message)\r\n at System.Windows.AccessibilitySwitches.<>c__DisplayClass27_0.b__0()\r\n at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“co_module”:“SE_ACE”,“inst_key”:“0”,“trans_key”:“0”,“trans_id”:“”,“crossref_id”:“”,“workspacekey”:“Default”,“datetime”:“2023-01-05T10:40:14.625-05:00”,“level”:“Warning”,“priority”:“10”,“srcmodule”:“IDE.App”,“method”:“App_DispatcherUnhandledException”,“message”:" Critical Dispatcher breakdown",“description”:“”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“workspacekey”:“Default”,“datetime”:“2023-01-05T10:40:17.953-05:00”,“level”:“Info”,“priority”:“0”,“srcmodule”:“Utilities.Mutate.Device”,“method”:“ctor”,“message”:“Loading Default Cryptography Alorithm as cannot find custom algorithm”,“description”:“NA”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“workspacekey”:“Default”,“datetime”:“2023-01-05T10:40:17.953-05:00”,“level”:“Info”,“priority”:“0”,“srcmodule”:“Utilities.Mutate.Device”,“method”:“ctor”,“message”:“Loading AES Cryptography Algorithm for RPA”,“description”:“NA”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“co_module”:“SE_ACE”,“inst_key”:“0”,“trans_key”:“0”,“trans_id”:“”,“crossref_id”:“”,“workspacekey”:“Default”,“datetime”:“2023-01-05T10:40:18.068-05:00”,“level”:“Info”,“priority”:“0”,“srcmodule”:“Utilities.AERestClient.AERestClient”,“method”:“ValidateProtocol”,“message”:“Validating http protocol.”,“description”:“NA”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“co_module”:“SE_ACE”,“inst_key”:“0”,“trans_key”:“0”,“trans_id”:“”,“crossref_id”:“”,“workspacekey”:“Default”,“datetime”:“2023-01-05T10:40:19.016-05:00”,“level”:“Warning”,“priority”:“0”,“srcmodule”:“GeneratorModule”,“method”:“CheckIfExcelIsInstalled”,“message”:“Excel is not installed hence loading of excel plugin will be skipped”,“description”:“NA”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“co_module”:“SE_ACE”,“inst_key”:“0”,“trans_key”:“0”,“trans_id”:“”,“crossref_id”:“”,“workspacekey”:“Default”,“datetime”:“2023-01-05T10:40:27.271-05:00”,“level”:“Info”,“priority”:“0”,“srcmodule”:“ServiceConnector.UMDataManager”,“method”:“GetAuthScheme”,“message”:“Entered Method”,“description”:“NA”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“co_module”:“SE_ACE”,“inst_key”:“0”,“trans_key”:“0”,“trans_id”:“”,“crossref_id”:“”,“workspacekey”:“Default”,“datetime”:“2023-01-05T10:40:27.280-05:00”,“level”:“Info”,“priority”:“0”,“srcmodule”:“ServiceConnector.UMDataManager”,“method”:“GetAuthScheme”,“message”:“Exited Method”,“description”:“NA”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“co_module”:“SE_ACE”,“inst_key”:“0”,“trans_key”:“0”,“trans_id”:“”,“crossref_id”:“”,“workspacekey”:“Default”,“datetime”:“2023-01-05T10:40:50.326-05:00”,“level”:“Error”,“priority”:“0”,“srcmodule”:“Utilities.AERestClient.Auth.AEAuthenticator”,“method”:“Authenticate”,“errormessage”:“Unauthorized-Error message”,“errordetails”:“ExceptionMessage - Unauthorized-Error message \r\nExceptionSource - Utilities.AERestClient \r\nExceptionTarget - Utilities.AERestClient.ApiModels.AuthResponse CustomAthentication(Utilities.AERestClient.ApiModels.AuthRequest, System.String, System.String ByRef) \r\nStackTrace - Logging Stack Trace is disabled”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“instid”:“0”,“level”:“Error”,“priority”:“5”,“srcmodule”:“LoginViewModel”,“method”:“AuthenticateUser”,“errormessage”:“Unauthorized-Error message”,“datetime”:“2023-01-05T10:40:50.330-05:00”,“errordetails”:“ExceptionMessage - Unauthorized-Error message \r\nExceptionSource - Utilities.AERestClient \r\nExceptionTarget - Utilities.AERestClient.ApiModels.AuthResponse CustomAthentication(Utilities.AERestClient.ApiModels.AuthRequest, System.String, System.String ByRef) \r\nStackTrace - Utilities.AERestClient.ApiModels.AERestClientException: Unauthorized-Error message\r\n at Utilities.AERestClient.AERestClient.AuthenticateUser(AuthRequest authRequest)\r\n at ServiceConnector.UMDataManager.AuthenticateUser(Dictionary2 authParams, SecurityInfo& securityInfo)\r\n at ServiceConnector.DataServiceBaseClass.AuthenticateUser(Dictionary2 authParams, SecurityInfo& securityInfo)\r\n at Common.XmlConfigManager.AuthenticateUser(Dictionary2 authParams)\r\n at Common.Studio.StudioUMLoader.AuthenticateUser(String userName, String uPwd, String customStrategy, Boolean ssoRoleBasedAuth)\r\n at ServerInstanceViewModel.ViewModel.ServerInstanceViewModel.AuthenticateUser()","userid":"xxxxx","ipaddress":"xxxxx","LogType":"Default"} {"MachineName":"xxxxx","ProcessId":"3352","ProcessName":"C:\\AERPA19.1\\AutomationStudio\\Automation Studio.exe","co_module":"SE_ACE","inst_key":"0","trans_key":"0","trans_id":"","crossref_id":"","workspacekey":"Default","datetime":"2023-01-05T10:40:50.336-05:00","level":"Error","priority":"0","srcmodule":"IDE.App","method":"App_DispatcherUnhandledException","errormessage":"Unauthorized-Error message","errordetails":"ExceptionMessage - Unauthorized-Error message \r\nExceptionSource - Utilities.AERestClient \r\nExceptionTarget - Utilities.AERestClient.ApiModels.AuthResponse CustomAthentication(Utilities.AERestClient.ApiModels.AuthRequest, System.String, System.String ByRef) \r\nStackTrace - Utilities.AERestClient.ApiModels.AERestClientException: Unauthorized-Error message\r\n at Utilities.AERestClient.AERestClient.AuthenticateUser(AuthRequest authRequest)\r\n at ServiceConnector.UMDataManager.AuthenticateUser(Dictionary2 authParams, SecurityInfo& securityInfo)\r\n at ServiceConnector.DataServiceBaseClass.AuthenticateUser(Dictionary2 authParams, SecurityInfo& securityInfo)\r\n at Common.XmlConfigManager.AuthenticateUser(Dictionary2 authParams)\r\n at Common.Studio.StudioUMLoader.AuthenticateUser(String userName, String uPwd, String customStrategy, Boolean ssoRoleBasedAuth)\r\n at ServerInstanceViewModel.ViewModel.ServerInstanceViewModel.AuthenticateUser()\r\n at ServerInstanceViewModel.ViewModel.ServerInstanceViewModel.LoginToStudio()\r\n at ServerInstanceViewModel.ViewModel.ServerInstanceViewModel.<get_LoginCommand>b__13_0(Object param)\r\n at ServerInstanceViewModel.RelayCommand.Execute(Object parameter)\r\n at MS.Internal.Commands.CommandHelpers.CriticalExecuteCommandSource(ICommandSource commandSource, Boolean userInitiated)\r\n at System.Windows.Controls.Primitives.ButtonBase.OnClick()\r\n at System.Windows.Controls.Button.OnClick()\r\n at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)\r\n at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)\r\n at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)\r\n at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)\r\n at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)\r\n at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)\r\n at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)\r\n at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)\r\n at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)\r\n at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)\r\n at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)\r\n at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)\r\n at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)\r\n at System.Windows.Input.InputManager.ProcessStagingArea()\r\n at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)\r\n at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)\r\n at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)\r\n at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)\r\n at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)\r\n at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)\r\n at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}
{“MachineName”:“xxxxx”,“ProcessId”:“3352”,“ProcessName”:“C:\AERPA19.1\AutomationStudio\Automation Studio.exe”,“co_module”:“SE_ACE”,“inst_key”:“0”,“trans_key”:“0”,“trans_id”:“”,“crossref_id”:“”,“workspacekey”:“Default”,“datetime”:“2023-01-05T10:40:50.370-05:00”,“level”:“Warning”,“priority”:“10”,“srcmodule”:“IDE.App”,“method”:“App_DispatcherUnhandledException”,“message”:" Critical Dispatcher breakdown",“description”:“”,“userid”:“xxxxx”,“ipaddress”:“xxxxx”,“LogType”:“Default”}

Hi,
System is unable to authenticate user. Please check corresponding relevant Control Tower logs of same time. Also, provide information if you are using Custom Authentication or ldap authentication

Regards,
Amit

Hi Amit,

We are using Custom Authentication. After installation I can able to login. But after restarting the components we’re facing this issue. Control tower logs says “Authentiation failed”.

HI Manikandan,

Please confirm if you’re using AssistEdge 19.1. Also check in Automation Studio.exe.config, if Custom Authentication is True.

If you are using 19.0 or above Can you Share your Control Tower Logs?

Regards,
Sumit Sagar

Hi @sumit.sagar

We’re using AssistEdge 19.1. Also custom authentication is true in config file. PFB the Control tower logs.

Thu, 26 Jan 2023 06:44:17 GMT error [5a249867-dfd3-4504-8e96-7488116c0bbb] ‘Authentication Error:’, [ { code: { code: ‘AUTHENTICATION_FAILED’, message: ‘Error message’ }, data: undefined, devMessage: ‘’ } ]
Thu, 26 Jan 2023 06:44:28 GMT error [5db3e1b2-67e1-49eb-bd38-c7ef8a2d7f88] ‘Authentication Error:’, [ { code: { code: ‘AUTHENTICATION_FAILED’, message: ‘Error message’ }, data: undefined, devMessage: ‘’ } ]
Thu, 26 Jan 2023 06:44:45 GMT error [2dcc75fa-66b2-421d-bd30-f49daf0b3730] ‘Authentication Error:’, [ { code: { code: ‘AUTHENTICATION_FAILED’, message: ‘Error message’ }, data: undefined, devMessage: ‘’ } ]

We have set the port as 8443 and not yet enabled SSL. Is that the problem in this case?

@amit_anand15 - can you please update on above error?