I am having an issue where after making all the changes to RuntimeConfig.xml; the file gets overridden after starting up the bots and default all the changes. Below are the error throws on logs. Appreciate if someone could help/give any guidance.
RoboticsApiHelper.RegisterRobot - Robot registration succeeded.
Info | 09:23:09.099 PM | 1 | MTA | | | | Authenticated user WC42A10198QV00
Warning | 09:23:09.099 PM | 1 | MTA | OSS | | | Hash does not match local file ‘C:\Users\VMUSER\AppData\Roaming\Pegasystems\RuntimeConfig.xml’.
Warning | 09:23:09.099 PM | 1 | MTA | OSS | | | Error while reading Etag for file ‘C:\Users\VMUSER\AppData\Roaming\Pegasystems\RuntimeConfig.xml’, will request new file from server.
Info | 09:23:09.617 PM | 1 | MTA | OSS | | | Cache for file ‘C:\Users\VMUSER\AppData\Roaming\Pegasystems\RuntimeConfig.xml’ did not match server configuration. Downloaded file from the server.
Info | 09:23:09.617 PM | 1 | MTA | OSS | | | File ‘C:\Users\VMUSER\AppData\Roaming\Pegasystems\RuntimeConfig.xml’ successfully downloaded from server at ‘/PRRestService/robotics/v1/runtimeconfigs’ on RobotManager server.
Are you using RobotManager and using a common RuntimeConfig file in RM? If that is the case, after modifying the RuntimeConfig settings in local environmtne, make the file read-only. Try this option and update.
Thanks for responding back to this post. Appreciate a lot.
Change RuntimeConfig.xml to reads-only works fine. What I have noticed is; when bot connects to server it sees that the RuntimeConfig.xml file has modified and download a fresh copy by overriding all the changes what being made. Do you know any reason why this happen? This occurs only when bots connect 8.5 Pega environment that runs Robot Manager 8.5.2.
Highly appreciate your thoughts or any inputs on this.
@HemachandraI , by default from RM 8, Runtime will always try to download the RuntimeConfig.xml from Robot Manager. You can manage the assignments from RM portal Settings–>Runtime configs.
If you don’t want to manage the RuntimeConfig.xml from RM portal you can make the file read-only as you say and that way it won’t be overwritten.