RE: Occassional long download times

2003-07-08 Thread Michael Mattox
I've tried to turn the wire logging on but can't get it to work. I pasted the code to set the system properties but that doesn't work. Is it possible to use the wire log with Log4J? Thanks Michael > -Original Message- > From: Eric Johnson [mailto:[EMAIL PROTECTED] > Sent: Monday, July 0

Occassional long download times

2003-07-03 Thread Michael Mattox
I'm experiencing something weird and I just want to see if anyone else has experienced it, and if it may be something I'm doing. Basically my application is monitoring 700+ websites every 5 minutes and timing the time it takes to connect and download. The main goal is to verify the site is workin

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

Is it possible to set a timeout for HttpMethod.execute ?

2003-06-11 Thread Michael Mattox
I'm using HttpMethod.execute(state, connection) to execute a GET. However with Amazon.com it seems to hang occasionally. Is it possible to set a timeout for the execute method? I had this same problem with SUN's HttpURLConnection class. It was blocking on a socket read. This is one of the reas

Status of bug FollowRedirects 302

2003-06-11 Thread Michael Mattox
I'm curious if this is being worked on? I just switched over to Apache's HttpClient from SUN's (full of bugs) and I notice that many websites such as msnbc.com and google.com return a 302 for queries for their homepages. If no one is currently working on this I'd be interested in having a look at

HttpConnection.ConnectionTimeoutException with certain site

2003-06-11 Thread Michael Mattox
few. I'm suspicious because when I visit the site with my browser, it loads up in just a couple seconds. I'm using DSL so I don't see how it could take 20 seconds to connect with HttpClient and only 2 seconds with my browser. I'm curious if anyone has see