SocketException: Connection reset by peer: socket write error
Posted on 2002-03-21
I have a java based web server which streams data to an applet. Occasionally the connection between the applet and server is broken. the message on the server is SocketException: Connection reset by peer: socket write error. After the connection is broke it appears the client side still thinks the connection is open and is blocking on a read.
The connection is a tunnel on port 80 which simulates a long file download. Any ideas on what could cause the exception besides the obvious network error or the user closing the browser?
I'm running JRE 1.2.2 on the server. The applet is a standard applet under MSIE 5.5.