Re: [squid-users] squid cannot open page, but the other proxy can

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 27 Jan 2009 11:43:05 +1300

myszaty wrote:
> hi
>
> We're squid 2.6 and squid 3.0 to cache-proxy html pages and block some
> unneeded sites. Squid is using in transparent proxy mode.
>
> The problem is, when we try get to the http://www.malopolska.uw.gov.pl using
> squid-proxt we cannot see it. unfortunattely, when we trying to using other
> proxies (i.e. WebShield by McAfee) we can see that page.
>
> squidclient is saying this:
> squidclient www.malopolska.uw.gov.pl
> HTTP/1.0 400 Bad Request
> Server: squid/3.0.STABLE7
> Mime-Version: 1.0
> Date: Mon, 26 Jan 2009 11:22:51 GMT
> Content-Type: text/html
> Content-Length: 1492
> Expires: Mon, 26 Jan 2009 11:22:51 GMT
> X-Squid-Error: ERR_INVALID_URL 0
> X-Cache: MISS from squid-proxy
> X-Cache-Lookup: NONE from squid-proxy:3128
> Via: 1.0 squid-proxy (squid/3.0.STABLE7)
> Proxy-Connection: close
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> "http://www.w3.org/TR/html4/loose.dtd">
> <HTML><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html;
> charset=iso-8859-1">
> <TITLE>ERROR: The requested URL could not be retrieved</TITLE>
> <STYLE
> type="text/css"><!--BODY{background-color:#ffffff;font-family:verdana,sans-serif}PRE{font-family:sans-serif}--></STYLE>
> </HEAD><BODY>
> <H1>ERROR</H1>
> <H2>The requested URL could not be retrieved</H2>
> <HR noshade size="1px">
> <P>
> While trying to retrieve the URL:
> www.malopolska.uw.gov.pl www.malopolska.uw.gov.pl
> <P>
> The following error was encountered:
> <UL>
> <LI>
> <STRONG>
> Invalid URL
> </STRONG>
> </UL>
>
> <P>
> Some aspect of the requested URL is incorrect. Possible problems:
> <UL>
> <LI>Missing or incorrect access protocol (should be `http://'' or similar)
> <LI>Missing hostname
> <LI>Illegal double-escape in the URL-Path
> <LI>Illegal character in hostname; underscores are not allowed
> </UL>
> <P>Your cache administrator is
> mailto:siec.umk_at_um.krakow.pl?subject=CacheErrorInfo%20-%20ERR_INVALID_URL&amp;body=CacheHost%3A%20squid-proxy%0D%0AErrPage%3A%20ERR_INVALID_URL%0D%0AErr%3A%20%5Bnone%5D%0D%0ATimeStamp%3A%20Mon,%2026%20Jan%202009%2011%3A22%3A51%20GMT%0D%0A%0D%0AClientIP%3A%20127.0.0.1%0D%0A%0D%0AHTTP%20Request%3A%0D%0A%0D%0A%0D%0A
> siec.umk_at_um.krakow.pl .
>
> <BR clear="all">
> <HR noshade size="1px">
> <ADDRESS>
> Generated Mon, 26 Jan 2009 11:22:51 GMT by squid-proxy (squid/3.0.STABLE7)
> </ADDRESS>
> </BODY></HTML>
>
> Could you tell me possible reasons of that?

URLs begin with 'http://' or 'ftp://' etc.

Try:
   squidclient http://www.malopolska.uw.gov.pl/

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE12
   Current Beta Squid 3.1.0.4
Received on Mon Jan 26 2009 - 22:43:01 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 27 2009 - 12:00:03 MST