recvfrom failed: ECONNRESET (Connection reset by peer)

01-02 00:08:43.560: W/System.err(3409): java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)
01-02 00:08:43.560: W/System.err(3409): 	at libcore.io.IoBridge.maybeThrowAfterRecvfrom(IoBridge.java:545)
01-02 00:08:43.560: W/System.err(3409): 	at libcore.io.IoBridge.recvfrom(IoBridge.java:509)
01-02 00:08:43.560: W/System.err(3409): 	at java.net.PlainSocketImpl.read(PlainSocketImpl.java:488)
01-02 00:08:43.560: W/System.err(3409): 	at java.net.PlainSocketImpl.access$000(PlainSocketImpl.java:46)
01-02 00:08:43.560: W/System.err(3409): 	at java.net.PlainSocketImpl$PlainSocketInputStream.read(PlainSocketImpl.java:240)
01-02 00:08:43.560: W/System.err(3409): 	at java.io.InputStream.read(InputStream.java:162)
01-02 00:08:43.560: W/System.err(3409): 	at com.flx.core.tcp.NetTcpRunnable.downloadData(NetTcpRunnable.java:109)
01-02 00:08:43.560: W/System.err(3409): 	at com.flx.core.tcp.NetTcpRunnable.run(NetTcpRunnable.java:77)
01-02 00:08:43.560: W/System.err(3409): 	at java.lang.Thread.run(Thread.java:841)
01-02 00:08:43.560: W/System.err(3409): Caused by: libcore.io.ErrnoException: recvfrom failed: ECONNRESET (Connection reset by peer)
01-02 00:08:43.560: W/System.err(3409): 	at libcore.io.Posix.recvfromBytes(Native Method)
01-02 00:08:43.560: W/System.err(3409): 	at libcore.io.Posix.recvfrom(Posix.java:141)
01-02 00:08:43.560: W/System.err(3409): 	at libcore.io.BlockGuardOs.recvfrom(BlockGuardOs.java:164)
01-02 00:08:43.560: W/System.err(3409): 	at libcore.io.IoBridge.recvfrom(IoBridge.java:506)
01-02 00:08:43.560: W/System.err(3409): 	... 7 more

Causes:

1. The client turns off the browser, while the server is still sending data to the client

After the client and server establish a connection, request to download the file, disconnect the client and server, and then connect

Similar Posts: