Jump to content

Frequent disconnects as driver, possible hardcoded IP


Recommended Posts

Posted (edited)

I was driving 19947 on DE1 starting in Warszawa Wschodnia. As soon as I left Centralna I got my first disconnect for "an unknown reason". I then reconnected and got disconnected again after less than a minute for several times. When looking at the logs the following lines look suspicious and the time seems to correlate with the disconnects:

 

[2023-03-11 11:54:39]: Curl error 28: Failed to connect to 192.168.10.14 port 8080 after 21023 ms: Timed out
[2023-03-11 11:54:39]: Request timeout

My subnet is 192.168.1.0/24, therefore 192.168.10.14 looks like an inadvertently hardcoded IP.

I haven't driven anything else since the patch (only dispatching) and stopped trying to reconnect at Zachodnia. Before the latest patch I did not have such problems. 192.168.10.14 does not appear in any earlier logfile (I also played as dispatcher since the patch).

Supplement: I later reconnected to 19947 and did get further disconnects. But the logfile now contains more entries with 192.168.10.14. So it might not be related. I got disconnected 3 times and now found these 3 log entries that better match the times:
 

[2023-03-11 12:13:19]: Disconnecting connId=0 to prevent exploits from an Exception in MessageHandler: ArgumentException An item with the same key has already been added. Key: 08/13/2022 11:33:12
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x00000] in <00000000000000000000000000000000>:0 
  at TrainAnnouncement.AnnouncementController.AddHighPriorityAnnouncement (System.DateTime date, TrainAnnouncement.TrainAnnouncementData announcementData) [0x00000] in <00000000000000000000000000000000>:0 
  at Assets.Scripts.PersistantWorldData.StationAnnoucements.StationAnnoucementsControllerClient.AddHighPriorityStationAnnouncementToQueue (System.String dateTime, Assets.Scripts.PersistantWorldData.StationAnnoucements.StationIdentifier stationIdentifier, Assets.Scripts.PersistantWorldData.StationAnnoucements.AnnouncementData announcementData) [0x00000] in <00000000000000000000000000000000>:0 
  at Assets.Scripts.PersistantWorldData.StationAnnoucements.StationAnnoucementsControllerServer.InvokeUserCode_RpcSyncHighPriorityQueue__StationIdentifier__String__AnnouncementData (Mirror.NetworkBehaviour obj, Mirror.NetworkReader reader, Mirror.NetworkConnectionToClient senderConnection) [0x00000] in <00000000000000000000000000000000>:0 
  at Mirror.NetworkIdentity.HandleRemoteCall (System.Int32 componentIndex, System.Int32 functionHash, Mirror.RemoteCalls.RemoteCallType remoteCallType, Mirror.NetworkReader reader, Mirror.NetworkConnectionToClient senderConnection) [0x00000] in <00000000000000000000000000000000>:0 
  at Mirror.NetworkClient.OnRPCMessage (Mirror.RpcMessage message) [0x00000] in <00000000000000000000000000000000>:0 
  at System.Action`1[T].Invoke (T obj) [0x00000] in <00000000000000000000000000000000>:0 
  at Mirror.NetworkClient+<>c__DisplayClass47_0`1[T].<RegisterHandler>g__HandlerWrapped|0 (Mirror.NetworkConnection _, T value) [0x00000] in <00000000000000000000000000000000>:0 
  at BestHTTP.WebSocket.OnWebSocketIncompleteFrameDelegate.Invoke (BestHTTP.WebSocket.WebSocket webSocket, BestHTTP.WebSocket.Frames.WebSocketFrameReader frame) [0x00000] in <00000000000000000000000000000000>:0 
  at Mirror.MessagePacking+<>c__DisplayClass7_0`2[T,C].<WrapHandler>g__Wrapped|0 (C conn, T msg, System.Int32 _) [0x00000] in <00000000000000000000000000000000>:0 
  at System.Action`3[T1,T2,T3].Invoke (T1 arg1, T2 arg2, T3 arg3) [0x00000] in <00000000000000000000000000000000>:0 
  at Mirror.MessagePacking+<>c__DisplayClass6_0`2[T,C].<WrapHandler>b__0 (Mirror.NetworkConnection conn, Mirror.NetworkReader reader, System.Int32 channelId) [0x00000] in <00000000000000000000000000000000>:0 
  at Mirror.NetworkClient.UnpackAndInvoke (Mirror.NetworkReader reader, System.Int32 channelId) [0x00000] in <00000000000000000000000000000000>:0 
  at Mirror.NetworkClient.OnTransportData (System.ArraySegment`1[T] data, System.Int32 channelId) [0x00000] in <00000000000000000000000000000000>:0 
  at kcp2k.KcpTransport.<Awake>b__22_5 (System.ArraySegment`1[T] message, kcp2k.KcpChannel channel) [0x00000] in <00000000000000000000000000000000>:0 
  at kcp2k.KcpClient.<Connect>b__7_1 (System.ArraySegment`1[T] message, kcp2k.KcpChannel channel) [0x00000] in <00000000000000000000000000000000>:0 
  at kcp2k.KcpConnection.TickIncoming_Authenticated (System.UInt32 time) [0x00000] in <00000000000000000000000000000000>:0 
  at kcp2k.KcpConnection.TickIncoming () [0x00000] in <00000000000000000000000000000000>:0 
  at Mirror.NetworkLoop.NetworkEarlyUpdate () [0x00000] in <00000000000000000000000000000000>:0 
[2023-03-11 12:13:19]: Client disconnected without intent! Going back to main menu!

 

SimRail_log_2023-03-11_11-39-34.txt

Edited by Bender192
  • SIMRAIL Team
Posted
Thank you for reporting this issue. A similar problem has already been reported by other users.
Dziękujemy za zgłoszenie tego problemu. Podobny problem był już zgłaszany przez innych użytkowników.
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use Privacy Policy