HostNameLookups Double giving IP lookup failed - connection from localhost closed #4070

Closed
michaelrsweet opened this Issue May 5, 2012 · 3 comments

Comments

Projects
None yet
1 participant
Collaborator

michaelrsweet commented May 5, 2012

Version: 2.1-feature
CUPS.org User: 20110301

I have tried using this option (with a cupsd.conf that lists servers by name), but it it seems to break things (using the web interface).

First /var/log/cups/error.log fills up with:

W [30/Apr/2012:00:00:00 +0000] IP lookup failed - connection from localhost closed!

Even worse, some of the functions don't work. "Manage Jobs" just pulls up a blank page. "Manage Printers" says it is unable to get a list of printers. "Add Printer" says it is unable to add a printer.

I have tried various combinations of "localhost" and "localhost.example.com" with no difference in the outcome.

I believe I have the hosts file configured correctly.

Michael Sweet suggested "Feel free to file a bug requesting that we log the values we got to help with debugging these kinds of issues" so I am doing that.

Collaborator

michaelrsweet commented Jul 31, 2014

CUPS.org User: mike

Deferring to 2.1.

Collaborator

michaelrsweet commented Jun 4, 2015

CUPS.org User: mike

I've not been able to reproduce this issue at all, and I'm not sure what else we can log these days.

Collaborator

michaelrsweet commented Jun 4, 2015

"cupsd.conf":

LogLevel warn
SystemGroup sys root
Listen localhost:631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS
DefaultAuthType Basic
WebInterface Yes

Order allow,deny

<Location /admin>
Order allow,deny

<Location /admin/conf>
AuthType Default
Require user @System
Order allow,deny


JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default

Order deny,allow


Require user @owner @System
Order deny,allow


AuthType Default
Require user @System
Order deny,allow


AuthType Default
Require user @System
Order deny,allow


Require user @owner @System
Order deny,allow


Order deny,allow



JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default

AuthType Default
Order deny,allow


AuthType Default
Require user @owner @System
Order deny,allow


AuthType Default
Require user @System
Order deny,allow


AuthType Default
Require user @System
Order deny,allow


AuthType Default
Require user @owner @System
Order deny,allow


Order deny,allow

michaelrsweet added this to the Stable milestone Mar 17, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment