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
While not easily reproducible, I've had this occur several times now, where I am connected to a server, Disconnect (intentionally), and then attempting to reconnect results in the following output on the server, all within a split second:
[22:15:15] [Info] : New client...
[22:15:15] [Info] : Client TCP connection established...
[22:15:15] [Info] : Accepted client from 127.0.0.1:56771. Handshaking...
[22:15:15] [Info] : Johannes (#1) has joined the server using client version 0.1.5.1
[22:15:15] [Info] : Player #1 Johannes has disconnected: Connection lost
The few times that I've had this, someone else has been connected to the server as well, be it another user or another local client of mine. In these cases this also generally tends to 2-5 times in a row, where clicking connect will just result in the immediate 'connection lost' message on the server. After several attempts the next attempt will suddenly work like normal.
You can find the Relevant Client and Server Logs for a session that had this issue here. This is from a quick test session with a Friend of mine that lives a few miles away.
The text was updated successfully, but these errors were encountered:
Was finally able to catch this with -kmpdebug on, while using the Profiling server build and LogLevel set to Debug
The error message in Player.log seems to be:
[Debug] : Connecting to IPv6: [::0.0.0.1]:2076
[Debug] : Exception thrown in connectionLoop(), catch 2, Exception: System.Net.Sockets.SocketException: Connection refused
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP, Boolean requireSocketPolicy) [0x00000] in <filename unknown>:0
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in <filename unknown>:0
at System.Net.Sockets.TcpClient.Connect (System.Net.IPEndPoint remote_end_point) [0x00000] in <filename unknown>:0
at KMP.KMPClientMain.connectionLoop () [0x00000] in <filename unknown>:0
While on the server I see the following:
[02:06:15] [Debug] : Caught IOException for player client_1 in asyncReceive
The entire log can be accessed here - I failed to connect once, after which I was able to connect successfully, and said "ok, that was one failed connection" in chat as soon as I was logged in, so that should help you pinpoint the disconnect a few seconds earlier.
While not easily reproducible, I've had this occur several times now, where I am connected to a server, Disconnect (intentionally), and then attempting to reconnect results in the following output on the server, all within a split second:
The few times that I've had this, someone else has been connected to the server as well, be it another user or another local client of mine. In these cases this also generally tends to 2-5 times in a row, where clicking connect will just result in the immediate 'connection lost' message on the server. After several attempts the next attempt will suddenly work like normal.
You can find the Relevant Client and Server Logs for a session that had this issue here. This is from a quick test session with a Friend of mine that lives a few miles away.
The text was updated successfully, but these errors were encountered: