Jobs fail on the first try, succeed on second attempt after about 90 sec. delay
It seems that jobs always fail on the first try, then cloudprint.py waits for about 90 sec. and tries again and the job succeeds.
From /var/log/syslog on Linux Mint 17.2 running 0.13-1+deb8u1+ppa1:
Oct 23 15:32:19 server cloudprint.py: Polling for jobs on HP
Oct 23 15:32:20 server cloudprint.py: Job Test failed - Will retry
Oct 23 15:33:47 server cloudprint.py: Polling for jobs on HP
Oct 23 15:33:48 server cloudprint.py: SUCCESS Test
This is strange, not sure what's going on. Most likely this should be fixed upstream if it is an auth problem or maybe something to do with the Google print API, rate limiting, etc. I'm just guessing here.
Just the first job - 67f9360.
So it's a CUPS problem, not Google. Do we need such a big wait between retries? What happens if we try to send the job again to CUPS after waiting for 1 sec.?
The variable is FAIL_RETRY.