Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 2073268

Summary: 30-second delays printing to Windows 2016 server via HTTPS
Product: [Fedora] Fedora Reporter: Zdenek Dohnal <zdohnal>
Component: cupsAssignee: Zdenek Dohnal <zdohnal>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: twaugh, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cups-2.3.3op2-17.fc35 cups-2.3.3op2-17.fc34 cups-2.4.1-8.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-13 15:44:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Zdenek Dohnal 2022-04-08 05:45:52 UTC
This bug was initially created as a copy of Bug #2071417

I am copying this bug because: 



Description of problem:

  30-second delay occurs after print job is submitted to Windows Server
  2016 via HTTPS (IPPS).  The delay occurs after the print job is submitted
  and prevents the next job from being started.  Adding "waitjob=false" to the
  Device URI has no effect.

  This issue does not occur when using HTTP on port 80.

  As the issue only happens when using TLS, this may actually be an
  issue with gnutls, not CUPS.

How reproducible:

  100%

Steps to Reproduce:

1. Stand up a Windows server with
   - IPP support for printing
   - A valid TLS certificate
   - A print queue connected to LPT1: with any driver
     (queues that send jobs to files won't work)
   
2. Pause the print queue so Windows doesn't actually try
   to send anything to LPT1:.

3. Create a print queue on a CUPS server to send jobs to the queue on
   the Windows server:

     lpadmin -p test -m raw -v https:/<winsrv>:443/printers/<queue>/.printer?version=1.0 -E

   (Windows only supports IPP/1.0, and badly at that.)

4. Send two jobs to the queue on the CUPS server:

     lp -d test /etc/fstab; lp -d test /etc/fstab

Actual results:

  The first job is sent to the Windows server immediately, but takes 30
  seconds to complete, so the second job is delayed by 30 seconds.

Expected results:

  The first job should complete within 1-2 seconds and then the second job
  should be processed.

Comment 1 Fedora Update System 2022-04-08 06:20:18 UTC
FEDORA-2022-7a4ad08008 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-7a4ad08008

Comment 2 Fedora Update System 2022-04-08 06:50:26 UTC
FEDORA-2022-6c661ccfe0 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-6c661ccfe0

Comment 3 Fedora Update System 2022-04-08 07:01:02 UTC
FEDORA-2022-7e5d0094ef has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-7e5d0094ef

Comment 4 Fedora Update System 2022-04-08 18:57:11 UTC
FEDORA-2022-7a4ad08008 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-7a4ad08008`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-7a4ad08008

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-04-08 20:03:13 UTC
FEDORA-2022-6c661ccfe0 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-6c661ccfe0`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-6c661ccfe0

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2022-04-08 20:52:30 UTC
FEDORA-2022-7e5d0094ef has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-7e5d0094ef`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-7e5d0094ef

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-04-13 15:44:26 UTC
FEDORA-2022-6c661ccfe0 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2022-04-23 19:31:11 UTC
FEDORA-2022-7e5d0094ef has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2022-05-07 04:19:44 UTC
FEDORA-2022-7a4ad08008 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.