javax.net.ssl.SSLException: SSL peer shut down incorrectly
843811Sep 15 2008 — edited Sep 23 2008Hi,
I've written an application to download files over a secure socket. Occasionally it fails with the following exception:
*"javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLException: SSL peer shut down incorrectly"*
It's always with the same file; which is ~84MB. Sometimes it works, sometimes it doesn't. I think, due to size of the file, the connection is closing, wether that be by my app, the external server or the proxy.
Has anyone come accross this before and found a way of making/configuring something so the success rate is100%?
Additional info: I'm using Java 1.5 and using Apache HTTPClient. This intermittent problem occurs on both Windows and Unix boxes. The proxy is Windows.
Many thanks for any help.