hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalnichevski, Oleg" <oleg.kalnichev...@bearingpoint.com>
Subject RE: Socket redirect
Date Tue, 20 Apr 2004 16:50:19 GMT

Thorsten,

> 2004.04.20 18:30:54,378 [http8090-Processor4] WARN  org.apache.commons.httpclient.HttpConnection
-
> The host > www.andaluciajunta.es:80 (or proxy null:-1) did not accept the connection
within timeout
> of 15000 milliseconds


Something tells me that this looks suspiciously like a connection timeout ;-) Have you tried
using a value greater than 15sec or disabling connect timeout altogether?

Oleg


-----Original Message-----
From: Thorsten Scherler
[mailto:thorsten.scherler.ext@juntadeandalucia.es]
Sent: Tuesday, April 20, 2004 18:47
To: Commons HttpClient Project
Subject: Socket redirect


Hello group,

I have written a "sonar" for web services. One part of that application
is the httpClient.
It is quite simple: I will do a checkup whether a web server is online
or not. I am using the http-response code for that. Everything works
like it should.

Now my problem: In my company there are some redirects to certain
server. e.g.  my boss is monitoring http://www.andaluciajunta.es. That
page will be redirected to http://andaluciajunta.es. Than I will get the
following error:

2004.04.20 18:30:46,098 [Thread-704] ERROR sonda.sonar.HttpClient - Failed to download file.
Thorsten
        at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:716)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:661)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:529)
       ...

2004.04.20 18:30:54,378 [http8090-Processor4] WARN  org.apache.commons.httpclient.HttpConnection
- The host www.andaluciajunta.es:80 (or proxy null:-1) did not accept the connection within
timeout of 15000 milliseconds

2004.04.20 18:30:54,378 [http8090-Processor4] ERROR sonda.sonar.HttpClient - Failed to download
file.
org.apache.commons.httpclient.HttpConnection$ConnectionTimeoutException
        at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:716)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:661)
        at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:529)
        at sonda.sonar.HttpClient.getHttp(HttpClient.java:66)
...

I know that was before in this list, but can't google a workaround to that problem!

Do have anybody an idea how can I solve that?

Any help very appreciated!

king regards
Thorsten


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


***************************************************************************************************
The information in this email is confidential and may be legally privileged.  Access to this
email by anyone other than the intended addressee is unauthorized.  If you are not the intended
recipient of this message, any review, disclosure, copying, distribution, retention, or any
action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. 
If you are not the intended recipient, please reply to or forward a copy of this message to
the sender and delete the message, any attachments, and any copies thereof from your system.
***************************************************************************************************

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org


Mime
View raw message