Add Printer wizard keeps using broken ipps:// DNS-SD URI, driverless PPD generation fails
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
Línea de trabajo
Start by tracing how the Add Printer wizard selects and submits a DNS-SD device URI, then follow the driverless PPD generation call. The report names no source files or tests, so locate these paths in the repository and check how an explicitly entered ipp:// URI is handled. Done when that URI is preserved through submission and PPD generation, and a usable plain-IPP endpoint can be selected when IPPS fails.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Problem
When adding a network printer that is discovered through DNS-SD and advertises both _ipp._tcp.local and _ipps._tcp.local, the Add Printer wizard ends up submitting the secure ipps:// URI to CUPS. On the device below, the IPPS endpoint rejects the TLS handshake with SSL alert 40 (handshake_failure). cups-filters' driverless PPD generation then fails and the wizard reports that the printer could not be added.
I also tried to force plain IPP by entering ipp://<printer-host>.local:631/ipp/print in the wizard, but the request that reached cupsd still contained the DNS-SD ipps:// URI, so the outcome did not change.
CUPS error log
E [20/Nov/2026:19:03:46] [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipps://Canon%20TS7530%20series._ipps._tcp.local/, ipps://<printer-host>.local:631/ipp/print) via IPP!
E [20/Nov/2026:19:03:57] [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipps://Canon%20TS7530%20series._ipps._tcp.local/, ipps://<printer-host>.local:631/ipp/print) via IPP!
E [20/Nov/2026:19:03:57] copy_model: empty PPD file
E [20/Nov/2026:19:03:57] [Client 48] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/Canon-TS7530-series) from localhost.
Expected behavior
If the user explicitly supplies an ipp:// device URI, that URI should be used for CUPS-Add-Modify-Printer and for driverless PPD generation. More generally, when a device advertises both ipp and ipps and the IPPS endpoint is unusable, the GUI should fall back to the working plain-IPP endpoint instead of failing the whole wizard.
Verification
Plain IPP works correctly from the same machine:
ipptool -4 ipp://192.168.0.62:631/ipp/print /usr/share/cups/ipptool/get-printer-attributes.test->PASS, about 375 KB of attributes returned.driverless ipp://<printer-host>.local:631/ipp/print-> valid 21 KB PPD, exit status 0.driverless ipps://192.168.0.62:631/ipp/print-> exactly the same "Could not poll sufficient capability info ... via IPP!" error as the GUI.- OpenSSL:
openssl s_client -connect 192.168.0.62:631->SSL alert number 40 (handshake failure)for both TLS 1.2 and TLS 1.3; no peer certificate is sent.
Adding the queue from the command line with the pre-generated PPD works:
driverless ipp://<printer-host>.local:631/ipp/print > /tmp/canon.ppd
sudo lpadmin -p Canon_TS7530 -E -v ipp://<printer-host>.local:631/ipp/print -P /tmp/canon.ppd
sudo lpadmin -d Canon_TS7530
Environment
- Arch Linux (Omarchy), 2026-11-20
- system-config-printer 1.5.18-7
- CUPS 2.4.20-1, cups-filters 2.0.1-3, libcupsfilters 2.2.1.r32.gd49e9284-1
- Printer: Canon TS7530 series, firmware 1.030 (already the latest available), AirPrint 1.8 / Mopria 2.0, advertises both
_ipp._tcpand_ipps._tcpon port 631
Since the printer firmware is already current, this looks like an interoperability problem between the device's IPPS stack and recent OpenSSL/cups-filters. The GUI should not force the broken endpoint when a working plain-IPP endpoint is available.
- Lenguaje dominante
- Python
- Estrellas
- 209
- Forks
- 111
- Merge medio
- 2 d 13 h
- PR fusionados (30 d)
- 8
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de OpenPrinting/system-config-printer
-
Job viewer shows "Printer error" for cups-waiting-for-job-completedPosiblemente ocupada @RonitMehta08 la tomó hace 8 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
OpenPrinting/system-config-printer#494 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 4/5 3-5 días Aptitud para principiantes 44/100
OpenPrinting/system-config-printer#499 ·
Los mantenedores suelen responder en 3 días
-
[Release Tracking] system-config-printer 1.5.19 milestonePosiblemente ocupada @alexpevzner la tomó hace 19 días. Abierto
OpenPrinting/system-config-printer#492 · 1 comentario · 2 asignados ·
Los mantenedores suelen responder en 3 días
-
ScannerAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
OpenPrinting/system-config-printer#407 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Doesn't run with PYTHONSAFEPATH enabledPosiblemente ocupada @xovishnukosuri la tomó hace 253 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 58/100
OpenPrinting/system-config-printer#387 ·
Los mantenedores suelen responder en 3 días
Todos los issues de OpenPrinting/system-config-printer
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
pearu/agent-sandbox#451 ·
Los mantenedores suelen responder en 1 día
-
run_gate loads a custom tasks file from outside the working directoryPosiblemente ocupada @Ru0k3 la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
MakazhanAlpamys/Soup#3189 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
review developer setup docAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
NYCPlanning/data-engineering#2996 ·
Los mantenedores suelen responder en 1 día