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
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
.
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
:
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
.
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
:
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
[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
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.
--
: 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
. 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
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
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
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
/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
/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
/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
/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
/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
/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
/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
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
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
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
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
: 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
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
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
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
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
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
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
/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
/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
/show_bug.cgi?id=20703
unable to find line starting with HTTP error
[EMAIL PROTECTED] changed:
What|Removed |Added
Severity|Major |Normal
Priority
/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
/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
/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
/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
/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
/show_bug.cgi?id=20703
unable to find line starting with HTTP error
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution
40 matches
Mail list logo