Page 1 of 1

Upload failed with java.net.SocketException

Posted: Mon Aug 10, 2009 10:51 am
by amrish_deep
I have been using upload applet for long . But now I tried to upload two different files by opening my upload application in two IE browsers . After the upload proceeds for 60% in one session and 55% in another session, upload applet gave an exception below
Upload started ...Upload failed : java.net.SocketException: Connection reset by peer: socket write error
--------------------------------------------------

Re: Upload failed with java.net.SocketException

Posted: Mon Aug 10, 2009 8:48 pm
by support
This error means that server has closed the socket. Do you have any error in server-side log files?

Re: Upload failed with java.net.SocketException

Posted: Wed Sep 16, 2009 10:59 am
by amrish_deep
I put logs in my server side code and came to know that there is a discrepancy between the actual size of the file and the size of the file read using Request.InputStream (My server side code is in C#). The interface though shows the right file size when the upload begins.

Re: Upload failed with java.net.SocketException

Posted: Wed Sep 16, 2009 5:22 pm
by support
Does a simple HTML upload work with your server?