ippsample icon indicating copy to clipboard operation
ippsample copied to clipboard

ippserver / ippproxy: Infra Job never reaches 'completed' state

Open wifiprintguy opened this issue 6 years ago • 2 comments
trafficstars

If you run ippserver and ippproxy where ippproxy uses the ippserver's infra Printer, with the output device set to whatever you want, Jobs submitted to the infra Printer will never reach the 'completed' state, even though they have reached that state in the output device.

Attached is an ipptool test file that does a Create-Job / Send-Document, then Get-Job-Attributes until it reaches 'completed'. It never ends if left on its own. create-job-and-get-jobs.test.txt

wifiprintguy avatar Jul 23 '19 03:07 wifiprintguy

Bug is reproducible by me.

File gets printed using an attached local printer but ippinfra never reaches completed state.

Sunil-P avatar Oct 15 '19 07:10 Sunil-P

I can also confirm this bug.

When the job is sent to the infrastructure printer, its job-state is processing-stopped, with job-state-reasons being job-fetchable. Once the proxy has downloaded the print job, and correctly sent it to the output device (another CUPS server on another host, in my case), the job-state on the infrastructure printer remains processing-stopped, although with a job-state-reasons of none. It never reaches the completed state.

Don't know if the cause is the proxy failing to send the final Update-Job-Status to the infrastructure printer, or the infrastructure printer failing to acknowledge it and update the job state. I will try to perform further tests to find out.

jfrsw avatar Jan 31 '20 08:01 jfrsw

ippproxy wasn't updating the job status to say it was completed.

michaelrsweet avatar Sep 27 '22 01:09 michaelrsweet