Ubuntu 9.10 – There was an error during the CUPS operation: ‘httpConnectionEncrypt failed’.
by Craig Mayhew on Jan.07, 2010, under General
CUPS had me chasing around for a while to fix this issue. Whenever I tried to print I realized there were no printers and going to “System -> Administration -> Printing” caused the error “There was an error during the CUPS operation: ‘httpConnectionEncrypt failed’” when I tried to connect to the local CUPS service. The “/etc/init.d/cups” file had completely disappeared and reinstalling the cups package didn’t fix it! In the end I marked the cups package for “complete removal” which also removes the configuration files. After this I then reinstalled CUPS, “/etc/init.d/cups” reappeared and it worked once again. Unfortunately I had to reinstall my printers on this machine.
Steps were:
- Complete removal of CUPS package including the configuration files
- Reinstall the CUPS package.
- Start the CUPS service with “sudo /etc/init.d/cups restart” in the terminal.
- Reinstall your printers
- Print stuff!
February 24th, 2010 on 10:08 am
Thanks. Worked like a charm.
April 12th, 2010 on 9:35 am
Thanks. I run into the same problem. After finding your post I went to Synaptic for complete removal of cups package, and discovered, that it wasn’t installed! After marking it for installation I saw the reason – Synaptic suggested to remove the xpdf-utils! I’d installed this in an attempt to find some OCR software. So, there was a conflict between cups & xpdf-utils, and I didn’t paid much attention during installation of xpdf-utils. So cups was uninstalled though all the configuration files remained. Now, after installation of cups (and removal of xpdf-utils) everything works properly.
May 14th, 2010 on 1:07 pm
Thanks also – had exactly the same problem and this fixed it for me! :)
June 1st, 2011 on 4:44 pm
Thanx hooke, that nailed my problem as well. stupid xpdf…