Support Article
Export from Jenkins/prpcServiceUtils timing out
Summary
Jenkins tool is configured to automate the Pega Deployment process. When the size of the product file increases, the Export failing or times out.
Error Messages
REQUEST_TIME_OUT
com.pega.pegarules.serviceclient.ClientMain.executeAndHandleResponse(ClientMain.java:116)
[java] at com.pega.pegarules.serviceclient.ClientMain.main(ClientMain.java:61)
[java] org.apache.http.impl.execchain.RetryExec execute
[java] INFO: I/O exception (java.net.SocketException) caught when processing request to {s} >yourURL: Socket closed
BUILD FAILED
E:\PRPCAutomation\prpcServiceUtils_721\scripts\utils\prpcserviceutilsWrapper.xml:172: The following error occurred while executing this line:
E:\PRPCAutomation\prpcServiceUtils_721\scripts\utils\prpcserviceutilsWrapper.xml:190: Java returned: 1
Total time: 5 minutes 2 seconds
Exiting with Error
Steps to Reproduce
Run the export.
Root Cause
A defect or configuration issue in the operating environment.
Export was run with --requestTimeOut 300 and with export.async=false. Due to the size of the export, the time was insufficient to complete the export before the timeout was reached.
Resolution
Perform either of the following local-changes:
- Remove or increase the request_time_out.
- Switch to Async Processing > Add a step in the middle to check the status using the getStatus option > Wait for the export to complete
- Export smaller chunks such that the export can complete before the request_time_out set.
Published February 20, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.