User379720387 posted
[ERR] [device2931]TMs.Core.Exceptions.BadPacketException: Data length reported incorrectly.
at TMs.Core.Server.Packet.ValidateCommand() in C:\Users\Owner\source\Repos\TMs2020\TMs.Server\Packet.cs:line 143
at TMs.Core.Server.Packet.LoadCommand(String packetStr) in C:\Users\Owner\source\Repos\TMs2020\TMs.Server\Packet.cs:line 160
at TM.Core.Server.TcpSMClient.Parse(Byte[] buffer, Int32 read, Boolean identifiedClient) in C:\Users\Owner\source\Repos\TMs2020\TMs.Server\Client.cs:line 308 (6d38176b)
This is happening here:
if (dataLength != packetStr.Length)
{
throw new BadPacketException("Data length reported incorrectly.");
}
public class BadPacketException : Exception
{
public BadPacketException(string message) : base(message)
{
}
}
Why is this reporting like this, and what is the remediation?