Post by qiola on Mar 14, 2022 12:02:50 GMT
Hello!
Having trouble with ingame warning messages via RCON.
It works fine from the RCON window or externally from Mcrcon, ports are forwarded and passwords are correct.
Here's an example from the Backup tool. Backups are saved, no errors. Performed on "normal" server and clean installation without mods, also triend on different server machines (Windows Server 2019, .NET 4.8)
Any help is very appreciated.
Additional info (from ingame logs), maybe that helps. It seems connections that are used from the window are accepted but refused when used with tasks.
1. Using RCON window:
2. Using Backup tool:
Having trouble with ingame warning messages via RCON.
It works fine from the RCON window or externally from Mcrcon, ports are forwarded and passwords are correct.
Here's an example from the Backup tool. Backups are saved, no errors. Performed on "normal" server and clean installation without mods, also triend on different server machines (Windows Server 2019, .NET 4.8)
Any help is very appreciated.
13:44:14.9979 [INFO] Alert message sent - Backup: Preparing to save the world. Brace yourselves for some lag.
13:44:16.3737 [INFO] RCON> broadcast Preparing to save the world. Brace yourselves for some lag. - attempt 1 (b).
13:44:16.3737 [INFO] Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
13:44:16.3737 [INFO] at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)
at QueryMaster.TcpQuery.GetMultiPacketResponse(Byte[] msg)
at QueryMaster.RconSource.SendCommand(String command)
at ServerManagerTool.Lib.ServerApp.<SendCommandAsync>d__112.MoveNext()
13:44:18.6345 [INFO] RCON> saveworld - attempt 1 (b).
13:44:18.6345 [INFO] Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
13:44:18.6345 [INFO] at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)
at QueryMaster.TcpQuery.GetMultiPacketResponse(Byte[] msg)
at QueryMaster.RconSource.SendCommand(String command)
at ServerManagerTool.Lib.ServerApp.<SendCommandAsync>d__112.MoveNext()
13:44:19.6384 [INFO]
13:44:19.6384 [INFO] Back up profile and config files started...
Additional info (from ingame logs), maybe that helps. It seems connections that are used from the window are accepted but refused when used with tasks.
1. Using RCON window:
[2022.03.14-14.20.11:846][912]LogRcon:Display: Rcon Client PeerAddr: 65.108.140.168:55958 connected.
[2022.03.14-14.20.12:584][934]LogRcon:Warning: Received Rcon: listplayers, from PeerAddr: 65.108.140.168:55958
2. Using Backup tool:
[2022.03.14-14.20.50:941][ 60]LogRcon:Display: Rcon Client PeerAddr: 65.108.140.168:56019 connected.
[2022.03.14-14.20.51:206][ 68]LogRcon:Display: Rcon Client PeerAddr: 65.108.140.168:56019 disconnected.
[2022.03.14-14.20.53:214][128]LogRcon:Display: Rcon Client PeerAddr: 65.108.140.168:56020 connected.
[2022.03.14-14.20.53:449][135]LogRcon:Display: Rcon Client PeerAddr: 65.108.140.168:56020 disconnected.