Monday, October 29, 2012

[android-developers] Connection reset by peer error during file upload with HttpClient

While uploading large files (> 100 MB), we are encountering the following error. If we capture the tcpdump, noticed that after sometime client is not sending any data to server and server is tearing the connection after some point. Any one encounterd an error like this while HttpClient

10-29 16:13:41.759: W/System.err(16283): Caused by: javax.net.ssl.SSLException: Write error: ssl=0x5bed5470: I/O error during system call, Connection reset by peer
10-29 16:13:41.774: W/System.err(16283):     at org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_write(Native Method)
10-29 16:13:41.774: W/System.err(16283):     at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl$SSLOutputStream.write(OpenSSLSocketImpl.java:717)
10-29 16:13:41.774: W/System.err(16283):     at org.apache.http.impl.io.AbstractSessionOutputBuffer.write(AbstractSessionOutputBuffer.java:109)
10-29 16:13:41.774: W/System.err(16283):     at org.apache.http.impl.io.ContentLengthOutputStream.write(ContentLengthOutputStream.java:113)


--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate