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

2004-03-15 Thread Ortwin Glück
Dr. K.M. Ku wrote: Root>telnet 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 [...] I cannot find the response header. I think this is the origin of the problem. Is there any workround

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

2004-03-13 Thread Michael Becke
rts working 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

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: root>telnet

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 httphead.setBodyCheckTimeout(5

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 Oleg Kalnichevski
Forget my remark. I took the wrong URL. Stupid me. Oleg On Fri, 2003-08-01 at 15:28, Oleg Kalnichevski wrote: > Hmmm. It seems to work just fine. What is it exactly that you are doing? > Here's the code that works for me: > > import org.apache.commons.httpclient.*; > import org.apache.commons.h

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

2003-08-01 Thread Oleg Kalnichevski
Hmmm. It seems to work just fine. What is it exactly that you are doing? Here's the code that works for me: import org.apache.commons.httpclient.*; import org.apache.commons.httpclient.methods.*; public class Test { public static void main(String args[]) throws Exception { HttpClient httpcli

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 c

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, Ht

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

2003-08-01 Thread Roland Weber
Subject: Re: 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 misbeha

unable to find line starting with "HTTP" error

2003-08-01 Thread [EMAIL PROTECTED]
Hi, In relation to the bug 20703, I have noticed that the workaround propose by Adrian Sutton works for the url http://www.msnbc.com/news/default.asp?newguid=2594c0a6623f464fb0ff25446bfa6cf3 mentioned in the bug report, but, at least as long as my experience is concerned, it doesn't seem to wor

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

2003-06-12 Thread bugzilla
gzilla/show_bug.cgi?id=20703 unable to find line starting with "HTTP" error --- Additional Comments From [EMAIL PROTECTED] 2003-06-12 10:23 --- Oleg, you are correct I was using the Interface. I had it declared outside my try/catch block so I didn't see it. Sorry about tha

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

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

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

2003-06-12 Thread bugzilla
gzilla/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 MS

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

2003-06-12 Thread bugzilla
gzilla/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:

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

2003-06-12 Thread bugzilla
gzilla/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 tes

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

2003-06-12 Thread bugzilla
gzilla/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 abl

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

2003-06-12 Thread bugzilla
gzilla/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 HttpM

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

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

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

2003-06-12 Thread bugzilla
gzilla/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 be

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

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

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

2003-06-12 Thread Adrian Sutton
Hi Michael, Well I'll be darned. I'd actually half written an email telling you to try the latest HttpClient because the problem was fixed when I actually tried the latest HttpClient and watched it barf. So yeah, that one's a bug that will need to be fixed, the headers looked pretty standar

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 to co