Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SoketTimeout #1

Open
jainvaibhav35 opened this issue Jul 25, 2016 · 0 comments
Open

SoketTimeout #1

jainvaibhav35 opened this issue Jul 25, 2016 · 0 comments

Comments

@jainvaibhav35
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant