Closed AtkinsSJ closed 14 years ago
OK, got it a second time. Any ideas why?
As far as I can tell, something went wrong during the heartbeat to minecraft.net and Spacecraft doesn't catch it yet. I'll be sure to add more graceful handling of heartbeat errors.
In this case, the end error is "Connection reset by peer," which effectively means that minecraft.net hung up on Spacecraft during the heartbeat.
Thanks for reminding me of another important place we need proper error handling :P
Oh, it happened a second time. Hmm. Maybe make sure your computer can properly connect to Minecraft.net? Not sure what the underlying issue of this problem is, but it must be something on your side.
Like I said, I'll be sure to add graceful error handling in the event of a failed heartbeat.
I can connect, but I guess the connection isn't consistent enough. It's crashed a third time so it needs fixing! :P
As of revision 3e57440ec947c7bb89d48ed11c34eb91526f3249, Server.Heartbeat will catch a WebException such as the one thrown and print an error message rather than crashing. Issue closed, for now.
I noticed you'd crashed my server, or it had crashed while you two were on it anyway. :P Here's the error message I got: