Question

2
Replies
231
Views
GurunathN Member since 2016 2 posts
Anthem
Posted: 1 year ago
Last activity: 11 months 1 week ago

Runtime shutting down after registering the bot

Runtime version: 2033

Pega version: 7.3.1

Robot Manager: 4.1

Runtime log

WARN | 2019-09-11 18:13:25,718 | 1 | 1 | 2332 | STA | Manifest | | | Configuration manifest file 'C:\Users\ID\AppData\Roaming\OpenSpan\DesktopAnalyticsConfig.xml' does not exist.
INFO | 2019-09-11 18:13:25,733 | 1 | 1 | 2332 | STA | Runtime Application | | | Runtime external shutdown support was activated via the command line
INFO | 2019-09-11 18:13:25,749 | 1 | 1 | 2332 | STA | Robotics | | | RoboticsApiHelper.RegisterRobot - Robot registration started. Robot Name: 'HOSTVDAASW1010553', Workgroup: 'RoboProcess', Authentication Mode: 'Basic'.
INFO | 2019-09-11 18:13:26,249 | 1 | 1 | 2332 | STA | Robotics | | | RoboticsApiHelper.RegisterRobot - Robot registration succeeded.
ERROR | 2019-09-11 18:13:26,327 | 1 | 1 | 2332 | STA | DiagnosticExceptionHandler | | | Unhandled Exception: No MediaTypeFormatter is available to read an object of type 'RobotContent' from content with media type 'text/html'.
ERROR | 2019-09-11 18:13:26,358 | 1 | 1 | 2332 | STA | Exception | | | No MediaTypeFormatter is available to read an object of type 'RobotContent' from content with media type 'text/html'., Verbose Message: General Information

Diagnostic Info:
Diagnostic.MachineName: VDAASW1010553
Diagnostic.FullName: OpenSpan, Version=8.0.0.0, Culture=neutral, PublicKeyToken=f5db91edc02d8c5e
Diagnostic.AppDomainName: OpenSpan.Runtime.exe
Diagnostic.WindowsIdentity: US\AE08058
Diagnostic.ApplicationName: OpenSpan.Runtime

Exception Information

1) Exception Information
*********************************************
Exception Type: System.InvalidOperationException
Message: "No MediaTypeFormatter is available to read an object of type 'RobotContent' from content with media type 'text/html'."
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: System.Threading.Tasks.Task`1[T] ReadAsAsync[T](System.Net.Http.HttpContent, System.Type, System.Collections.Generic.IEnumerable`1[System.Net.Http.Formatting.MediaTypeFormatter], System.Net.Http.Formatting.IFormatterLogger)
HelpLink: NULL
Source: "System.Net.Http.Formatting"
HResult: -2146233079

StackTrace Information

Pega log

Robot registration started....
Registering the robot for the first time
Fetching the Dynamic System Setting to validate the precedence...
Payload workgroup takes precedence than decision table...
Validating payload workgroup...
Registering robot to workgroup: RoboProcess

Response status from Pega as success

Commonconfig.xml

<Servers>
<Server name="RobotManager" baseURL="https://host name: port/prweb" enabled="true" proxyAddress="" RPA="true" workgroup="RoboProcess" robotName="Host" authenticationType="Basic"/>
<Server name="Config" baseURL="https://omc.openspan.com/" enabled="false" proxyAddress=""/>
<Server name="Intelligence" baseURL="https://WFIID-wfi.openspan.com" enabled="false" proxyAddress=""/>
<Server name="IdP" baseURL="https://MyAuthServer.com/Endpoint" enabled="false" proxyAddress=""/>
</Servers>

Runtimeconfig.xml
<LocalApiService enabled="true" SSL="true" port="9443" allowedOrigins="*" JWTSecurity="false" PegaServerURL="https://MyPegaServer.com/RobotMgr"/>
<!-- PackageServer baseUrl: Address of the Package Server API endpoint. -->
<PackageServer baseUrl="https://host name: port/prweb/api/v1"/>

Robotic Process Automation
Share this page LinkedIn