Posted: 5 Oct 2017 16:25 EDT Last activity: 12 Oct 2017 12:24 EDT
Unable to Get Class Fields in Robot Activity
Robotics studio should be able to access pega server from a Robot Activity to determine relevant fields for a given class ID.
When clicking the ‘Fields’ ellipses after defining the class name, a popup with the message “Error connecting to server” appears, and the output window gives an HTTP request exception: System.IO.IOException: The handshake failed due to an unexpected packet format. We suspect that this may be occurring because of the request not being in SSL format (as all pdn examples we have found use SSL and it is enabled by default) – however, Company's certificate for https requests is not valid.
We are using Pega 7.2.2
Reinstall Robotics Studio with the RDA option checked – performed several different times with varying values for PegaServer baseUrl (http://<myDomain.myServer>.com:9080/prweb/api/v1) and updated to use valid credentials for our server– related to the StudioConfig.xml
Added access group, work group, work basket, decision tree etc… to pega server for credentials defined in SudioConfig.xml as defined here
Modified RuntimeConfig.xml PegaServer and LocalApiService elements as shown below with a variety of URL values (both including and excluding the api/v1/ in the urls provided). SSL set to false, as https certificate for <myDomain.myServer> is not set up properly right now.