[SOLVED]Proxy/Squid download is too large

Started by kurczak, April 01, 2016, 06:54:36 PM

Previous topic - Next topic
April 01, 2016, 06:54:36 PM Last Edit: April 01, 2016, 07:52:20 PM by kurczak
Hi,

I have a problem with proxy. When I'm trying to download something I get error

QuoteIf you are making a POST or PUT request, then the item you are trying to upload is too large.

If you are making a GET request, then the item 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.

Your cache administrator is webmaster.

How to setup proxy/sqiud to get rid of this problem?

1. Check if you set a maximum download size under General Proxy settings and traffic amangement enabled.

2. This error sometimes occures if a webpage has strange scripts running and blow up http-headers beyond 10k size. Default setting for squid are 10k for requests and 20k for reply headers. Those settings can be altered on the squid conf:

# DEFAULT;
# request_header_max_size 10 KB;
request_header_max_size 64 KB;
# DEFAULT;
# reply_header_max_size 20 KB;
reply_header_max_size 64 KB;

Can you verify that bypassing the proxy also bypasses that error?

I've disabled traffic mangement and it works. Now I can download files :-) Thank You