[squid-users] urlParse: URL too large

Amos Jeffries squid3 at treenet.co.nz
Sun Sep 16 16:05:28 UTC 2018


On 17/09/18 1:31 AM, Toi Le Van wrote:
> Hi,
> My squid encountered this problem when process cache for an instant
> messages app.
> 
>  2018/09/16 17:11:51| ctx: exit level  0
> 2018/09/16 17:11:51| WARNING: HTTP: Invalid Response: Bad header
> encountered from
> http://f8.group.zp.zdn.vn/1677739834110322227/8b455403e361033f5a70.jpg

This is odd. That URL shows no issues of any kind from here or in
redbot. It may be related to your Squid being very old, or something
going wrong for this traffic - if you see many errors for this domain it
would be worth looking into.


> 2018/09/16 17:15:35| urlParse: URL too large (9135 bytes)
> 2018/09/16 17:15:37| urlParse: URL too large (9300 bytes)

Squid has an 8KB limit on URL length.

I have now added a page to the wiki documenting this log message
<https://wiki.squid-cache.org/KnowledgeBase/UrlTooLarge>


> 2018/09/16 17:15:38| errorpage.cc(293) errorTryLoadText:
> '/usr/share/squid/errors/es-xl/ERR_DNS_FAIL': (2) No such file or directory

Please upgrade your Squid. These messages only occur in very outdated
v3.1 or older Squid.

> 2018/09/16 17:15:38| WARNING: Error Pages Missing Language: es-xl
> 2018/09/16 17:52:19| WARNING: Error Pages Missing Language: ca-es
> 2018/09/16 18:05:41| WARNING: Error Pages Missing Language: zh-hans-cn
> 2018/09/16 18:26:37| WARNING: Error Pages Missing Language: zh-hans
> 2018/09/16 19:09:19| WARNING: Error Pages Missing Language: en-cn

Some of these can be resolved by updating your squid-langpack
translations and ensuring the alias symlinks are installed. The others I
am adding to the pack now. Thank you for the info.

Amos


More information about the squid-users mailing list