Scenario:
We are trying to Print a report which has around 1900 records from the dashboard using the option Printable PDF the process fails with below error message
"An error occurred during execution of ""send"". Broken pipe [Socket:8]
Error Details
Location: saw.rpc.variablemos.write, sawfopProxy,saw.subsystem.portal.pdf
Error Details
Location: saw.rpc.variablemos.write, sawfopProxy,saw.subsystem.portal.pdf
Error Codes: ETI2U8FA"
When i try to pint a small report which has 150 records it processed printing successfully to PDF
When i am doing the research on this error, i found that this error is most common with exporting PDF and Printing PDF. Especially when we try to export large Dashboards and Large reports.Printing reports with a smaller number of rows works successfully and No issues in exporting the same to CSV or Excel.This issue can be fixed by modifying the Java host Config file.
Please follow the steps as mentioned below.
<MessageProcessor>
<SocketTimeout>300000</SocketTimeout>
</MessageProcessor>
<SocketTimeout>300000</SocketTimeout>
</MessageProcessor>
Along with:
<XMLP>
<InputStreamLimitInKB>0</InputStreamLimitInKB>
<ReadRequestBeforeProcessing>true</ReadRequestBeforeProcessing>
</XMLP>
<ReadRequestBeforeProcessing>true</ReadRequestBeforeProcessing>
</XMLP>
Note: After modifying the Config.xml file we should restart OPMN Services.