---------------------------------------- > Date: Fri, 22 Jan 2010 11:53:44 +1300 > From: squid3@xxxxxxxxxxxxx > To: squid-users@xxxxxxxxxxxxxxx > Subject: Re: Squid and java.io.IOException: open HTTP connection failed > > Victor Javier Brizuela wrote: >> On Wed, Jan 20, 2010 at 19:34, Amos Jeffries wrote: >>> Not surprising. That URL does not exist. >>> I get an official 404 "Página no encontrada" response from the web server >>> at ftweb-azul.zetti.com.ar when I try to retrieve it manually as well. >> >> Well, actually, it's supossed to be dinamically generated by Tomcat >> when requested internally through some process, so it would give you >> an error if you try to access it directly. > > There you probably have the problem. The 404 response I got matches the > logs you showed from Squid. > > HTTP is stateless. Squid will be serving as much from cache as possible > and may occasionally request these objects "directly" without some part > of the initial request sequence. You really need to put your question in terms of something that doesnt' involve a blackbox applet that requests a dynamic class generation. Normally you have a static jar file, not individual classes. I'm not sure if squid will cache 404's but I guess it is possible someone ( maybe even the app in an otherwise irrelevant bug) makes a request that gets a 404 which is cached and then the good request comes in and gets the cached 404. It could be anything. I guess if your server returned a Vary heder that may give you some idea what it was doing, or you could just check server log when it really works. Maybe the serve won't even generate something for security reasons if it finds a Via header, again who knows. > > Amos > -- > Please be using > Current Stable Squid 2.7.STABLE7 or 3.0.STABLE21 > Current Beta Squid 3.1.0.15 _________________________________________________________________ Hotmail: Trusted email with Microsoft’s powerful SPAM protection. http://clk.atdmt.com/GBL/go/196390706/direct/01/