OPNsense Forum

Archive => 16.1 Legacy Series => Topic started by: kurczak on April 01, 2016, 06:54:36 pm

Title: [SOLVED]Proxy/Squid download is too large
Post by: kurczak on April 01, 2016, 06:54:36 pm
Hi,

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

Quote
If 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?
Title: Re: Proxy/Squid download is too large
Post by: Zeitkind on April 01, 2016, 07:13:08 pm
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?
Title: [SOLVED]Re: Proxy/Squid download is too large
Post by: kurczak on April 01, 2016, 07:51:46 pm
I've disabled traffic mangement and it works. Now I can download files :-) Thank You
Title: Re: [SOLVED]Proxy/Squid download is too large
Post by: franco on April 03, 2016, 12:25:34 pm
The squid traffic management?