Cannot connect to server" message pops up when launching Pega Robotics Studio
When I start the Pega Robotic Studio 8.0, It asks me to enter email and password. I enter the operator id created for my RPA automation (tried with other credentials too) and I am not sure which server it tries to connect but it says "Cannot connect to server". After that, if i click cancel or ok, robotics studio launches fine.
But after this, when i try to publish package to package server, i get same dialogue box to enter email and password and again same problem happens. Whatever credentials i enter, it says "Cannot connect to server". In the config files, i set enabled=false for all servers apart from Robot Manager entry.
I am unable to publish my package as well to package server even though package server is running. Robotics studio says, cannot connect to server. I would like to know which server it is connecting to and why it is failed. I don't want to skip it because it is required to publish my package.
Apologies for the delay. Have been busy setting up our on-prem infrastructure in prep for our Pega engagment (yay!)
FYI, everything was traceable from the Robot Studio log (once I turned it on) by enabling the FilePublisher mode to "on" and I set all Log categories to "4". You can also do this thru Studio Options->Pega Robot->Studio Diagnostics by setting FilePublisher Diagnostic Mode to On and all Log Categories to "Verbose.
Correct in that the credentials Robot Studio is asking for is the "developer" operator ID with the proper roles as indicated below.
These four things I had to fix to make sure it worked:
Your communication protocols match throughout. If you've set up SSL, then this is easier because everything is by default set up for SSL. If you're not using SSL (my case), there are a few places you need to change.
Consistent use of http vs https
Ensure the following two apis have both the "require TLS/SSL for REST services in this package" checked appropriatly. You can find them in Dev Studio under Records->Integration-Resources->Service Package.
Authentication types are consistent. If you use Basic, make sure "Basic" is selected everywhere including:
the two apis mentioned in step 1.
CommonConfig.xml on RobotManager server authenticationType
You have the correct URLS in the configs.
In StudioConfig, PegaServer baseUrl should point to api endpoint such as:
In StudioConfig, Package Server url (if applicable) should point directly to package server such as:
In CommonConfig RobotManager baseUrl should point to RobotManager such as (also make sure enabled is set to "true":
In Runtime, Package Server url (if applicable) should point directly to package server such as:
You have the correct roles on your Developer Operator ID
AutomationPackageManagement:Admin (Developer role should work here as well)
I've also attached my config files and also a postman collection I used for validating connectivity to the Pega Automation Server apps (package manager, Synch Server) if you happen to be on 19.1.