Re: [squid-users] Getting -> {X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0}

From: Mustafa Cayci <acayci_at_yahoo.com>
Date: Thu, 10 Mar 2011 05:44:31 -0800 (PST)

Thanks Amos for your reply.

The only thing I can see is this one below:

(self-tuning)'] getAuthInfo(procurator.tco.census.gov, 80, Basic realm="Squid
proxy-caching webserver") called
weblogic.net.http.HttpUnauthorizedException: Proxy or Server Authentication
Required
        at
weblogic.net.http.HttpURLConnection.getAuthInfo(HttpURLConnection.java:297)
        at
weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:468)
        at
weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:37)

I cannot tell if WLS responds with the information.

Mustafa

----- Original Message ----
From: Amos Jeffries <squid3_at_treenet.co.nz>
To: squid-users_at_squid-cache.org
Sent: Thu, March 10, 2011 8:25:32 AM
Subject: Re: [squid-users] Getting -> {X-Squid-Error: ERR_CACHE_ACCESS_DENIED 0}

On 11/03/11 01:26, Mustafa Cayci wrote:
> Hello,
>
> I did not check the previous posts. I apologize. The Proxy Server in our
> organization allows access to Internet. I am using Oracle WebLogic Server.
> During the startup of WLS, I defined
>
>
> -Dhttp.proxyHost=... -Dhttp.proxyUser=... -Dhttp.proxyPassword=....
>
> I wrote a very simple Servlet that access an external site. I am getting the
> following exception
>
>
>
> [Thu Mar 10 06:35:44 EST 2011] [[ACTIVE] ExecuteThread: '1' for queue:
> 'weblogic.kernel.Default
> (self-tuning)'] response - weblogic.net.http.MessageHeader_at_28e00c6{null:
> HTTP/1.0 407 Proxy Authentication Required}{Server: squid/2.6.STABLE21}{Date:

NOTICE ... 407 Proxy Authentication Required

> Thu, 10 Mar 2011 11:35:39 GMT}{Content-Type: text/html}{Content-Length:
> 1394}{Expires: Thu, 10 Mar 2011 11:35:39 GMT}{X-Squid-Error:
> ERR_CACHE_ACCESS_DENIED 0}{Proxy-Authenticate: Basic realm="Squid
proxy-caching
> web server"}{X-Cache
> : MISS from ???????}{X-Cache-Lookup: NONE from ??????:80}{Via: 1.0 ???????:80
> (squid/2.6.STABLE21)}{Proxy-Connection: close}
> [Thu Mar 10 06:35:44 EST 2011] [[ACTIVE] ExecuteThread: '1' for queue:
> 'weblogic.kernel.Default(self-tuning)'] Proxy Authentication required
> ...
>
> weblogic.net.http.HttpUnauthorizedException: Proxy or Server Authentication
> Required
> at
> weblogic.net.http.HttpURLConnection.getAuthInfo(HttpURLConnection.java:297)
> at
> weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:468)
> at
>weblogic.net.http.SOAPHttpURLConnection.getInputStream(SOAPHttpURLConnection.java:37)
>)
>
>
>
>
> I am posting this question here is because I am seeing "squid" in the trace.
I
> hope I provided all the information needed to sort out this issue.
> Has anyone run into this issue before? Any help is much appreciated.

This is Squid asking for the login credentials. Perfectly normal for a
proxy with authentication configured.

What happens next is the important part. Does WLS respond by repeating
the request with credentials attached?

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.11
   Beta testers wanted for 3.2.0.5
      
Received on Thu Mar 10 2011 - 13:44:38 MST

This archive was generated by hypermail 2.2.0 : Thu Mar 10 2011 - 12:00:02 MST