hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20703] New: - unable to find line starting with "HTTP" error
Date Thu, 12 Jun 2003 08:49:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20703>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20703

unable to find line starting with "HTTP" error

           Summary: unable to find line starting with "HTTP" error
           Product: Commons
           Version: Nightly Builds
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: HttpClient
        AssignedTo: commons-httpclient-dev@jakarta.apache.org
        ReportedBy: michael@advweb.com


I keep getting this error 'unable to find line starting with "HTTP"' when I try 
to get the following URL:

http://www.msnbc.com/news/default.asp?newguid=2594c0a6623f464fb0ff25446bfa6cf3

It doesn't happen every time, about 1 in 5 really.  Adrian Sutton has confirmed 
the bug as well.  Here is the stack trace followed by the log.  I tried to 
configure the wire log per the instructions on the website (setting the system 
properties) but I don't see any logging on my System.err.  I'm using Eclipse 
and I have it set show System.err.  I set up a log4j appender and the debug 
output from that is below.  If I can provide further information just let me 
know.


org.apache.commons.httpclient.HttpRecoverableException: 
org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the 
status  line from the response: unable to find line starting with "HTTP"
	at org.apache.commons.httpclient.HttpMethodBase.readResponse
(HttpMethodBase.java:1907)
	at org.apache.commons.httpclient.HttpMethodBase.processRequest
(HttpMethodBase.java:2530)
	at org.apache.commons.httpclient.HttpMethodBase.execute
(HttpMethodBase.java:1065)
	at com.verideon.veriguard.domain.URLMonitor.monitor(URLMonitor.java:140)
	at com.verideon.veriguard.domain.URLMonitor.monitor(URLMonitor.java:162)
	at com.verideon.veriguard.domain.URLMonitor.monitor(URLMonitor.java:162)
	at com.verideon.veriguard.domain.TestURLMonitor.getPage
(TestURLMonitor.java:44)
	at 
com.verideon.veriguard.domain.TestURLMonitor.testMonitorURL302MsnbcHome
(TestURLMonitor.java:77)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests
(RemoteTestRunner.java:392)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run
(RemoteTestRunner.java:276)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main
(RemoteTestRunner.java:167)

10:12:34,899 [U:          ] [main                ] DEBUG 
GetMethod                    - enter GetMethod(String)
10:12:34,909 [U:          ] [main                ] DEBUG 
HttpConnection               - Creating connection for www.msnbc.com:-1 using 
protocol http:80
10:12:34,919 [U:          ] [main                ] DEBUG 
HttpConnection               - HttpConnection.setSoTimeout(10000)
10:12:34,919 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.open()
10:12:35,410 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.execute(HttpState, 
HttpConnection)
10:12:35,420 [U:          ] [main                ] DEBUG 
HttpMethod                   - Execute loop try 1
10:12:35,420 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.processRequest(HttpState, 
HttpConnection)
10:12:35,420 [U:          ] [main                ] DEBUG 
HttpMethod                   - Attempt number 1 to process request
10:12:35,420 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.writeRequest(HttpState, 
HttpConnection)
10:12:35,420 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.writeRequestLine(HttpState, 
HttpConnection)
10:12:35,420 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.generateRequestLine
(HttpConnection, String, String, String, String)
10:12:35,420 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.print(String)
10:12:35,420 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[])
10:12:35,420 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[], int, int)
10:12:35,420 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.writeRequestHeaders
(HttpState,HttpConnection)
10:12:35,430 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.addRequestHeaders
(HttpState, HttpConnection)
10:12:35,430 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.addUserAgentRequestHeaders
(HttpState, HttpConnection)
10:12:35,430 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.addHostRequestHeader
(HttpState, HttpConnection)
10:12:35,430 [U:          ] [main                ] DEBUG 
HttpMethod                   - Adding Host request header
10:12:35,430 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.addCookieRequestHeader
(HttpState, HttpConnection)
10:12:35,440 [U:          ] [main                ] DEBUG 
HttpState                    - enter HttpState.getCookies()
10:12:35,440 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.match(String, int, String, 
boolean, Cookie[])
10:12:35,440 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter 
HttpMethodBase.addAuthorizationRequestHeader(HttpState, HttpConnection)
10:12:35,440 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter 
HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState, HttpConnection)
10:12:35,440 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.addProxyConnectionHeader
(HttpState, HttpConnection)
10:12:35,440 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter 
HttpMethodBase.addContentLengthRequestHeader(HttpState, HttpConnection)
10:12:35,440 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.print(String)
10:12:35,440 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[])
10:12:35,440 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[], int, int)
10:12:35,440 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.print(String)
10:12:35,440 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[])
10:12:35,440 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[], int, int)
10:12:35,440 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.writeLine()
10:12:35,440 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[])
10:12:35,440 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[], int, int)
10:12:35,450 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.flushRequestOutputStream()
10:12:35,450 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.flushRequestOutputStream()
10:12:35,450 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.readResponse(HttpState, 
HttpConnection)
10:12:35,450 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.readStatusLine(HttpState, 
HttpConnection)
10:12:35,450 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.readLine()
10:12:35,450 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:35,450 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:35,700 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.readResponseHeaders
(HttpState,HttpConnection)
10:12:35,700 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.getResponseInputStream()
10:12:35,700 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HeaderParser.parseHeaders(HttpConnection, 
HeaderGroup)
10:12:35,700 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:35,700 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:35,700 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:35,700 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:35,700 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:35,700 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:35,710 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:35,710 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:35,710 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:35,710 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:35,710 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:35,710 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:35,710 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:35,710 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:35,720 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:35,720 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:35,720 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:35,720 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:35,720 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:35,720 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:35,720 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:35,720 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:35,720 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:35,720 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:35,720 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.processResponseHeaders
(HttpState, HttpConnection)
10:12:35,720 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.parse(String, port, path, 
boolean, String)
10:12:35,720 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.parse(String, port, path, 
boolean, Header)
10:12:35,731 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parse(String)
10:12:35,731 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parsePair(char[], int, int)
10:12:35,731 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parsePair(char[], int, int)
10:12:35,731 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parsePair(char[], int, int)
10:12:35,731 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parsePair(char[], int, int)
10:12:35,761 [U:          ] [main                ] DEBUG 
Cookie                       - enter Cookie(String, String, String, String, 
Date, boolean)
10:12:35,771 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter RFC2109Spec.validate(String, int, String, 
boolean, Cookie)
10:12:35,771 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.validate(String, port, 
path, boolean, Cookie)
10:12:35,771 [U:          ] [main                ] DEBUG 
HttpState                    - enter HttpState.addCookie(Cookie)
10:12:35,771 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter RFC2109Spec.formatCookie(Cookie)
10:12:35,771 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter RFC2109Spec.formatCookieAsVer(Cookie)
10:12:35,771 [U:          ] [main                ] DEBUG 
HttpMethod                   - Cookie accepted: "$Version=0; MC1=0; 
$Domain=.msnbc.com; $Path=/"
10:12:35,771 [U:          ] [main                ] DEBUG 
GetMethod                    - enter GetMethod.readResponseBody(HttpState, 
HttpConnection)
10:12:35,771 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.readResponseBody(HttpState, 
HttpConnection)
10:12:35,771 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.readResponseBody(HttpState, 
HttpConnection)
10:12:35,771 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.getResponseInputStream()
10:12:35,771 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parse(String)
10:12:35,771 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parsePair(char[], int, int)
10:12:35,781 [U:          ] [main                ] DEBUG 
HttpMethod                   - Redirect required
10:12:35,781 [U:          ] [main                ] DEBUG 
HttpMethod                   - Redirect requested to 
location 'http://www.msnbc.com/news/create_p1.asp?
cp1=1&cpm=1&cpe=1&URL=www.msnbc.com/news/default.asp&newguid=2594c0a6623f464fb0f
f25446bfa6cf3'
10:12:35,781 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.checkValidRedirect
(HttpConnection, URL)
10:12:35,781 [U:          ] [main                ] DEBUG 
HttpMethod                   - Redirecting 
from 'http://www.msnbc.com:80/news/default.asp' 
to 'http://www.msnbc.com/news/create_p1.asp?
cp1=1&cpm=1&cpe=1&URL=www.msnbc.com/news/default.asp&newguid=2594c0a6623f464fb0f
f25446bfa6cf3
10:12:35,831 [U:          ] [main                ] DEBUG 
HttpMethod                   - Should close connection in response to 
Connection: close

10:12:35,831 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.close()
10:12:35,831 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.closeSockedAndStreams()
10:12:35,831 [U:          ] [main                ] DEBUG 
HttpMethod                   - Execute loop try 2
10:12:35,831 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.processRequest(HttpState, 
HttpConnection)
10:12:35,831 [U:          ] [main                ] DEBUG 
HttpMethod                   - Attempt number 1 to process request
10:12:35,831 [U:          ] [main                ] DEBUG 
HttpMethod                   - Opening the connection.
10:12:35,831 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.open()
10:12:36,071 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.writeRequest(HttpState, 
HttpConnection)
10:12:36,071 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.writeRequestLine(HttpState, 
HttpConnection)
10:12:36,071 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.generateRequestLine
(HttpConnection, String, String, String, String)
10:12:36,071 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.print(String)
10:12:36,071 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[])
10:12:36,071 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[], int, int)
10:12:36,071 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.writeRequestHeaders
(HttpState,HttpConnection)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.addRequestHeaders
(HttpState, HttpConnection)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.addUserAgentRequestHeaders
(HttpState, HttpConnection)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.addHostRequestHeader
(HttpState, HttpConnection)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpMethod                   - Request to add Host header ignored: header 
already added
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.addCookieRequestHeader
(HttpState, HttpConnection)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpState                    - enter HttpState.getCookies()
10:12:36,081 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.match(String, int, String, 
boolean, Cookie[])
10:12:36,081 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.match(String, int, String, 
boolean, Cookie
10:12:36,081 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.formatCookieHeader(Cookie)
10:12:36,081 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter RFC2109Spec.formatCookie(Cookie)
10:12:36,081 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter RFC2109Spec.formatCookieAsVer(Cookie)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter 
HttpMethodBase.addAuthorizationRequestHeader(HttpState, HttpConnection)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter 
HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState, HttpConnection)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.addProxyConnectionHeader
(HttpState, HttpConnection)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter 
HttpMethodBase.addContentLengthRequestHeader(HttpState, HttpConnection)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.print(String)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[])
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[], int, int)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.print(String)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[])
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[], int, int)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.print(String)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[])
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[], int, int)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.writeLine()
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[])
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[], int, int)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.flushRequestOutputStream()
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.flushRequestOutputStream()
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.readResponse(HttpState, 
HttpConnection)
10:12:36,081 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.readStatusLine(HttpState, 
HttpConnection)
10:12:36,091 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.readLine()
10:12:36,091 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:36,091 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:36,341 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.readResponseHeaders
(HttpState,HttpConnection)
10:12:36,341 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.getResponseInputStream()
10:12:36,341 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HeaderParser.parseHeaders(HttpConnection, 
HeaderGroup)
10:12:36,341 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:36,341 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:36,341 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:36,341 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:36,341 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:36,341 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:36,341 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:36,341 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:36,351 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:36,351 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:36,351 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:36,351 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:36,351 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:36,351 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:36,351 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:36,351 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:36,361 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:36,361 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:36,361 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:36,361 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:36,361 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:36,361 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:36,361 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.processResponseHeaders
(HttpState, HttpConnection)
10:12:36,361 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.parse(String, port, path, 
boolean, String)
10:12:36,361 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.parse(String, port, path, 
boolean, Header)
10:12:36,361 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parse(String)
10:12:36,361 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parsePair(char[], int, int)
10:12:36,361 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parsePair(char[], int, int)
10:12:36,361 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parsePair(char[], int, int)
10:12:36,361 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parsePair(char[], int, int)
10:12:36,361 [U:          ] [main                ] DEBUG 
Cookie                       - enter Cookie(String, String, String, String, 
Date, boolean)
10:12:36,361 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter RFC2109Spec.validate(String, int, String, 
boolean, Cookie)
10:12:36,371 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.validate(String, port, 
path, boolean, Cookie)
10:12:36,371 [U:          ] [main                ] DEBUG 
HttpState                    - enter HttpState.addCookie(Cookie)
10:12:36,371 [U:          ] [main                ] DEBUG 
Cookie                       - enter Cookie.equals(Object)
10:12:36,371 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter RFC2109Spec.formatCookie(Cookie)
10:12:36,371 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter RFC2109Spec.formatCookieAsVer(Cookie)
10:12:36,371 [U:          ] [main                ] DEBUG 
HttpMethod                   - Cookie accepted: "$Version=0; 
MC1=GUID=2594c0a6623f464fb0ff25446bfa6cf3; $Domain=.msnbc.com; $Path=/"
10:12:36,371 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.parse(String, port, path, 
boolean, String)
10:12:36,371 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.parse(String, port, path, 
boolean, Header)
10:12:36,371 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parse(String)
10:12:36,371 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parsePair(char[], int, int)
10:12:36,371 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parsePair(char[], int, int)
10:12:36,371 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parsePair(char[], int, int)
10:12:36,371 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parsePair(char[], int, int)
10:12:36,371 [U:          ] [main                ] DEBUG 
Cookie                       - enter Cookie(String, String, String, String, 
Date, boolean)
10:12:36,371 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter RFC2109Spec.validate(String, int, String, 
boolean, Cookie)
10:12:36,371 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.validate(String, port, 
path, boolean, Cookie)
10:12:36,371 [U:          ] [main                ] DEBUG 
HttpState                    - enter HttpState.addCookie(Cookie)
10:12:36,371 [U:          ] [main                ] DEBUG 
Cookie                       - enter Cookie.equals(Object)
10:12:36,371 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter RFC2109Spec.formatCookie(Cookie)
10:12:36,371 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter RFC2109Spec.formatCookieAsVer(Cookie)
10:12:36,371 [U:          ] [main                ] DEBUG 
HttpMethod                   - Cookie accepted: "$Version=0; P1=0; 
$Domain=.msnbc.com; $Path=/"
10:12:36,371 [U:          ] [main                ] DEBUG 
GetMethod                    - enter GetMethod.readResponseBody(HttpState, 
HttpConnection)
10:12:36,371 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.readResponseBody(HttpState, 
HttpConnection)
10:12:36,371 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.readResponseBody(HttpState, 
HttpConnection)
10:12:36,371 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.getResponseInputStream()
10:12:36,371 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parse(String)
10:12:36,371 [U:          ] [main                ] DEBUG 
HeaderElement                - enter HeaderElement.parsePair(char[], int, int)
10:12:36,371 [U:          ] [main                ] DEBUG 
HttpMethod                   - Redirect required
10:12:36,371 [U:          ] [main                ] DEBUG 
HttpMethod                   - Redirect requested to 
location 'http://www.msnbc.com/news/default.asp?cp1=1'
10:12:36,371 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.checkValidRedirect
(HttpConnection, URL)
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - Redirecting 
from 'http://www.msnbc.com:80/news/create_p1.asp' 
to 'http://www.msnbc.com/news/default.asp?cp1=1
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - Should NOT close connection in response to 
Connection: Keep-Alive

10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - Execute loop try 3
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.processRequest(HttpState, 
HttpConnection)
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - Attempt number 1 to process request
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.writeRequest(HttpState, 
HttpConnection)
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.writeRequestLine(HttpState, 
HttpConnection)
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.generateRequestLine
(HttpConnection, String, String, String, String)
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.print(String)
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[])
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[], int, int)
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.writeRequestHeaders
(HttpState,HttpConnection)
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.addRequestHeaders
(HttpState, HttpConnection)
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.addUserAgentRequestHeaders
(HttpState, HttpConnection)
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.addHostRequestHeader
(HttpState, HttpConnection)
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - Request to add Host header ignored: header 
already added
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.addCookieRequestHeader
(HttpState, HttpConnection)
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpState                    - enter HttpState.getCookies()
10:12:36,381 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.match(String, int, String, 
boolean, Cookie[])
10:12:36,381 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.match(String, int, String, 
boolean, Cookie
10:12:36,381 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.match(String, int, String, 
boolean, Cookie
10:12:36,381 [U:          ] [main                ] DEBUG 
Cookie                       - enter Cookie.compare(Object, Object)
10:12:36,381 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.formatCookieHeader(Cookie)
10:12:36,381 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter RFC2109Spec.formatCookie(Cookie)
10:12:36,381 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter RFC2109Spec.formatCookieAsVer(Cookie)
10:12:36,381 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter CookieSpecBase.formatCookieHeader(Cookie)
10:12:36,381 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter RFC2109Spec.formatCookie(Cookie)
10:12:36,381 [U:          ] [main                ] DEBUG 
CookieSpec                   - enter RFC2109Spec.formatCookieAsVer(Cookie)
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter 
HttpMethodBase.addAuthorizationRequestHeader(HttpState, HttpConnection)
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter 
HttpMethodBase.addProxyAuthorizationRequestHeader(HttpState, HttpConnection)
10:12:36,381 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.addProxyConnectionHeader
(HttpState, HttpConnection)
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter 
HttpMethodBase.addContentLengthRequestHeader(HttpState, HttpConnection)
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.print(String)
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[])
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[], int, int)
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.print(String)
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[])
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[], int, int)
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.print(String)
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[])
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[], int, int)
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.print(String)
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[])
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[], int, int)
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.writeLine()
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[])
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.write(byte[], int, int)
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.flushRequestOutputStream()
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.flushRequestOutputStream()
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.readResponse(HttpState, 
HttpConnection)
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpMethod                   - enter HttpMethodBase.readStatusLine(HttpState, 
HttpConnection)
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.readLine()
10:12:36,391 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readLine()
10:12:36,401 [U:          ] [main                ] DEBUG 
HttpParser                   - enter HttpParser.readRawLine()
10:12:36,401 [U:          ] [main                ] DEBUG 
HttpMethod                   - Closing the connection.
10:12:36,401 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.close()
10:12:36,401 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.closeSockedAndStreams()
10:12:36,401 [U:          ] [main                ] INFO  
HttpMethod                   - Recoverable exception caught when processing 
request
10:12:36,401 [U:          ] [main                ] WARN  
HttpMethod                   - Recoverable exception caught but 
MethodRetryHandler.retryMethod() returned false, rethrowing exception
10:12:36,401 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.releaseConnection()
10:12:36,411 [U:          ] [main                ] DEBUG 
HttpConnection               - Connection is stale, closing...
10:12:36,411 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.close()
10:12:36,411 [U:          ] [main                ] DEBUG 
HttpConnection               - enter HttpConnection.closeSockedAndStreams()

Mime
View raw message