commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinay Murthy <vinay.mur...@gmail.com>
Subject connection timing out on httpClient
Date Thu, 14 Oct 2004 16:18:22 GMT
Hi,
I am using httpClient as a part of htmlUnit. I tried logging into my
mail account (Yahoo!), but unfortunately ended with an exception
trace:
java.net.ConnectException: Connection timed out: connect
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.PlainSocketImpl.doConnect(Unknown Source)
	at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
	at java.net.PlainSocketImpl.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.connect(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at java.net.Socket.<init>(Unknown Source)
	at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:105)
	at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:663)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:661)
	at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:529)

How can work around this problem ? Can someboby help ?

Regards
Vinay

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


Mime
View raw message