Re: [squid-users] The request or reply is too large, error

From: Tarak <contacttrm_at_yahoo.co.in>
Date: Tue, 28 Oct 2008 17:49:21 +0530

Chris Robertson wrote:
> Tarak Ranjan wrote:
>> Hi List,
>> I have set those acl for limiting the download size in
>> squid.conf file,
>> acl limitsize2 time MTWHF 00:30-07:55
>> acl limitsize time MTWHF 8:00-20:00
>> acl limitsize1 time SA 00:10-23:59
>>
>> reply_body_max_size 25600 allow limitsize
>> reply_body_max_size 1024 allow limitsize2
>> reply_body_max_size 1024 allow limitsize1
>>
>> And #Default:
>> request_body_max_size 0 KB
>>
>> The following error was encountered:
>>
>> * The request or reply is too large.
>>
>> If you are making a POST or PUT request, then
>> your request body (the thing you are trying to upload)
>> is too large. If you are making a GET request, then
>> the reply body (what you are trying to download) is
>> too large. These limits have been established by the
>> Internet Service Provider who operates this cache.
>> Please contact them directly if you feel this is an
>> error.
>> Can anyone help to figure out this error.
>>
>> /\
>> Tarak
>
>> From
> http://www.squid-cache.org/Versions/v3/3.0/cfgman/reply_body_max_size.html
>
>
> When the reply headers are received, the reply_body_max_size lines are
> processed, and the first line where all (if any) listed ACLs are true
> is used as the maximum body size for this reply.
> [SNIP]
> Configuration Format is: reply_body_max_size SIZE UNITS [acl ...]
>
> So with that information, try...
>
> reply_body_max_size 25600 B limitsize
>
>
> ...or...
>
> reply_body_max_size 25600 KB limitsize
>
>
> ...instead.
>
> Chris
Hi List,

[root_at_calvin interfaces]# squid -k check
2008/10/28 17:41:04| squid.conf line 2574: reply_body_max_size 25600 KB
allow limitsize
2008/10/28 17:41:04| aclParseAccessLine: expecting 'allow' or 'deny',
got 'KB'.
2008/10/28 17:41:04| squid.conf line 2576: reply_body_max_size 1024 KB
allow limitsize2
2008/10/28 17:41:04| aclParseAccessLine: expecting 'allow' or 'deny',
got 'KB'.
2008/10/28 17:41:04| squid.conf line 2578: reply_body_max_size 1024 KB
allow limitsize1
2008/10/28 17:41:04| aclParseAccessLine: expecting 'allow' or 'deny',
got 'KB'.

I'm getting this error after following the above link.

/\
Tarak
Received on Tue Oct 28 2008 - 12:29:04 MDT

This archive was generated by hypermail 2.2.0 : Wed Oct 29 2008 - 12:00:06 MDT