Question
Unable to call a rest connector asynchronously.
I have followed the steps here to configure Asynchronous connector.
To test i bring down the server which is hosting the service.
I see an exception in the log that the batch requestor
- Exception
com.pega.pegarules.pub.services.ConnectorException: Caught unhandled exception: com.pega.apache.http.conn.HttpHostConnectException: Connection to xxxxxx refused
However the pyItemStaus for the corresponding request is SUCCESS.
Hence the connector activity is called just once by the Agent.
Please let me know if I am mising something here.
***Updated by moderator: Lochan to add Categories***
Hi
Ideally this should be handled in the activity pyInvokeRESTConnector. Try setting a timeout value .
Can you share the full stack trace?
Thanks
Prasanth