| Summary: | Jobs never finish | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Berthault <Philippe.Berthault> | ||||
| Component: | cups | Assignee: | Tim Waugh <twaugh> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 16 | CC: | jpopelka, twaugh | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i686 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-11-16 15:22:23 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
|
Description
Berthault
2011-11-15 17:12:47 UTC
It would be very useful to be able to see the IPP communications between the Fedora system and the Xerox printer. Please run this command, as root, to capture it (you may need to install the 'tcpdump' package first): tcpdump -n -i p4p1 -s0 -U -w ipp.pcap port ipp (your network interface name may differ from 'p4p1' -- use '/sbin/ifconfig' to find its name if so) When that command is running, print a test page and wait until it comes out of the printer twice. Then manually kill the job as before. Press Control-C on the tcpdump command to stop it, and then please attach the ipp.pcap file here using the "Add an attachment" link above. Thanks. Created attachment 533935 [details]
ipp.pcap file compressed with gzip
Thanks. It looks like the printer's support for the IPP protocol is a little off. IPP request (v2.0) 60408: Get-Printer-Attributes (ipp://129.182.147.116:631/ipp) IPP response (v1.0): Server-Error-Version-Not-Supported === IPP request (v1.1) 60409: Get-Printer-Attributes (ipp://129.182.147.116:631/ipp) IPP response (v1.1): Successful-OK-Ignored-Or-Substituted-Attributes (but printer-state is 0, which is not a valid value) IPP request (v1.1): Validate-Job IPP response (v1.1): Successful-OK IPP request (v1.1): Print-Job IPP response (v16.44): 0xc240 (invalid status code) (has wrong request ID) In other words, the printer is responding to the Print-Job request with a nonsense status code, with an incorrect request ID, and with a garbage IPP version. Perhaps there is another protocol that could be used for this printer instead of IPP? Closing as NOTABUG as I believe CUPS is behaving correctly here. I've added the options waitjob=false and waitprinter=false in the URI of the Xerox printer like this: ipp://129.182.147.116:631/ipp?waitjob=false&waitprinter=false and it's OK. Now, files are correctly printed and jobs are removed from queue. Cordially. |