On Monday 02 October 2006 09:29, Roland Weber wrote:
> please send a context/wire log of the failing request.
> Since you get some requests through without problems,
> it doesn't seem to be one of the usual mistakes.
I've had to redact some of this because of an NDA. Where it says "DATA
REMOVED" are the params I'm sending, in the form "0=xxx,1=xxx,...".
2006-10-02 09:33:39 DEBUG PostMethod setRequestBody:402 enter
PostMethod.setRequestBody(NameValuePair[])
2006-10-02 09:33:39 DEBUG PostMethod clearRequestBody:151 enter
PostMethod.clearRequestBody()
2006-10-02 09:33:39 DEBUG EntityEnclosingMethod clearRequestBody:149
enter EntityEnclosingMethod.clearRequestBody()
2006-10-02 09:33:39 DEBUG PostMethod addParameters:303 enter
PostMethod.addParameters(NameValuePair[])
2006-10-02 09:33:39 DEBUG EntityEnclosingMethod clearRequestBody:149
enter EntityEnclosingMethod.clearRequestBody()
2006-10-02 09:33:39 DEBUG HttpClient executeMethod:322 enter
HttpClient.executeMethod(HttpMethod)
2006-10-02 09:33:39 DEBUG HttpClient executeMethod:373 enter
HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)
2006-10-02 09:33:39 DEBUG HttpMethodDirector executeWithRetry:378
Attempt number 1 to process request
2006-10-02 09:33:39 DEBUG HttpConnection open:684 enter
HttpConnection.open()
2006-10-02 09:33:39 DEBUG HttpConnection open:691 Open connection to
xxxxxxxx.xxxxxxxx.com:443
2006-10-02 09:33:40 DEBUG HttpMethodBase execute:976 enter
HttpMethodBase.execute(HttpState, HttpConnection)
2006-10-02 09:33:40 DEBUG HttpMethodBase writeRequest:1916 enter
HttpMethodBase.writeRequest(HttpState, HttpConnection)
2006-10-02 09:33:40 DEBUG HttpMethodBase writeRequestLine:2071 enter
HttpMethodBase.writeRequestLine(HttpState, HttpConnection)
2006-10-02 09:33:40 DEBUG HttpMethodBase generateRequestLine:1379 enter
HttpMethodBase.generateRequestLine(HttpConnection, String, String,
String, String)
2006-10-02 09:33:40 DEBUG header wire:69 >> "POST /xxxxxxx/xxxxxxx.cgi
HTTP/1.1[\r][\n]"
2006-10-02 09:33:40 DEBUG HttpConnection print:1031 enter
HttpConnection.print(String)
2006-10-02 09:33:40 DEBUG HttpConnection write:941 enter
HttpConnection.write(byte[])
2006-10-02 09:33:40 DEBUG HttpConnection write:962 enter
HttpConnection.write(byte[], int, int)
2006-10-02 09:33:40 DEBUG HttpMethodBase writeRequestHeaders:2034 enter
HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
2006-10-02 09:33:40 DEBUG EntityEnclosingMethod addRequestHeaders:366
enter EntityEnclosingMethod.addRequestHeaders(HttpState,
HttpConnection)
2006-10-02 09:33:40 DEBUG ExpectContinueMethod addRequestHeaders:182
enter ExpectContinueMethod.addRequestHeaders(HttpState, HttpConnection)
2006-10-02 09:33:40 DEBUG HttpMethodBase addRequestHeaders:1300 enter
HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)
2006-10-02 09:33:40 DEBUG HttpMethodBase addUserAgentRequestHeader:1325
enter HttpMethodBase.addUserAgentRequestHeaders(HttpState,
HttpConnection)
2006-10-02 09:33:40 DEBUG HttpMethodBase addHostRequestHeader:1211 enter
HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)
2006-10-02 09:33:40 DEBUG HttpMethodBase addHostRequestHeader:1235
Adding Host request header
2006-10-02 09:33:40 DEBUG HttpMethodBase addCookieRequestHeader:1163
enter HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)
2006-10-02 09:33:40 DEBUG HttpState getCookies:172 enter
HttpState.getCookies()
2006-10-02 09:33:40 DEBUG CookieSpec match:548 enter
CookieSpecBase.match(String, int, String, boolean, Cookie[])
2006-10-02 09:33:40 DEBUG HttpMethodBase addProxyConnectionHeader:1262
enter HttpMethodBase.addProxyConnectionHeader(HttpState,
HttpConnection)
2006-10-02 09:33:40 DEBUG EntityEnclosingMethod
addContentLengthRequestHeader:397 enter
EntityEnclosingMethod.addContentLengthRequestHeader(HttpState,
HttpConnection)
2006-10-02 09:33:40 DEBUG EntityEnclosingMethod
getRequestContentLength:321 enter
EntityEnclosingMethod.getRequestContentLength()
2006-10-02 09:33:40 DEBUG PostMethod hasRequestContent:134 enter
PostMethod.hasRequestContent()
2006-10-02 09:33:40 DEBUG PostMethod getParameters:239 enter
PostMethod.getParameters()
2006-10-02 09:33:40 DEBUG HttpMethodBase getContentCharSet:2183 enter
getContentCharSet( Header contentheader )
2006-10-02 09:33:40 DEBUG HttpMethodBase getContentCharSet:2201 Default
charset used: UTF-8
2006-10-02 09:33:40 DEBUG HttpMethodBase addRequestHeader:382
HttpMethodBase.addRequestHeader(Header)
2006-10-02 09:33:40 DEBUG PostMethod getParameters:239 enter
PostMethod.getParameters()
2006-10-02 09:33:40 DEBUG HttpMethodBase getContentCharSet:2183 enter
getContentCharSet( Header contentheader )
2006-10-02 09:33:40 DEBUG HeaderElement parseElements:237 enter
HeaderElement.parseElements(String)
2006-10-02 09:33:40 DEBUG HeaderElement parseElements:193 enter
HeaderElement.parseElements(char[])
2006-10-02 09:33:40 DEBUG HeaderElement getParameterByName:278 enter
HeaderElement.getParameterByName(String)
2006-10-02 09:33:40 DEBUG HttpMethodBase getContentCharSet:2201 Default
charset used: UTF-8
2006-10-02 09:33:40 DEBUG header wire:69 >> "User-Agent: Jakarta
Commons-HttpClient/3.0.1[\r][\n]"
2006-10-02 09:33:40 DEBUG HttpConnection print:1031 enter
HttpConnection.print(String)
2006-10-02 09:33:40 DEBUG HttpConnection write:941 enter
HttpConnection.write(byte[])
2006-10-02 09:33:40 DEBUG HttpConnection write:962 enter
HttpConnection.write(byte[], int, int)
2006-10-02 09:33:40 DEBUG header wire:69 >> "Host:
xxxxxxxx.xxxxxxxx.com[\r][\n]"
2006-10-02 09:33:40 DEBUG HttpConnection print:1031 enter
HttpConnection.print(String)
2006-10-02 09:33:40 DEBUG HttpConnection write:941 enter
HttpConnection.write(byte[])
2006-10-02 09:33:40 DEBUG HttpConnection write:962 enter
HttpConnection.write(byte[], int, int)
2006-10-02 09:33:40 DEBUG header wire:69 >> "Content-Length: 597[\r]
[\n]"
2006-10-02 09:33:40 DEBUG HttpConnection print:1031 enter
HttpConnection.print(String)
2006-10-02 09:33:40 DEBUG HttpConnection write:941 enter
HttpConnection.write(byte[])
2006-10-02 09:33:40 DEBUG HttpConnection write:962 enter
HttpConnection.write(byte[], int, int)
2006-10-02 09:33:40 DEBUG header wire:69 >> "Content-Type:
application/x-www-form-urlencoded[\r][\n]"
2006-10-02 09:33:40 DEBUG HttpConnection print:1031 enter
HttpConnection.print(String)
2006-10-02 09:33:40 DEBUG HttpConnection write:941 enter
HttpConnection.write(byte[])
2006-10-02 09:33:40 DEBUG HttpConnection write:962 enter
HttpConnection.write(byte[], int, int)
2006-10-02 09:33:40 DEBUG HttpConnection writeLine:1000 enter
HttpConnection.writeLine()
2006-10-02 09:33:40 DEBUG HttpConnection write:941 enter
HttpConnection.write(byte[])
2006-10-02 09:33:40 DEBUG HttpConnection write:962 enter
HttpConnection.write(byte[], int, int)
2006-10-02 09:33:40 DEBUG header wire:69 >> "[\r][\n]"
2006-10-02 09:33:40 DEBUG EntityEnclosingMethod writeRequestBody:465
enter EntityEnclosingMethod.writeRequestBody(HttpState, HttpConnection)
2006-10-02 09:33:40 DEBUG PostMethod hasRequestContent:134 enter
PostMethod.hasRequestContent()
2006-10-02 09:33:40 DEBUG EntityEnclosingMethod
getRequestContentLength:321 enter
EntityEnclosingMethod.getRequestContentLength()
2006-10-02 09:33:40 DEBUG PostMethod hasRequestContent:134 enter
PostMethod.hasRequestContent()
2006-10-02 09:33:40 DEBUG HttpConnection getRequestOutputStream:839
enter HttpConnection.getRequestOutputStream()
2006-10-02 09:33:40 DEBUG content wire:83 >> *** DATA REMOVED ***
2006-10-02 09:33:40 DEBUG EntityEnclosingMethod writeRequestBody:504
Request body sent
2006-10-02 09:33:40 DEBUG HttpConnection flushRequestOutputStream:825
enter HttpConnection.flushRequestOutputStream()
2006-10-02 09:33:40 DEBUG HttpMethodBase readResponse:1585 enter
HttpMethodBase.readResponse(HttpState, HttpConnection)
2006-10-02 09:33:40 DEBUG HttpMethodBase readStatusLine:1823 enter
HttpMethodBase.readStatusLine(HttpState, HttpConnection)
2006-10-02 09:33:40 DEBUG HttpConnection readLine:1112 enter
HttpConnection.readLine()
2006-10-02 09:33:41 DEBUG HttpParser readLine:104 enter
HttpParser.readLine(InputStream, String)
2006-10-02 09:33:41 DEBUG HttpParser readRawLine:73 enter
HttpParser.readRawLine()
2006-10-02 09:33:41 DEBUG header wire:69 << "XXXXXXXXXXXXXXXXXXX=XX[\r]
[\n]"
2006-10-02 09:33:41 DEBUG HttpConnection readLine:1112 enter
HttpConnection.readLine()
2006-10-02 09:33:41 DEBUG HttpParser readLine:104 enter
HttpParser.readLine(InputStream, String)
2006-10-02 09:33:41 DEBUG HttpParser readRawLine:73 enter
HttpParser.readRawLine()
2006-10-02 09:33:41 DEBUG header wire:69 << "XXXXXXXXXXXXXXXXX=X[\r]
[\n]"
(several more similar responses)
2006-10-02 09:33:41 DEBUG HttpConnection readLine:1112 enter
HttpConnection.readLine()
2006-10-02 09:33:41 DEBUG HttpParser readLine:104 enter
HttpParser.readLine(InputStream, String)
2006-10-02 09:33:41 DEBUG HttpParser readRawLine:73 enter
HttpParser.readRawLine()
2006-10-02 09:33:41 DEBUG header wire:69 << "null[\r][\n]"
2006-10-02 09:33:41 DEBUG HttpMethodDirector executeWithRetry:449
Closing the connection.
2006-10-02 09:33:41 DEBUG HttpConnection close:1147 enter
HttpConnection.close()
org.apache.commons.httpclient.ProtocolException: The server
xxxxxxxx.xxxxxxxx.com failed to respond with a valid HTTP response
at
org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1846)
--
____________________________________________________________
Glenn Holmer [EMAIL PROTECTED]
Software Engineer phone: 414-908-1809
Weyco Group, Inc. fax: 414-908-1601
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]