You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No client connected, waiting for client...
java.net.SocketTimeoutException
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:108)
at java.net.ServerSocket.implAccept(ServerSocket.java:202)
at java.net.ServerSocket.accept(ServerSocket.java:127)
at httpserver.com.httpserver.LocalFileStreamingServer.run(LocalFileStreamingServer.java:126)
at java.lang.Thread.run(Thread.java:841)
Caused by: libcore.io.ErrnoException: accept failed: EAGAIN (Try again)
at libcore.io.Posix.accept(Native Method)
at libcore.io.BlockGuardOs.accept(BlockGuardOs.java:55)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:98)
at java.net.ServerSocket.implAccept(ServerSocket.java:202)
at java.net.ServerSocket.accept(ServerSocket.java:127)
at httpserver.com.httpserver.LocalFileStreamingServer.run(LocalFileStreamingServer.java:126)
at java.lang.Thread.run(Thread.java:841)
07-25 16:22:56.200 1626-1626/httpserver.com.httpserver E/httpserver.com.httpserver.LocalFileStreamingServer: Stopping server.
The text was updated successfully, but these errors were encountered:
I have added
client.setSoTimeout(1000*60);
client.setReuseAddress(true);
still i am getting
No client connected, waiting for client...
java.net.SocketTimeoutException
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:108)
at java.net.ServerSocket.implAccept(ServerSocket.java:202)
at java.net.ServerSocket.accept(ServerSocket.java:127)
at httpserver.com.httpserver.LocalFileStreamingServer.run(LocalFileStreamingServer.java:126)
at java.lang.Thread.run(Thread.java:841)
Caused by: libcore.io.ErrnoException: accept failed: EAGAIN (Try again)
at libcore.io.Posix.accept(Native Method)
at libcore.io.BlockGuardOs.accept(BlockGuardOs.java:55)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:98)
at java.net.ServerSocket.implAccept(ServerSocket.java:202)
at java.net.ServerSocket.accept(ServerSocket.java:127)
at httpserver.com.httpserver.LocalFileStreamingServer.run(LocalFileStreamingServer.java:126)
at java.lang.Thread.run(Thread.java:841)
07-25 16:22:56.200 1626-1626/httpserver.com.httpserver E/httpserver.com.httpserver.LocalFileStreamingServer: Stopping server.
The text was updated successfully, but these errors were encountered: