Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Zero Sized Reply error massage

Status
Not open for further replies.

Lynux

MIS
Aug 3, 2001
33
US
Apache suddely started giving me a strange error message:
--------------------------------------------------
ERROR
The requested URL could not be retrieved

----------------------------------------------------

While trying to retrieve the URL: myURL

The following error was encountered:
Zero Sized Reply
Squid did not receive any data for this request.

Your cache administrator is webmaster.
----------------------------------------------------

Anyone have any idea what is causing this?? =================================
Imagination is more important than knowledge.
(A.E.)
 
Hi,

The message relates to a problem experience by the squid cache proxy and not apache as such. That messages seems to just indicate some kind of failure by squid to retrieve a given page (or item) after repeated attempts. If you go to --> and type 'zero sized reply' in the search box you will see quite a few similar problems that others have had but, unfortunately, no obvious solution.

What happens if you access the same site direct (not via squid proxy) ?

Regards
 
Thanks a ton for the lead...
How do access the site note using squid?.. I am not real familier with squid.


thanks again! :) =================================
Imagination is more important than knowledge.
(A.E.)
 
Hi,

Its a little difficult to answer that directly as there are a few possibilities. If you have access to the box on which squid is running you can just use a browser from there, making sure that is NOT configured to use a proxy server.

If its linux, you could also use (maybe temporarily) IP masquerading instead of squid to share the internet connection from that box. IP masquerading is a specialised form of source nat that is very simple to set up with either 'ipchains' or 'iptables'. For example with iptables :

echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/modprobe iptable_nat
/sbin/iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -o eth1 -j MASQUERADE

That would masquerade all traffic out of interface -o (e.g. eth1) from a source of the lan subnet 192.168.1.0 / 255.255.255.0 . All the clients need is a default route of the masquerade box plus they need to be configured with the appropriate dns server addresses because (unlike squid) masquerading doesn't transparently do any name resolution - it just forwards packets.

You'd also configure the client browser to NOT use proxies.

Hope this helps


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top