Repository navigation
Description
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.
Activity
alexpevzner commentedon Nov 20, 2026
Is it on the
system-config-printerpackage that comes with the distro, or on the current master?PWG 5100.19-2015 dictates that:
12.1.4 Preferring The "ipps" URI Scheme
A Client SHOULD support the “ipps” URI scheme. A Client SHOULD prefer the “ipps” URI variant when available. A Client probing a Printer for the first time (§4.1.2 and §4.2) SHOULD first try using IPP OVER HTTPS; if the connection fails the Client MAY then try IPP over HTTP.
However, we understand that firmware can be buggy, so the next version of system-config-printer will give user a choice between IPP and IPPS, as a troubleshooting option.
For now, as a temporary workaround, I'd suggest to try to configure your printer so that _ipps._tcp service will not be advertised (probably by disabling IPP encryption at the printer side).
yokotato commentedon Nov 21, 2026
Hi, thanks for the detailed response.
To answer your question: this is the distro package from Arch Linux's
extrarepository,system-config-printer 1.5.18-7(built 2026-08-29), not a build from current master. Upstreamconfigure.acon master still reads1.5.18, so the version strings match, but the binary I tested is the packaged one.You are right about PWG 5100.19-2015 section 12.1.4 - preferring
ippsis the specified behavior, so I withdraw my wording that the GUI "should not force" it. What I think is worth improving is that the current wizard offers no user-visible way to choose the plain-IPP endpoint: even after I explicitly enteredipp://<printer-host>.local:631/ipp/print, theCUPS-Add-Modify-Printerrequest that reached cupsd still carried the DNS-SDipps://URI. I am glad to hear the next version will expose an IPP/IPPS troubleshooting choice. (The PPD generation failure itself happens in cups-filters'driverless, which returns the same error when called directly with anipps://URI.)Regarding your suggested workaround: I wanted to check whether this model exposes a setting to disable IPP encryption / stop advertising
_ipps._tcp, but the printer is currently powered off or asleep (100% packet loss from this host), so I could not inspect its embedded web UI. I will try again once it is reachable and report back. For reference, the printer's mDNS TXT record for the secure service advertisesTLS=1.2.In the meantime, the queue has been registered locally using the CLI workaround from the report: generate the PPD with
driverlessover plain IPP and add it withlpadmin -v ipp://... -P <ppd>. It is set as the default destination and the driver options were picked up correctly.Thanks again for the clarification and for considering the troubleshooting option.
yokotato commentedon Nov 21, 2026
Update: the printer is powered on again, so I properly checked your suggested workaround (disabling IPP encryption / stopping the
_ipps._tcpadvertisement in the printer settings) instead of leaving it unverified as in my previous comment.Unfortunately, the printer's embedded admin UI is HTTPS-only:
http://192.168.0.62/redirects toindex.html, and the settings pages redirect tohttps://192.168.0.62/rui/login_manager.html?page=PAGE_AAP. Port 443 shows exactly the same TLS failure as the IPPS printing endpoint:I retried with TLS 1.2 forced and with
DEFAULT:@SECLEVEL=0; the result is the same. The printer'sJS_MDL/model.jsdoes exposeg_ssl_cert_auto_create=1, but I cannot reach the settings page over HTTPS from this client to change it. So disabling the_ipps._tcpadvertisement through the embedded web UI does not look feasible on this device; it would need to be done from the printer's own control panel, if such an option exists.For now the
lpadmin+driverlessplain-IPP workaround from the report remains the only working route here. I will add another update if I can verify a control-panel option or if the next system-config-printer version with the IPP/IPPS choice becomes available.yokotato commentedon Nov 21, 2026
Update with information from Canon's official documentation, which I checked after the previous comment:
1.030(2022-11-10) as the latest firmware for the TS7530;1.020(2022-08-31) is noted as adding RSA security support. The device is already on the latest firmware.[Security], plus a[CHMP settings]->[Automatically redirect to HTTPS]checkbox under[System information and LAN settings]. It does not document an IPP/IPPS on/off switch for this model (Canon's business-machine Remote UI does have separateUse IPP/Use TLScheckboxes, but that is a different product line).[Security]->[SSL/TLS settings]->[Generate key and certificate]->[Generate self-signed certificate], with SHA256 and a 2048-bit key. A missing or unusable certificate is a plausible explanation for the printer answering TLS with alert 40 and no peer certificate.However, the Remote UI login on this device is only reachable over HTTPS (the HTTP pages redirect to
https://.../rui/login_manager.html) and port 443 fails with the same handshake alert, so those settings cannot be reached from this Linux client. The suggested "disable IPP encryption / stop advertising_ipps._tcp" workaround may therefore only be possible from the printer's control panel or with Canon's Windows utility, not through the embedded web UI. I will report back if I can verify a control-panel option.jmass-ggg commentedon Nov 25, 2026
Hi @alexpevzner,
I'd be interested in helping with the device URI selection behavior described in this issue.
My proposed approach is to:
I understand that an IPP/IPPS troubleshooting option is already planned. Is there a separate part of this issue that I could work on without duplicating existing development? If so, could you assign that scope to me?
Thank you.