[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1006853: cups-browsed: HTTP Forbidden when adding printer with cups-browsed



Package: cups-browsed
Version: 1.28.12-1
Severity: normal
X-Debbugs-Cc: mark.brandis@posteo.de

I use a Epson XP 8600 printer, which cups found just fine and added
automatically as a printer queue, until recently. For a few days now, cups has
not added the printer as a queue, unless the printer was online during boot.

Searching in the logs I found the following:

/var/log/cups# tail -n 5 access_log error_log
==> access_log <==
localhost - root [06/Mar/2022:21:30:25 +0100] "POST /admin/ HTTP/1.1" 200 165
CUPS-Delete-Printer client-error-not-found
localhost - root [06/Mar/2022:21:30:25 +0100] "POST /admin/ HTTP/1.1" 403 13675
CUPS-Add-Modify-Printer successful-ok
localhost - root [06/Mar/2022:21:30:35 +0100] "POST /admin/ HTTP/1.1" 403 215
CUPS-Add-Modify-Printer successful-ok
localhost - root [06/Mar/2022:21:30:35 +0100] "POST /admin/ HTTP/1.1" 200 165
CUPS-Delete-Printer client-error-not-found
localhost - root [06/Mar/2022:21:30:35 +0100] "POST /admin/ HTTP/1.1" 403 13675
CUPS-Add-Modify-Printer successful-ok

==> error_log <==
E [06/Mar/2022:21:30:15 +0100] [Client 406] Returning HTTP Forbidden for CUPS-
Add-Modify-Printer (ipp://localhost/printers/EPSON_XP_8600_Series) from
localhost
E [06/Mar/2022:21:30:25 +0100] [Client 408] Returning HTTP Forbidden for CUPS-
Add-Modify-Printer (ipp://localhost/printers/EPSON_XP_8600_Series) from
localhost
E [06/Mar/2022:21:30:25 +0100] [Client 410] Returning HTTP Forbidden for CUPS-
Add-Modify-Printer (ipp://localhost/printers/EPSON_XP_8600_Series) from
localhost
E [06/Mar/2022:21:30:35 +0100] [Client 412] Returning HTTP Forbidden for CUPS-
Add-Modify-Printer (ipp://localhost/printers/EPSON_XP_8600_Series) from
localhost
E [06/Mar/2022:21:30:35 +0100] [Client 414] Returning HTTP Forbidden for CUPS-
Add-Modify-Printer (ipp://localhost/printers/EPSON_XP_8600_Series) from
localhost

I removed all cups packages and remove /etc/cups and installed the cups and
cups-browsed again. This didn't fix the problem.

So in my humble opinion, this is a bug since the adding of a printer should
work with a vanilla installation of cups-browsed and it worked before.


-- System Information:
Debian Release: bookworm/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.16.0-3-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cups-browsed depends on:
ii  cups-daemon          2.4.1op1-1
ii  init-system-helpers  1.62
ii  libavahi-client3     0.8-5
ii  libavahi-common3     0.8-5
ii  libavahi-glib1       0.8-5
ii  libc6                2.33-7
ii  libcups2             2.4.1op1-1
ii  libcupsfilters1      1.28.12-1
ii  libglib2.0-0         2.70.4-1
ii  libldap-2.4-2        2.4.59+dfsg-1+b1
ii  lsb-base             11.1.0

Versions of packages cups-browsed recommends:
ii  avahi-daemon  0.8-5

cups-browsed suggests no packages.

-- no debconf information


Reply to: