Question


National Australia Bank Ltd
AU
Last activity: 1 Jul 2021 19:01 EDT
Robot Manager User Onboarding with "Apostrophe" in email Id Issue
Hi Team,
We are experiencing an issue with Robot Manager 8.4.2 Version , below are the details :
While onboarding user with "Apostrophe"(') in their Email Id into Robot Manager, it does not recognize well I believe, Instead of displaying the initials as profile pic's default behaviour (User's Image section besides the User Name ) it displays Cross(X) mark making it look like invalid user name.
And also the RDA bot does not authenticate the user and hence the bot shuts down on their system.
UPN field we are using Email ID.
Ex : D' Proprietary information hidden
Please let us know how we can troubleshoot this issue
Thanks and Regards,
Varun
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


Pegasystems Inc.
GB


National Australia Bank Ltd
AU
@Angel Hermira Using the "Add New" button inside a department. Onclick of this button it opens up a "New User" window to fill in all the details of the user.


Pegasystems Inc.
GB
@VarunK03 , I'm not sure what is the issue with the system you are using. I tested with the 8.6.1 and it worked fine and thinking that it might be due to the version provisioned as well a lab in 8.4.2 to test this and it worked fine.
See below screenshot.
Updated: 29 Jun 2021 21:39 EDT


National Australia Bank Ltd
AU
@Angel Hermira We can notice from the screenshot above that the user has a image with Cross mark before the name, ideally when we add a user without "Apostrophe" it shows Initials of first and last name making it look like a valid user, but in the above case it looks like we have cross mark.
I'm suspecting that it is considering as invalid user though we are able to add using "Add New" button, because the pega robot runtime client is not getting authenticated with Robot Manager if the user has "Apostrophe" in their email Id(UPN) .


Pegasystems Inc.
GB
@VarunK03 , X is a UI function not at all related with the authentication or anything else. I tested by connecting a runtime to RM using this operator and everything worked as expected. In any case, your initial question was about creating the operator which is working as expected as well.
Could you elaborate on which is the exact issue that you are facing?


National Australia Bank Ltd
AU
@Angel HermiraActual issue is : If a user has an Apostrophe in their email Id, runtime is failing to authentication with RM.
OpenSpan.Diagnostic.FallbackLog file is generated in ProgramData folder for the specific user showing the failure to authenticate details.
Below are the lines generated :
@Angel HermiraActual issue is : If a user has an Apostrophe in their email Id, runtime is failing to authentication with RM.
OpenSpan.Diagnostic.FallbackLog file is generated in ProgramData folder for the specific user showing the failure to authenticate details.
Below are the lines generated :
2021-06-30 12:54:26,629 [ 1] DEBUG - OSS - ConnectionManagerService.PerformSingleSignon - showBusyDialog=True, force=False, attempting to connect 2021-06-30 12:54:26,630 [ 1] INFO - OSS - BusyDialogController.BackgroundWorkerDoWorkEventHandler - Launching BackgroundWorker BusyDialog thread 2021-06-30 12:54:26,631 [ 1] INFO - OSS - BusyDialogController.BackgroundWorkerDoWorkEventHandler - Attempting to run BusyDialog form. 2021-06-30 12:54:26,631 [ 1] INFO - OSS - BusyDialogController.BusyDialogShownEventHandler - Setting state of created event to true for BusyDialog form. 2021-06-30 12:54:26,632 [ 1] DEBUG - OSS - Authenticating via SSO. STS server URL=https://idpclb.xxxx.tttt.uu/adfs/services/trust/pegarobot, Server URL=https://pd.pega.ttt.xxxxxx.com.au/prweb/ 2021-06-30 12:54:26,633 [ 1] DEBUG - OSS - ConnectionManagerService.InternalAuthenticateManagementConsole called 2021-06-30 12:54:26,633 [ 1] INFO - Robotics - ConnectionManagerService.GetEndpoints - Getting endpoints for Robot... 2021-06-30 12:54:26,634 [ 1] DEBUG - OSS - ConnectionManagerService.GetSecurityTokenProvider: Successfully obtained OpenSpan.Server.Client.SSO.ISecurityTokenProvider service from the STS provider assembly 2021-06-30 12:54:26,634 [ 1] INFO - OSS - ConnectionManagerService.RequestOAuthToken: Successfully retrieved security token from security token provider 2021-06-30 12:54:26,635 [ 1] DEBUG - OSS - ConnectionManagerService.RequestOAuthToken: Requesting access token, serverName is RobotManager, baseAddress is https://pd.pega.tttt.xxxxxx.com.au/prweb/, full address is https://pd.pega.tttt.xxxxxx.com.au/prweb/PRRestService/oauth2/v1/token 2021-06-30 12:54:26,636 [ 1] ERROR - Robotics - ConnectionManagerService.GetEndpoints - GetEndpoints failed with error: at OpenSpan.Server.Client.Services.ConnectionManagerService.CheckHttpResponseFailure(Servers server, IHttpWebResponse response, String errorMsg) at OpenSpan.Server.Client.Services.ConnectionManagerService.GetEndpoints(SecureString secureUsername, SecureString securePassword, Boolean isServerUrlUpdated, Boolean isCaseInformation, String caseInformationBaseUrl, Boolean isRobotNotRegistered). 2021-06-30 12:54:26,637 [ 1] DEBUG - OSS - ConnectionManagerService.GetSecurityTokenProvider: Successfully obtained OpenSpan.Server.Client.SSO.ISecurityTokenProvider service from the STS provider assembly 2021-06-30 12:54:26,638 [ 1] INFO - OSS - ConnectionManagerService.RequestOAuthToken: Successfully retrieved security token from security token provider 2021-06-30 12:54:26,639 [ 1] DEBUG - OSS - ConnectionManagerService.RequestOAuthToken: Requesting access token, serverName is RobotManager, baseAddress is https://pd.pega.ttttt.xxxxx.com.au/prweb/, full address is https://pd.pega.tttt.xxxxx.com.au/prweb/PRRestService/oauth2/v1/token 2021-06-30 12:54:26,640 [ 1] ERROR - OSS - ConnectionManagerService.InternalAuthenticateManagementConsole error: 2021-06-30 12:54:26,640 [ 1] ERROR - OSS - Failed to authenticate using STS and OAuth. WebException: Response Code 'Unauthorized'. Response Content Type 'application/json;charset=UTF-8'. Response Body '{"errors":[{"ID":"invalid_client","message":"Client authentication failed "}]}'. Friendly Message 'The remote server returned an error: (401) Unauthorized.'., Verbose Message: General Information
Diagnostic Info: Diagnostic.MachineName: NNAB719163 Diagnostic.FullName: OpenSpan, Version= Proprietary information hidden, Culture=neutral, PublicKeyToken=f5db91edc02d8c5e Diagnostic.AppDomainName: OpenSpan.Runtime.exe Diagnostic.WindowsIdentity: AUR\N134071 Diagnostic.ApplicationName: OpenSpan.Runtime
Exception Information
1) Exception Information ********************************************* Exception Type: System.ApplicationException Message: "Failed to authenticate using STS and OAuth. WebException: Response Code 'Unauthorized'. Response Content Type 'application/json;charset=UTF-8'. Response Body '{"errors":[{"ID":"invalid_client","message":"Client authentication failed "}]}'. Friendly Message 'The remote server returned an error: (401) Unauthorized.'." Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items TargetSite: Void CheckHttpResponseFailure(Servers, OpenSpan.Server.IHttpWebResponse, System.String) HelpLink: NULL Source: "OpenSpan.Server.Client" HResult: -2146232832
StackTrace Information ********************************************* at OpenSpan.Server.Client.Services.ConnectionManagerService.CheckHttpResponseFailure(Servers server, IHttpWebResponse response, String errorMsg) at OpenSpan.Server.Client.Services.ConnectionManagerService.InternalAuthenticateRobotManager(Servers server, User& user, Boolean& authServerResponded, Boolean handleExceptions, ExceptionNotificationType notifyType, IServiceProvider serviceProvider)
2) Exception Information ********************************************* Exception Type: System.Net.WebException Status: ProtocolError Response: System.Net.HttpWebResponse Message: "The remote server returned an error: (401) Unauthorized." Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items TargetSite: System.Net.WebResponse GetResponse() HelpLink: NULL Source: "System" HResult: -2146233079


Pegasystems Inc.
GB
@VarunK03 , I can see that this setup is through STS or an equivalent IdP. Did you trace STS or the IdP?
As I said in my previous message. I tested this with Robot Runtime 19.1.65 and RM 8.4.2 using basic authentication and it is working fine.
May I suggest you open an INC so the GCS team can help you in debugging the actual issue?
Thanks


National Australia Bank Ltd
AU
@Angel Hermira Thank you for your inputs, I have opened up an SR for the same.