You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by Jeffrey Porter <PO...@WMGMAIL.wmg.warwick.ac.uk> on 2006/10/17 14:28:32 UTC

a Proxy issue. views please

 

Hello all,

 

I'd like to thank Roland for helping me out on my last proxy question.
But, now I have another one.

 

I've set the proxy settings in my code, but one customer is having
trouble connecting.

I've talked to their IT & they say they have added my address/ip to the
allowed list.

 

I'm not convinced though. The log file is below, can someone else tell
me what they think is going on.

 

Thank

Jeff

 

 

 

 

2006/10/16 13:41:21:125 BST [TRACE] HttpParser - -enter
HttpParser.readLine(InputStream, String)

2006/10/16 13:41:21:125 BST [TRACE] HttpParser - -enter
HttpParser.readRawLine()

 

2006/10/16 13:41:21:140 BST [DEBUG] header - -<< "Server:
squid/2.5.STABLE6[\r][\n]"

2006/10/16 13:41:21:140 BST [DEBUG] header - -<< "Mime-Version:
1.0[\r][\n]"

2006/10/16 13:41:21:140 BST [DEBUG] header - -<< "Date: Mon, 16 Oct 2006
23:43:16 GMT[\r][\n]"

2006/10/16 13:41:21:140 BST [DEBUG] header - -<< "Content-Type:
text/html[\r][\n]"

2006/10/16 13:41:21:140 BST [DEBUG] header - -<< "Content-Length:
1260[\r][\n]"

2006/10/16 13:41:21:140 BST [DEBUG] header - -<< "Expires: Mon, 16 Oct
2006 23:43:16 GMT[\r][\n]"

2006/10/16 13:41:21:140 BST [DEBUG] header - -<< "X-Squid-Error:
ERR_CANNOT_FORWARD 11[\r][\n]"

2006/10/16 13:41:21:140 BST [DEBUG] header - -<< "X-Cache: MISS from
edcs[\r][\n]"

2006/10/16 13:41:21:140 BST [DEBUG] header - -<< "Proxy-Connection:
close[\r][\n]"

2006/10/16 13:41:21:156 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)

2006/10/16 13:41:21:156 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.readResponseBody(HttpState, HttpConnection)

2006/10/16 13:41:21:156 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.readResponseBody(HttpConnection)

2006/10/16 13:41:21:156 BST [TRACE] HttpConnection - -enter
HttpConnection.getResponseInputStream()

2006/10/16 13:41:21:156 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.canResponseHaveBody(int)

2006/10/16 13:41:21:156 BST [TRACE] HttpState - -enter
HttpState.getCookies()

Address: http://137.205.177.94:80/theForm/j_security_check

Servlet: http://137.205.177.94:80/client/huginPathReceiverServlet

2006/10/16 13:41:21:156 BST [TRACE] HttpMethodBase -
-HttpMethodBase.addRequestHeader(Header)

2006/10/16 13:41:21:156 BST [TRACE] PostMethod - -enter
PostMethod.addParameter(String, String)

2006/10/16 13:41:21:156 BST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.clearRequestBody()

2006/10/16 13:41:21:171 BST [TRACE] PostMethod - -enter
PostMethod.addParameter(String, String)

2006/10/16 13:41:21:171 BST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.clearRequestBody()

2006/10/16 13:41:21:171 BST [TRACE] HttpClient - -enter
HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)

2006/10/16 13:41:21:171 BST [DEBUG] HttpMethodBase - -Should close
connection in response to directive: close

2006/10/16 13:41:21:171 BST [TRACE] HttpConnection - -enter
HttpConnection.close()

2006/10/16 13:41:21:171 BST [TRACE] HttpConnection - -enter
HttpConnection.closeSockedAndStreams()

2006/10/16 13:41:21:171 BST [TRACE] HttpConnection - -enter
HttpConnection.releaseConnection()

2006/10/16 13:41:21:171 BST [DEBUG] HttpConnection - -Releasing
connection backto connection manager.

2006/10/16 13:41:21:171 BST [TRACE] HttpMethodDirector - -Attempt number
1 to process request

2006/10/16 13:41:21:171 BST [TRACE] HttpConnection - -enter
HttpConnection.open()

2006/10/16 13:41:21:187 BST [DEBUG] HttpConnection - -Open connection to
192.168.0.41:3128

2006/10/16 13:41:21:203 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.execute(HttpState, HttpConnection)

2006/10/16 13:41:21:218 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.writeRequest(HttpState, HttpConnection)

2006/10/16 13:41:21:218 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.writeRequestLine(HttpState, HttpConnection)

2006/10/16 13:41:21:218 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.generateRequestLine(HttpConnection, String, String,
String, String)

2006/10/16 13:41:21:218 BST [DEBUG] header - ->> "POST
http://137.205.177.94/theForm/j_security_check HTTP/1.1[\r][\n]"

2006/10/16 13:41:21:218 BST [TRACE] HttpConnection - -enter
HttpConnection.print(String)

2006/10/16 13:41:21:218 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])

2006/10/16 13:41:21:218 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)

2006/10/16 13:41:21:218 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)

2006/10/16 13:41:21:218 BST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.addRequestHeaders(HttpState, HttpConnection)

2006/10/16 13:41:21:218 BST [TRACE] ExpectContinueMethod - -enter
ExpectContinueMethod.addRequestHeaders(HttpState, HttpConnection)

2006/10/16 13:41:21:234 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)

2006/10/16 13:41:21:234 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)

2006/10/16 13:41:21:234 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)

2006/10/16 13:41:21:234 BST [DEBUG] HttpMethodBase - -Adding Host
request header

2006/10/16 13:41:21:234 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)

2006/10/16 13:41:21:234 BST [TRACE] HttpState - -enter
HttpState.getCookies()

2006/10/16 13:41:21:234 BST [TRACE] CookieSpec - -enter
CookieSpecBase.match(String, int, String, boolean, Cookie[])

2006/10/16 13:41:21:234 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.addProxyConnectionHeader(HttpState, HttpConnection)

2006/10/16 13:41:21:250 BST [TRACE] HttpMethodBase -
-HttpMethodBase.addRequestHeader(Header)

2006/10/16 13:41:21:250 BST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.addContentLengthRequestHeader(HttpState,
HttpConnection)

2006/10/16 13:41:21:250 BST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.getRequestContentLength()

2006/10/16 13:41:21:250 BST [TRACE] PostMethod - -enter
PostMethod.hasRequestContent()

2006/10/16 13:41:21:250 BST [TRACE] PostMethod - -enter
PostMethod.getParameters()

2006/10/16 13:41:21:250 BST [TRACE] HttpMethodBase - -enter
getContentCharSet( Header contentheader )

2006/10/16 13:41:21:250 BST [DEBUG] HttpMethodBase - -Default charset
used: ISO-8859-1

2006/10/16 13:41:21:250 BST [TRACE] HttpMethodBase -
-HttpMethodBase.addRequestHeader(Header)

2006/10/16 13:41:21:250 BST [TRACE] PostMethod - -enter
PostMethod.getParameters()

2006/10/16 13:41:21:250 BST [TRACE] HttpMethodBase - -enter
getContentCharSet( Header contentheader )

2006/10/16 13:41:21:250 BST [TRACE] HeaderElement - -enter
HeaderElement.parseElements(String)

2006/10/16 13:41:21:265 BST [TRACE] HeaderElement - -enter
HeaderElement.parseElements(char[])

2006/10/16 13:41:21:265 BST [TRACE] HeaderElement - -enter
HeaderElement.getParameterByName(String)

2006/10/16 13:41:21:265 BST [DEBUG] HttpMethodBase - -Default charset
used: ISO-8859-1

2006/10/16 13:41:21:265 BST [DEBUG] header - ->> "Referer:
http://137.205.177.94:80/client/huginPathReceiverServlet[\r][\n]"

2006/10/16 13:41:21:265 BST [TRACE] HttpConnection - -enter
HttpConnection.print(String)

2006/10/16 13:41:21:265 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])

2006/10/16 13:41:21:265 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)

2006/10/16 13:41:21:265 BST [DEBUG] header - ->> "User-Agent: Jakarta
Commons-HttpClient/3.0.1[\r][\n]"

2006/10/16 13:41:21:265 BST [TRACE] HttpConnection - -enter
HttpConnection.print(String)

2006/10/16 13:41:21:265 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])

2006/10/16 13:41:21:281 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)

2006/10/16 13:41:21:281 BST [DEBUG] header - ->> "Host:
137.205.177.94[\r][\n]"

2006/10/16 13:41:21:281 BST [TRACE] HttpConnection - -enter
HttpConnection.print(String)

2006/10/16 13:41:21:281 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])

2006/10/16 13:41:21:281 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)

2006/10/16 13:41:21:281 BST [DEBUG] header - ->> "Proxy-Connection:
Keep-Alive[\r][\n]"

2006/10/16 13:41:21:281 BST [TRACE] HttpConnection - -enter
HttpConnection.print(String)

2006/10/16 13:41:21:296 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])

2006/10/16 13:41:21:312 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)

2006/10/16 13:41:21:312 BST [DEBUG] header - ->> "Content-Length:
33[\r][\n]"

2006/10/16 13:41:21:312 BST [TRACE] HttpConnection - -enter
HttpConnection.print(String)

2006/10/16 13:41:21:312 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])

2006/10/16 13:41:21:312 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)

2006/10/16 13:41:21:312 BST [DEBUG] header - ->> "Content-Type:
application/x-www-form-urlencoded[\r][\n]"

2006/10/16 13:41:21:312 BST [TRACE] HttpConnection - -enter
HttpConnection.print(String)

2006/10/16 13:41:21:312 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])

2006/10/16 13:41:21:312 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)

2006/10/16 13:41:21:312 BST [TRACE] HttpConnection - -enter
HttpConnection.writeLine()

2006/10/16 13:41:21:312 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[])

2006/10/16 13:41:21:328 BST [TRACE] HttpConnection - -enter
HttpConnection.write(byte[], int, int)

2006/10/16 13:41:21:328 BST [DEBUG] header - ->> "[\r][\n]"

2006/10/16 13:41:21:328 BST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.writeRequestBody(HttpState, HttpConnection)

2006/10/16 13:41:21:328 BST [TRACE] PostMethod - -enter
PostMethod.hasRequestContent()

2006/10/16 13:41:21:328 BST [TRACE] EntityEnclosingMethod - -enter
EntityEnclosingMethod.getRequestContentLength()

2006/10/16 13:41:21:328 BST [TRACE] PostMethod - -enter
PostMethod.hasRequestContent()

2006/10/16 13:41:21:328 BST [TRACE] HttpConnection - -enter
HttpConnection.getRequestOutputStream()

2006/10/16 13:41:21:328 BST [DEBUG] EntityEnclosingMethod - -Request
body sent

2006/10/16 13:41:21:328 BST [TRACE] HttpConnection - -enter
HttpConnection.flushRequestOutputStream()

2006/10/16 13:41:21:328 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.readResponse(HttpState, HttpConnection)

2006/10/16 13:41:21:343 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.readStatusLine(HttpState, HttpConnection)

2006/10/16 13:41:21:343 BST [TRACE] HttpConnection - -enter
HttpConnection.readLine()

2006/10/16 13:41:21:343 BST [TRACE] HttpParser - -enter
HttpParser.readLine(InputStream, String)

2006/10/16 13:41:21:343 BST [TRACE] HttpParser - -enter
HttpParser.readRawLine()

 

2006/10/16 13:41:21:437 BST [DEBUG] header - -<< "HTTP/1.0 503 Service
Unavailable[\r][\n]"

2006/10/16 13:41:21:437 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)

2006/10/16 13:41:21:437 BST [TRACE] HttpConnection - -enter
HttpConnection.getResponseInputStream()

2006/10/16 13:41:21:437 BST [TRACE] HttpParser - -enter
HeaderParser.parseHeaders(InputStream, String)

2006/10/16 13:41:21:437 BST [TRACE] HttpParser - -enter
HttpParser.readLine(InputStream, String)

2006/10/16 13:41:21:437 BST [TRACE] HttpParser - -enter
HttpParser.readRawLine()

 

2006/10/16 13:41:21:437 BST [TRACE] HttpParser - -enter
HttpParser.readLine(InputStream, String)

2006/10/16 13:41:21:437 BST [TRACE] HttpParser - -enter
HttpParser.readRawLine()

2006/10/16 13:41:21:437 BST [TRACE] HttpParser - -enter
HttpParser.readLine(InputStream, String)

2006/10/16 13:41:21:437 BST [TRACE] HttpParser - -enter
HttpParser.readRawLine()

2006/10/16 13:41:21:453 BST [TRACE] HttpParser - -enter
HttpParser.readLine(InputStream, String)

2006/10/16 13:41:21:453 BST [TRACE] HttpParser - -enter
HttpParser.readRawLine()

 

2006/10/16 13:41:21:453 BST [TRACE] HttpParser - -enter
HttpParser.readLine(InputStream, String)

2006/10/16 13:41:21:453 BST [TRACE] HttpParser - -enter
HttpParser.readRawLine()

 

2006/10/16 13:41:21:453 BST [TRACE] HttpParser - -enter
HttpParser.readLine(InputStream, String)

2006/10/16 13:41:21:453 BST [TRACE] HttpParser - -enter
HttpParser.readRawLine()

 

2006/10/16 13:41:21:453 BST [TRACE] HttpParser - -enter
HttpParser.readLine(InputStream, String)

2006/10/16 13:41:21:453 BST [TRACE] HttpParser - -enter
HttpParser.readRawLine()

 

2006/10/16 13:41:21:453 BST [TRACE] HttpParser - -enter
HttpParser.readLine(InputStream, String)

2006/10/16 13:41:21:453 BST [TRACE] HttpParser - -enter
HttpParser.readRawLine()

 

2006/10/16 13:41:21:468 BST [TRACE] HttpParser - -enter
HttpParser.readLine(InputStream, String)

2006/10/16 13:41:21:468 BST [TRACE] HttpParser - -enter
HttpParser.readRawLine()

 

2006/10/16 13:41:21:468 BST [TRACE] HttpParser - -enter
HttpParser.readLine(InputStream, String)

2006/10/16 13:41:21:468 BST [TRACE] HttpParser - -enter
HttpParser.readRawLine()

 

2006/10/16 13:41:21:468 BST [DEBUG] header - -<< "Server:
squid/2.5.STABLE6[\r][\n]"

2006/10/16 13:41:21:468 BST [DEBUG] header - -<< "Mime-Version:
1.0[\r][\n]"

2006/10/16 13:41:21:468 BST [DEBUG] header - -<< "Date: Mon, 16 Oct 2006
23:43:17 GMT[\r][\n]"

2006/10/16 13:41:21:468 BST [DEBUG] header - -<< "Content-Type:
text/html[\r][\n]"

2006/10/16 13:41:21:468 BST [DEBUG] header - -<< "Content-Length:
1282[\r][\n]"

 

2006/10/16 13:41:21:468 BST [DEBUG] header - -<< "Expires: Mon, 16 Oct
2006 23:43:17 GMT[\r][\n]"

2006/10/16 13:41:21:468 BST [DEBUG] header - -<< "X-Squid-Error:
ERR_CANNOT_FORWARD 11[\r][\n]"

2006/10/16 13:41:21:484 BST [DEBUG] header - -<< "X-Cache: MISS from
edcs[\r][\n]"

2006/10/16 13:41:21:484 BST [DEBUG] header - -<< "Proxy-Connection:
close[\r][\n]"

2006/10/16 13:41:21:484 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)

2006/10/16 13:41:21:484 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.readResponseBody(HttpState, HttpConnection)

2006/10/16 13:41:21:484 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.readResponseBody(HttpConnection)

2006/10/16 13:41:21:484 BST [TRACE] HttpConnection - -enter
HttpConnection.getResponseInputStream()

2006/10/16 13:41:21:484 BST [TRACE] HttpMethodBase - -enter
HttpMethodBase.canResponseHaveBody(int)

Login to server failed:

Server connection failed for model download


RE: a Proxy issue. views please

Posted by Jeffrey Porter <PO...@WMGMAIL.wmg.warwick.ac.uk>.
Thanks Roland.

I'll chase it up on a squid forum. I suspected it was down to a proxy
issue, not me.

Jeff porter

-----Original Message-----
From: Roland Weber [mailto:http-async@dubioso.net] 
Sent: 18 October 2006 18:31
To: HttpClient User Discussion
Subject: Re: a Proxy issue. views please

Hello Jeff,

[DEBUG] header - -<< "X-Squid-Error: ERR_CANNOT_FORWARD 11[\r][\n]"

looks like you'll have to search the problem on the proxy.
Have you checked the Squid manual for that error message?
Anything in the proxy log?

Note that those are rhetorical questions - this is not the
appropriate list to discuss squid configuration problems :-)

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org


Re: a Proxy issue. views please

Posted by Roland Weber <ht...@dubioso.net>.
Hello Jeff,

[DEBUG] header - -<< "X-Squid-Error: ERR_CANNOT_FORWARD 11[\r][\n]"

looks like you'll have to search the problem on the proxy.
Have you checked the Squid manual for that error message?
Anything in the proxy log?

Note that those are rhetorical questions - this is not the
appropriate list to discuss squid configuration problems :-)

cheers,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org