Re: [squid-users] Re: squid receives (null) instead of http

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 09 Dec 2009 14:43:15 +1300

On Tue, 08 Dec 2009 20:40:12 +0200, Arthur Titeica
<arthur.titeica_at_gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 06.12.2009 16:20, Arthur Titeica wrote:
>> Hi,
>>
>> Recently I see lots of the following in my squid logs
>>
>> 1259130624.131 0 89.42.191.44 NONE/400 3172 GET
>>
(null)://example.com/Contab/Rapoarte/Rapoarte_obisnuite.asp?strCategorie=ContPart
>> - NONE/- text/html
>>
>> 1259141404.195 0 89.122.203.185 NONE/400 3200 POST
>>
(null)://example.com/Contab/NoteContabile/NoteContabUpd.asp?op=MODPOZ&NotaContabId=185
>> - NONE /- text/html
>>
>>
>> Squid is: Squid Cache: Version 3.1.0.14-20091120 on Ubuntu Server 9.04
>> x86 and the clients are Windows mostly with IE8 but also with older IE,
>> Opera and Firefox.
>>
>> Squid is acting as a reverse proxy in this case and it has worked like
>> that for at least an year now. Only recently I started seeing these
kind
>> of errors. The client receives the usual squid error and a client
>> refresh solves it in general.
>>
>
> And here bellow is the full error text:
>
> ERROR
> The requested URL could not be retrieved
>
> -
>
--------------------------------------------------------------------------------
>
> The following error was encountered while trying to retrieve the URL:
> (null)://example.com/test/
>
> Invalid URL
>
> Some aspect of the requested URL is incorrect.
>
> Some possible problems are:
>
> •Missing or incorrect access protocol (should be “http://%e2%80%9d or similar)
>
> •Missing hostname
>
> •Illegal double-escape in the URL-Path
>
> •Illegal character in hostname; underscores are not allowed.
>
> Your cache administrator is email_at_example.com.
>

Usually spotted when Squid is sent a request for:

 GET example.com/somepage HTTP/1.0

Instead of the correct:
 GET http://example.com/somepage HTTP/1.0

May also appear for other custom or unknown protocol namespace URIs such
as:
  GET randomjoes://example.com/somepage HTTP/1.0

Amos
Received on Wed Dec 09 2009 - 01:43:18 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 09 2009 - 12:00:01 MST