Cannot configure printer - "client-error-bad-request"

Nick Steffens anonymous at easysw.com
Thu Sep 9 23:09:25 PDT 2004


Make sure that the server identity field has the correct IP address of the machine or if DNS is installed then the machine name.

I had the same problem which was remedied when I put in the correct IP address.

Hope this helps.

Regards,
Nick Steffens



L. Drisis wrote:
> CUPS is setup properly and prints without problems. However, when we try to "Configure Printer" from the web interface, we get the error message "client-error-bad-request" and the changes are not done.
>
> We tried increasing the log level (see below), and the log file showed several corrupted strings as bad request lines (actually the strings are from the ppd file and not requests).
>
> We are using a freshly installed Red Hat Enterprise Linux 3 (Taroon update 2) with CUPS 1.1.20.
>
> Any hints? Thanks in advance for your help!
>
> ====================================================
>
> Excerpt from the log file:
>
> D [24/Aug/2004:15:16:01 +0200] CGI /usr/lib/cups/cgi-bin/admin.cgi started - PID = 2455
> I [24/Aug/2004:15:16:01 +0200] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=2455)
> D [24/Aug/2004:15:16:01 +0200] SendCommand() 5 file=8
> D [24/Aug/2004:15:16:04 +0200] AcceptClient() 7 from localhost:631.
> D [24/Aug/2004:15:16:04 +0200] AcceptClient() 9 from localhost:631.
> D [24/Aug/2004:15:16:04 +0200] ReadClient() 9 POST / HTTP/1.1
> D [24/Aug/2004:15:16:04 +0200] ProcessIPPRequest: 9 status_code=0
> D [24/Aug/2004:15:16:04 +0200] ReadClient() 9 GET /printers/PPDTEST.ppd HTTP/1.1
> D [24/Aug/2004:15:16:04 +0200] SendFile() 9 file=10
> D [24/Aug/2004:15:16:05 +0200] ReadClient() 7 POST /admin/ HTTP/1.1
> D [24/Aug/2004:15:16:05 +0200] SendError() 7 code=401 (Unauthorized)
> E [24/Aug/2004:15:16:05 +0200] Bad request line "\n) print flush"!
> D [24/Aug/2004:15:16:05 +0200] SendError() 7 code=400 (Bad Request)
> E [24/Aug/2004:15:16:05 +0200] Bad request line "xch pop } ifelse  } ifelse } bind""!
> D [24/Aug/2004:15:16:05 +0200] SendError() 7 code=400 (Bad Request)
> E [24/Aug/2004:15:16:05 +0200] Bad request line "p /ImagingBBox null put"!
> D [24/Aug/2004:15:16:05 +0200] SendError() 7 code=400 (Bad Request)
> E [24/Aug/2004:15:16:05 +0200] Bad request line "ore /PageSize exch def"!
> D [24/Aug/2004:15:16:05 +0200] SendError() 7 code=400 (Bad Request)
> E [24/Aug/2004:15:16:05 +0200] Bad URI ""60"" in request!
> D [24/Aug/2004:15:16:05 +0200] SendError() 7 code=405 (Unknown)
> E [24/Aug/2004:15:16:05 +0200] Bad request line "w.71lpi.600dpi/71 lpi / 600 dpi: "0.0""!
> D [24/Aug/2004:15:16:05 +0200] SendError() 7 code=400 (Bad Request)
> E [24/Aug/2004:15:16:05 +0200] Bad request line "2400dpi/175 lpi / 2400 dpi: "175.0""!
> D [24/Aug/2004:15:16:05 +0200] SendError() 7 code=400 (Bad Request)
> E [24/Aug/2004:15:16:05 +0200] Bad request line "="!
> D [24/Aug/2004:15:16:05 +0200] SendError() 7 code=400 (Bad Request)
> D [24/Aug/2004:15:16:05 +0200] CloseClient() 7
> D [24/Aug/2004:15:16:05 +0200] AcceptClient() 7 from localhost:631.
> D [24/Aug/2004:15:16:05 +0200] CloseClient() 9
> D [24/Aug/2004:15:16:05 +0200] ReadClient() 7 POST /admin/ HTTP/1.1
> D [24/Aug/2004:15:16:05 +0200] SendError() 7 code=401 (Unauthorized)
> D [24/Aug/2004:15:16:05 +0200] CloseClient() 7
> D [24/Aug/2004:15:17:13 +0200] CloseClient() 5
> D [24/Aug/2004:15:20:05 +0200] AcceptClient() 5 from localhost:631.
> D [24/Aug/2004:15:20:05 +0200] ReadClient() 5 GET /printers/PPDTEST.ppd HTTP/1.0
> D [24/Aug/2004:15:20:05 +0200] SendFile() 5 file=7
> D [24/Aug/2004:15:20:05 +0200] CloseClient() 5
> D [24/Aug/2004:15:25:29 +0200] AcceptClient() 5 from localhost:631.
> D [24/Aug/2004:15:25:29 +0200] ReadClient() 5 GET /printers HTTP/1.1
> D [24/Aug/2004:15:25:29 +0200] CGI /usr/lib/cups/cgi-bin/printers.cgi started - PID = 2493
> I [24/Aug/2004:15:25:29 +0200] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=2493)
>





More information about the cups-devel mailing list