godarklight / DarkMultiPlayer

DarkMultiPlayer - A multiplayer mod for Kerbal Space Program
MIT License
280 stars 120 forks source link

Disconnect #417

Open CastleVostok opened 7 years ago

CastleVostok commented 7 years ago

Environment

Description

Join my friend's server, wait 5 seconds, connection timeout.

Additional Info

< https://hastebin.com/fabawivuco.vbs > KSP log - Can't find DMP log We're also using Hamachi...

"client spaghettiwarrior(that's me) failed to handshake"

Server debug log < https://hastebin.com/juvulequji.md >

Dan-Shields commented 7 years ago

No idea why this happens but here's the error line from the log. I'd assume it has something to do with hamachi.

[LOG 21:50:19.133] DarkMultiPlayer: [THREAD] [387.9681] Connection error: Read failure, System.Net.Sockets.SocketException: The descriptor is not a socket at System.Net.Sockets.Socket.Receive (System.Byte[] buffer, Int32 offset, Int32 size, SocketFlags flags) [0x00000] in <filename unknown>:0 at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0

Xinayder commented 7 years ago

Could you share the client log as well, OP? Also, if you're in OS X, you're definitely using Mono (iirc KSP uses Mono on *nix OSes).

CastleVostok commented 7 years ago

I'm not the one hosting the server, my friend is and he's using a windows machine. I would use mono to try and host it myself, but I have no idea how it works.

Where might I find the client log?

Xinayder commented 7 years ago

In [KSP ROOT]\KSP.log. Upload it to Hastebin or similar.