OpenPrinting / OpenPrinting/cups-browsed

Issue Title: implicitclass queues failing for HP ENVY Inspire 7900 (Ubuntu 24.04)

Open
#57 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
49
Forks
19
PR merge metrics
No merged PRs in 30d

Description

Description:
Automatically discovered printer queues created by cups-browsed (v2.0.0) are failing to process jobs on Ubuntu 24.04. The service creates an implicitclass destination that results in
either host name resolution errors or certificate validation failures.

Environment:

  • OS: Ubuntu 24.04 LTS (Noble)
  • CUPS Version: 2.4.7-1.2ubuntu7.9
  • cups-browsed Version: 2.0.0-0ubuntu10.3
  • Printer: HP ENVY Inspire 7900 series [C148BD] (WiFi connected)

Symptoms:

  1. Jobs sent to the auto-generated queue remain stuck or fail immediately.
  2. lpstat -l shows error: No destination host name supplied by cups-browsed for printer "HP_ENVY_Inspire_7900_series_C148BD".
  3. Alternatively, the printer state reason shows cups-pki-invalid when attempting to use the ipps URI generated by the service.
  4. Logs show backend failures: cfFilterExternal (ipp): Backend (PID XXX) stopped with status 4.

Observed lpoptions for the failing queue:

1 device-uri=implicitclass://HP_ENVY_Inspire_7900_series_C148BD%40HP489EBDC148BD.local/
2 printer-make-and-model='HP Printer, driverless, 2.0.0'
3 printer-state-reasons=cups-pki-invalid

Steps to Reproduce:

  1. Enable cups-browsed on a network with an HP ENVY Inspire printer.
  2. Wait for the printer to be auto-discovered and the implicitclass queue to be created.
  3. Attempt to print any document to this queue.

Workaround/Resolution:
The issue was resolved by:

  1. Disabling and stopping the cups-browsed service.
  2. Manually adding the printer using a direct HPLIP URI (hp:/net/ENVY_Inspire_7900_series?ip=10.0.0.49) or a direct IPP URI.
  3. The manual queue works perfectly, suggesting the implicitclass wrapper or the mDNS resolution within cups-browsed is failing to pass the correct destination information to the CUPS
    backend.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with an automatically discovered implicitclass queue for the HP ENVY Inspire 7900, then compare its lpstat, lpoptions, and backend logs with a manually configured direct URI. Done means the auto-generated queue supplies a valid destination and processes print jobs without hostname-resolution or certificate-validation failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux, ubuntu
Domain
backend, networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.