search cancel

The requested URL could not be retrieved when accessing a specific site through the Client site proxy standalone server

book

Article ID: 162654

calendar_today

Updated On:

Products

Web Security.cloud

Issue/Introduction

Users are unable to access a specific site when using the Client site proxy (CSP) service as a standalone proxy server.

ERROR

The requested URL could not be retrieved

While trying to retrieve the URL: http://www.website.com/ 

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 webmaster. 
Generated Mon, 30 Nov 2015 15:49:23 GMT by ClientSiteProxy (squid) 

Cause

This error message is due to the request or reply header being larger than 20 KB. Request or reply headers are usually relatively small (about 512 bytes). The Client Site Proxy, squid ver. 2.7 request or reply headers are are set to 20KB by default.

 

 

Resolution

To adjust the default size of the request and reply headers in the squid.conf, you will need to add the following lines under "acl HEAD Method HEAD" in the ACLs section of C:\ClientSiteProxy\etc\squid.conf file.

# TAG: Header Maximum Size
request_header_max_size 64 KB
reply_header_max_size 64 KB

After you have completed the configuration changes, make sure you restart the Client Site Proxy service for the changes to take effect.