Meaningless Drivel is fun!*
The moose likes Sockets and Internet Protocols and the fly likes Remote host closed connection during handshake Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "Remote host closed connection during handshake" Watch "Remote host closed connection during handshake" New topic
Author

Remote host closed connection during handshake

Ashwin B Philar
Greenhorn

Joined: Jun 19, 2002
Posts: 12
Hi!!
I have a client application that communicates with an HTTPS server. Recently, it has stared giving the following error maybe once a week:
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
If I run the application again, it runs without any problems.
How should I attack this problem?
Regards,
Ashwin
Warren Dew
blacksmith
Ranch Hand

Joined: Mar 04, 2004
Posts: 1332
    
    2
I'm not a javax.net expert, but it sounds to me like the host is just dropping the connection during connection setup ("handshake"). This is likely due to an overloaded server or congestion on the network somewhere between you and the server, rather than a problem with your client code. You'll probably need to work with whoever is responsible for the server if you need to fix it.
Warren
Ashwin B Philar
Greenhorn

Joined: Jun 19, 2002
Posts: 12
Thanks a lot!!
Regards,
Ashwin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Remote host closed connection during handshake