I hope this email finds you well, I am using Jasper server in order to generate PDF files,
The trigger is based on Jasper PHP client.
During development phase I have encounter a strange behavior when I try to generate PDF file, sometimes I am getting 'Unexpected HTTP code returned 0' exception when I ran the following command:
"$report = $client1->runReport('/Reports/Merchant_Statement/Merchant_Statement_Way4', 'pdf', null, $controls);"
It is very difficult to reproduce this as it sometimes happens and sometimes not..
It looks like it generated from JasperClient.php file on row 135, when the status code returned is 0 and not 200.
Please find below the exeption:
#0 /home/bint/scheduled_scripts/transformer/protected/extensions/JasperReports_REST/client/JasperClient.php(563): Jasper\JasperClient->prepAndSend('http://ncore03....', Array, 'GET', NULL, true)
Any help on that issue will be much appreciated