Bug 505547 - Can't login via http
Can't login via http
Product: Fedora
Classification: Fedora
Component: cups (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Tim Waugh
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-06-12 07:51 EDT by Alexey Kuznetsov
Modified: 2009-06-17 09:15 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-06-17 08:22:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alexey Kuznetsov 2009-06-12 07:51:54 EDT
I tried to manage printers remotely by using firefox. When i tied to login via local name (http://mini.local:631) i got "400 Bad Request"

Error in cups error log:

W [12/Jun/2009:15:39:56 +0400] Request from "" using invalid Host: field "mini.local:631"

But when i do it by ip address everything works fine.

I also expect troubles with manage printers by remote system-config-printer utility. It probably same name related bug.
Comment 1 Tim Waugh 2009-06-17 08:22:53 EDT
The CUPS server does not know that mini.local is a valid name for that machine, probably because there is no reverse name lookup available for its interface address.

Use 'ServerAlias mini.local' in the /etc/cups/cupsd.conf file on the server.
Comment 2 Alexey Kuznetsov 2009-06-17 08:30:10 EDT
mini is host name described in /etc/sysconfig/network. mini.local is correct mdns name for host, generated by avahi.

avahi is discovery service used by cups...

if it not a bug, then it a important feature. not?
Comment 3 Tim Waugh 2009-06-17 09:15:26 EDT
"mini.local" may be the correct mdns name, but it seems not to be the available DNS name for the IP address associated with any of the network interfaces for that machine.

mdns names are not DNS names.

Note You need to log in before you can comment on or make changes to this bug.