Question

Pega Robot Manager - Connection to Server Failed

Hi,

We are trying to deploy packages from Studio to PackageServer. I've taken all the necessary steps

1. Installed Pega Platform 7.4 on Windows Server 2012

2. Installed Pega Robot Manager 6.2 on top of Pega Platform 7.4

3. Installed PackageServer and ServerStatus

4. Have sample RDA Project in Visual Studio + Plug-in setting on my local machine.

5. Made necessary changes to commonconfig.xml, runtimeconfig.xml & studioconfig.xml

6. Unchecked the SSL checkbox in api and robotics rules for servicepackage

I get the connection to server failed error when entering admin credentials in Pega Robotics -> Server Connectivity option. Went through the logs and it gives below exceptions.

1) Exception Information
*********************************************
Exception Type: System.Net.WebException
Status: UnknownError
Response: NULL
Message: "Failed to authenticate using Email and Password. WebException: Response Code 'InternalServerError'. Response Content Type 'application/json;charset=UTF-8'. Friendly Message 'The remote server returned an error: (500) Internal Server Error.'."
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: Void CheckHttpResponseFailure(Servers, OpenSpan.Server.IHttpWebResponse, System.String)
HelpLink: NULL
Source: "OpenSpan.Server.Client"
HResult: -2146233079

StackTrace Information
*********************************************
at OpenSpan.Server.Client.Services.ConnectionManagerService.CheckHttpResponseFailure(Servers server, IHttpWebResponse response, String errorMsg)
at OpenSpan.Server.Client.Services.ConnectionManagerService.InternalAuthenticateManagementConsole(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: (500) Internal Server Error."
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: System.Net.WebResponse GetResponse()
HelpLink: NULL
Source: "System"
HResult: -2146233079

Correct Answer
October 18, 2019 - 3:27pm

Hi Nick, I changed my ruleset for PegaRoboticAutomationConsole to 02.01.01 and it worked. Pega 7.4 is compatible with Robot Manager 5.2 not 6.2 hence the change.

Comments

Keep up to date on this post and subscribe to comments

Pega
October 9, 2019 - 9:55am

Please check where you have placed the config files.

ProgramData/OpenSpan folder

or

AppData/OpenaSpan folder

I suggest you place a copy of these files in both locations and try once.

October 9, 2019 - 10:04am
Response to gudip

Hi gudip,

I have a copy of these files in both ProgramData and Program Files/OpenSpan. 

October 9, 2019 - 12:09pm

Can anyone help here please

Pega
October 9, 2019 - 12:53pm

I cannot see your full commonconfig.xml file.
Did you change your configuration location to CommonApplicationData in commonconfig.xml?
Then only it will read your configs from programdata.

CommonApplicationData

October 9, 2019 - 1:19pm
Response to gudip

Hi Gudip, Thanks for responding. I've attached the commonconfig.xml file. Im not aware of making changes to the location. Can you please share any steps it will be very helpful for me.

Pega
October 9, 2019 - 10:34pm

Towards the end of your XML file, ConfigurationLocation value is mentioned ApplicationData.
Please change it to CommonApplicationData.
After making this change, restart studio and try once.

October 10, 2019 - 1:28pm
Response to gudip

Hi gudip,

I still get the same error. I've attached the studio log. Both package server and robot activity are giving error.

 

Pega
October 11, 2019 - 5:28am

I doubt, below might be reasons,

1) No access to the robot manager url from the current machine.
2) Dispatch operator (email id) in robot manager is disabled. 

Please try logging in to pega robot manager using same credentials from the machine where you are trying with studio. This will give answers for above mentioned 2 doubts.

October 11, 2019 - 10:08am
Response to Kotaru

Hi Kotaru,

I'm able to access the URL without any issues in my local machine. And logged in using same credentials.

October 15, 2019 - 1:22pm
Response to mqamar1994

I am also experiencing similar issue, was the issue resolved?

Thanks.

October 15, 2019 - 3:22pm
Response to NickM591

Hi,

I reached out to Pega Support and they told me to upgrade VS 2015 to SP-1. We had Non-SP1. Will get back here once i have SP-1 installed and working.

October 18, 2019 - 3:27pm
Response to NickM591

Hi Nick, I changed my ruleset for PegaRoboticAutomationConsole to 02.01.01 and it worked. Pega 7.4 is compatible with Robot Manager 5.2 not 6.2 hence the change.