This is an archived forum post. The information may be outdated. Contact us if you have any questions.

Transfer closed

yourivdlans wrote on 2012-08-13:
Hi all,

I've been using PdfCrowd for quite a bit now. Mainly for generating reports out of a custom application which get sent by email using a cron.
When an error occurs I get an email about it, and i got this one a few days ago:

"transfer closed with 15029 bytes remaining to read"

I don't know exactly what went wrong here, and if I can do something about it?

support wrote on 2012-08-14:
It is hard to guess what the reason for this might be. Most likely this was caused by a networking issue. When did this occur (date/time/timezone)?
yourivdlans wrote on 2012-08-14:
Thanks for your reply. It happend on the following timestamp: 10-08-2012 17:15:01
support wrote on 2012-08-15:
What timezone is the timestamp in?
yourivdlans wrote on 2012-08-22:
Sorry for the very late reply. The timezone is Europe/Amsterdam.
support wrote on 2012-08-25:
I did not find anything suspicious in our records around that time.
Most likely it was a temporary network glitch somewhere between you and us, I'm not able to determine the cause, sorry.

Anyway, while such error is very rare you may want to consider to make your application more robust. If your code detects an error simply wait a few seconds and retry. Limit the number of retries to e.g. 5 - if 5 consecutive API calls fail it usually indicates some more serious problem.
yourivdlans wrote on 2012-08-27:
Okay, thanks for all the help!