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@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