unable to find line starting with HTTP

2004-09-09 Thread Juan Pedro López Sáez
Hello all. From time to time I'm getting the following exception in my application: 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

Re: unable to find line starting with HTTP

2004-09-09 Thread Ortwin Glück
exception in my application: 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

Re: unable to find line starting with HTTP

2004-09-09 Thread Oleg Kalnichevski
. From time to time I'm getting the following exception in my application: 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

Re: unable to find line starting with HTTP

2004-09-09 Thread Juan Pedro López Sáez
: 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:1965) at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java

Re: unable to find line starting with HTTP

2004-09-09 Thread Oleg Kalnichevski
. From time to time I'm getting the following exception in my application: 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

Re: unable to find line starting with HTTP

2004-09-09 Thread Eric Johnson
: 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:1965) at org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpMethodBase.java:2659

Re: unable to find line starting with HTTP

2004-06-10 Thread Juan Pedro López Sáez
[mailto:[EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 17:18 To: [EMAIL PROTECTED] Subject: unable to find line starting with HTTP Hi, I've been searching in the archive list looking for something related to my unable to find line starting with HTTP

Re: unable to find line starting with HTTP

2004-06-10 Thread Ortwin Glck
Juan Pedro López Sáez wrote: If the request doesn't success, PostMethod.releaseConnection() isn't called You must *always* call releaseConnection, whether the request was successful or not. Do it in a finally block. Missing a call to releaseConnection will lead to resource leaks. --

RE: unable to find line starting with HTTP

2004-06-10 Thread Kalnichevski, Oleg
: Juan Pedro López Sáez [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 16:28 To: Commons HttpClient Project Subject: Re: unable to find line starting with HTTP Hello. I return with my problem, now with more information. Guys at the server side (the use Apache) told me they don't have

Re: unable to find line starting with HTTP

2004-06-03 Thread Juan Pedro López Sáez
. The httpclient wire log shows that I get a redirect and then the in waiting for the HTTP status line from the redirect, it never comes... What server are you running? -Eric Kalnichevski, Oleg wrote: Juan, Usually HttpClient reports 'unable to find line starting with HTTP

unable to find line starting with HTTP

2004-06-02 Thread Juan Pedro López Sáez
Hi, I've been searching in the archive list looking for something related to my unable to find line starting with HTTP. There are lots of comments about it, but they all seem to be unuseful for me. Currently I'm using 2.0-rc3 version. My HTTP client is very simple. Below you can see everything

RE: unable to find line starting with HTTP

2004-06-02 Thread Kalnichevski, Oleg
Juan, Usually HttpClient reports 'unable to find line starting with HTTP' when the target server drops the connection without returning any response. This can happen, for instance, if the server is being under heavy load. (1) If you have access to the target server, examine the server logs

Re: unable to find line starting with HTTP

2004-06-02 Thread Eric Bloch
Kalnichevski, Oleg wrote: Juan, Usually HttpClient reports 'unable to find line starting with HTTP' when the target server drops the connection without returning any response. This can happen, for instance, if the server is being under heavy load. (1) If you have access to the target server, examine

DO NOT REPLY [Bug 28354] - unable to find line starting with HTTP message when timeout occurs

2004-04-14 Thread bugzilla
/show_bug.cgi?id=28354 unable to find line starting with HTTP message when timeout occurs --- Additional Comments From [EMAIL PROTECTED] 2004-04-14 16:48 --- Hi Oleg! That's it. With JDK 1.4.2 and the bundled JSSE I get java.net.SocketTimeoutException: Read timed out. Feel free to mark

DO NOT REPLY [Bug 28354] - unable to find line starting with HTTP message when timeout occurs

2004-04-14 Thread bugzilla
/show_bug.cgi?id=28354 unable to find line starting with HTTP message when timeout occurs [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED

DO NOT REPLY [Bug 28354] - unable to find line starting with HTTP message when timeout occurs

2004-04-13 Thread bugzilla
/show_bug.cgi?id=28354 unable to find line starting with HTTP message when timeout occurs --- Additional Comments From [EMAIL PROTECTED] 2004-04-13 15:49 --- Hi Oleg! I'm using jdk 1.3.1_01 on WIndows and 1.3.1_07 on HP-UX. I did the test using a JSP that calls the Thread.sleep method

DO NOT REPLY [Bug 28354] - unable to find line starting with HTTP message when timeout occurs

2004-04-13 Thread bugzilla
/show_bug.cgi?id=28354 unable to find line starting with HTTP message when timeout occurs --- Additional Comments From [EMAIL PROTECTED] 2004-04-13 16:57 --- Daniel, SSLSocket timeouts in JSSE prior to JDK 1.4 appear plain broken. There's sufficient evidence that JSSE bundled with JDK 1.4

DO NOT REPLY [Bug 28354] New: - unable to find line starting with HTTP message when timeout occurs

2004-04-12 Thread bugzilla
/show_bug.cgi?id=28354 unable to find line starting with HTTP message when timeout occurs Summary: unable to find line starting with HTTP message when timeout occurs Product: Commons Version: 2.0 Final Platform: All OS/Version: All

DO NOT REPLY [Bug 28354] - unable to find line starting with HTTP message when timeout occurs

2004-04-12 Thread bugzilla
/show_bug.cgi?id=28354 unable to find line starting with HTTP message when timeout occurs --- Additional Comments From [EMAIL PROTECTED] 2004-04-12 21:57 --- Daniel, I seem unable to reproduce the problem. if I set socket timeout to a ridiculously small value, this is what I get: [DEBUG

DO NOT REPLY [Bug 28354] - unable to find line starting with HTTP message when timeout occurs

2004-04-12 Thread bugzilla
/show_bug.cgi?id=28354 unable to find line starting with HTTP message when timeout occurs --- Additional Comments From [EMAIL PROTECTED] 2004-04-13 04:16 --- Hi Oleg, You are right - the problem is in fact caused by the server dropping connection (maybe not the server but the HTTP commons

Re: unable to find line starting with HTTP error

2004-03-15 Thread Ortwin Glück
Dr. K.M. Ku wrote: Roottelnet www.worldscinet.com 80 Trying 203.208.144.142... Connected to www.worldscinet.com. Escape character is '^]'. GET /ijac/14/1401/S02181967041401.html HTTP/1.0 html body bgcolor=#FF div align=center [...] I cannot find the response header. I think this is the

unable to find line starting with HTTP error

2004-03-13 Thread Dr. K.M. Ku
Hi all, I am new to this . I received the error ' unable to find line starting with HTTP error' I read the digest, but I cannot fix it myself. Here is the URL: http://www.worldscinet.com/cgi-bin/current_issue.cgi?ijac I did a connection to the server: roottelnet www.worldscinet.com 80 Trying

Re: unable to find line starting with HTTP error

2004-03-13 Thread Michael Becke
with HTTP servers. Mike On Mar 13, 2004, at 12:30 PM, Dr. K.M. Ku wrote: Hi all, I am new to this . I received the error ' unable to find line starting with HTTP error' I read the digest, but I cannot fix it myself. Here is the URL: http://www.worldscinet.com/cgi-bin/current_issue.cgi?ijac I

unable to find line starting with HTTP error

2003-08-01 Thread [EMAIL PROTECTED]
to work for this url: http://www.computerhistory.org/ I get the same error unable to find line starting with HTTP as in the bug report.. Thanks for any suggestions.. Here is my error log: org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response

Fw: unable to find line starting with HTTP error

2003-08-01 Thread Roland Weber
: unable to find line starting with HTTP error Hello, from the log, I gather that you are sending a HEAD request. The server then responds by sending the HTML document directly, rather than an HTTP response without any document at all. I'd say this is a misbehaviour on the part of the server

Re: Fw: unable to find line starting with HTTP error

2003-08-01 Thread [EMAIL PROTECTED]
I tried sending a GET request but I catch always the same error unable to find line starting with HTTP. thanks again.. 3620 DEBUG [Thread-1] httpclient.HttpConnection - enter HttpConnection.open() 3803 DEBUG [Thread-1] httpclient.HttpMethodBase - enter HttpMethodBase.execute(HttpState

Re: Fw: unable to find line starting with HTTP error

2003-08-01 Thread Adrian Sutton
On Friday, August 1, 2003, at 11:04 PM, [EMAIL PROTECTED] wrote: I tried sending a GET request but I catch always the same error unable to find line starting with HTTP. thanks again.. Hi, The server is not responding with a valid HTTP response as it doesn't include a status line. Even wget

Re: unable to find line starting with HTTP error

2003-08-01 Thread Oleg Kalnichevski
OK. Now I know what is going on here. The server simply send the HTML page body without ANY response header of what so ever. No wonder HttpClient cannot find a status line. Stuff like that cannot work, as far as I am concerned. Feel free to drop the webmaster of that site a line. Oleg

Re: Fw: unable to find line starting with HTTP error

2003-08-01 Thread [EMAIL PROTECTED]
Hi, thank you very much for the help.. Actually I always try sending a HEAD request first, and then skip to GET in case of failure. I have already dealt with the problem of servers sending Body even in response to a HEAD request: Oleg adviced me to add the statement

unable to find line starting with HTTP error

2003-06-12 Thread Michael Mattox
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=2594c0a6623f464fb0ff25446bfa6c f3 It doesn't happen every time, about 1 in 5 really. Here is the stack trace followed by the log. I tried

Re: unable to find line starting with HTTP error

2003-06-12 Thread Adrian Sutton
standard when I connected via telnet. I'll look into it now but filing a bug would definitely be a good idea as I have a very short attention span. :) Regards, Adrian Sutton. On Thursday, June 12, 2003, at 06:21 PM, Michael Mattox wrote: I keep getting this error 'unable to find line starting

DO NOT REPLY [Bug 20703] New: - unable to find line starting with HTTP error

2003-06-12 Thread 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

DO NOT REPLY [Bug 20703] - unable to find line starting with HTTP error

2003-06-12 Thread bugzilla
/show_bug.cgi?id=20703 unable to find line starting with HTTP error --- Additional Comments From [EMAIL PROTECTED] 2003-06-12 09:31 --- For some reason the connection is being closed after the retry 3 requests are sent (the msnbc site redirects you all over the place before deciding to give

DO NOT REPLY [Bug 20703] - unable to find line starting with HTTP error

2003-06-12 Thread bugzilla
/show_bug.cgi?id=20703 unable to find line starting with HTTP error [EMAIL PROTECTED] changed: What|Removed |Added Severity|Major |Normal Priority

DO NOT REPLY [Bug 20703] - unable to find line starting with HTTP error

2003-06-12 Thread bugzilla
/show_bug.cgi?id=20703 unable to find line starting with HTTP error --- Additional Comments From [EMAIL PROTECTED] 2003-06-12 09:49 --- I tried your work around and it doesn't compile. Despite the javadoc saying there is a setMethodRetryHandler method on HttpMethod (inherited from

DO NOT REPLY [Bug 20703] - unable to find line starting with HTTP error

2003-06-12 Thread bugzilla
/show_bug.cgi?id=20703 unable to find line starting with HTTP error --- Additional Comments From [EMAIL PROTECTED] 2003-06-12 09:51 --- I'm inclined to agree it's a server problem, I'm just not sure why it's happening. HttpClient does claim to be able to detect stale connections though so

DO NOT REPLY [Bug 20703] - unable to find line starting with HTTP error

2003-06-12 Thread bugzilla
/show_bug.cgi?id=20703 unable to find line starting with HTTP error --- Additional Comments From [EMAIL PROTECTED] 2003-06-12 09:55 --- Michael, How long have you been seeing this problem for? It seems to be working for me know. I've been running the same test case for the past 5 minutes

DO NOT REPLY [Bug 20703] - unable to find line starting with HTTP error

2003-06-12 Thread bugzilla
/show_bug.cgi?id=20703 unable to find line starting with HTTP error --- Additional Comments From [EMAIL PROTECTED] 2003-06-12 10:00 --- Michael, The HttpMethodBase#setMethodRetryHandler method has been added with the following patch and is definitely still there: http://cvs.apache.org

DO NOT REPLY [Bug 20703] - unable to find line starting with HTTP error

2003-06-12 Thread bugzilla
/show_bug.cgi?id=20703 unable to find line starting with HTTP error --- Additional Comments From [EMAIL PROTECTED] 2003-06-12 10:05 --- It's still occurring for me. I just tried it a few times and got one success and two failures. If this is a problem specific to MSNBC.com then it's

DO NOT REPLY [Bug 20703] - unable to find line starting with HTTP error

2003-06-12 Thread bugzilla
/show_bug.cgi?id=20703 unable to find line starting with HTTP error [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution