New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to add printers: Add Printer (and other Administration pages) freeze the whole web UI #197
Comments
To narrow this down: So the question is why Administration freezes with TLS enabled (even though the default page loads just fine with TLS). |
And after a few further minutes of poking around, all CUPS TLS pages stopped working. They just freeze and so does There has been no change to the certificate files and/or configuration since previous experiments. How can CUPS break itself at random? Are there any cache directories I need to wipe out? |
@andrejpodzimek What version of GNU TLS are you using? CUPS won't break itself at random. But if your system is misconfigured or cannot generate sufficient entropy to support a TLS connection, that might appear to be "breaking" CUPS... Also, have you reported this to the ArchLinux folks? |
Closed due to lack of response. |
Sorry for the radio silence; I should have closed this issue back in June. As mentioned in #198, I no longer have a printer and therefore a possibility or motivation to test things. I will avoid CUPS and home printing in the future, because neither the hardware support part nor the configuration part worked for me and the time lost was already worth more than years of copy-center fees. I used CUPS on an (almost) daily basis between 2007 and 2017 (also with weird GDI-only printers) and it had always worked flawlessly and out-of-the-box back then. This year’s experience was totally different, sadly enough. |
This was originally filed as apple/cups#5927 (wrong project 😁).
The entire CUPS web interface freezes when I try to do (almost) anything on the Administration tab. Sometimes at least the non-Administration tabs start working after a few minutes (without the need to kill the daemon), but sometimes they don’t. There is no way to add printers or otherwise make CUPS work. 😠
From the
error_log
file:Debug logs:
loading the default page (
https://server.domain.name.in.certificate:632
)clicking on the Admin tab for the first time
clicking on Add Printer button (after which it freezes):
This is all. Afterwards it’s completely frozen.
Non-default settings in
cupsd.conf
(which worked fine in ~2017, so I’m just reusing them):The ~same configuration used to work fine back in 2017.
Adding
Allow @LOCAL
doesn’t help.Removing
Encryption required
doesn’t “help”.Sometimes a password prompt is shown and then it freezes. Sometimes there’s no password prompt and it freezes immediately. (This may be just the browser’s password caching.)
Typing user credentials (from
wheel
) orroot
credentials has the same effect; it just freezes.TLS works fine; the CUPS website is properly encrypted and the supplied certificate is used.
The distro is ArchLinux, with its standard CUPS packages:
As for
cups-pk-helper
, it is mentioned here and I thought it could resolve the authentication problem, but it has no effect whatsoever.It looks like CUPS won’t work on current systems. I haven’t used it for ~4 years now, so maybe I have missed / misconfigured something. It doesn’t seem to be compatible with current PAM and
systemd
. (Or couldsystemd-homed
be an issue for CUPS? It doesn’t apply toroot
or to thecups
user, so I don’t think that’s a problem.)The text was updated successfully, but these errors were encountered: