Error: The request or reply is too large (Squid)

Posted on Updated on

ERROR

The requested URL could not be retrieved


While trying to retrieve the URL: http://domain.com/admin

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.

Your cache administrator is admins@domain.com.

Solution for the above error :

Some days before I got an error when I modified some privilages for my user to manage my site. I found it was gateway error,

Iam using transperrent proxy server(SQUID), So I check its configuration and got a solution for this.

reply_header_max_size 40 KB

By default this line will comment on squid configuration (default value is 20 KB ) so uncomment and change the value to 40 KB then restart squid.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s