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

HubNet SocketTimeoutException #1218

Open
ptgrogan opened this issue Nov 11, 2016 · 2 comments
Open

HubNet SocketTimeoutException #1218

ptgrogan opened this issue Nov 11, 2016 · 2 comments

Comments

@ptgrogan
Copy link

I received a java.net.SocketTimeoutException while running a HubNet activity in my class last night. We had about 20 students connected to a HubNet server running the default Disease HubNet model. The error was generated as the activity was wrapping up (the model had been running for a several hours previously) and I believe at least one student was issuing rapid commands at the time.

The error message does not provide much information; however, I suspect it may be an issue with network connectivity rather than a true bug. Posting the error message for completeness.

error.txt

@mrerrormessage
Copy link
Contributor

Thanks for reporting!

@mrerrormessage
Copy link
Contributor

We recently received another report of this. It was (like this and #1478) an error that occurred on Windows. I haven't had time to put together a failing test case, but it smells like a Java Bug to me that the socket is even throwing this exception, given that setSoTimeout(0) has been called on it. I think the argument for this is bolstered by the fact that it has only occurred on a single operating system (and rarely at that). I couldn't find anything in the Java Bug tracker, but before investing too much time fixing this, it's probably worth checking again whether a similar bug has been reported.

@mrerrormessage mrerrormessage removed this from the DCIII milestone Feb 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants