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
Unhandled Exception: System.InvalidOperationException: Compressed packet is too large
at TS3Client.Full.PacketHandler.ReceiveCommand(IncomingPacket packet) in C:\Projects\TS3AudioBot-master\TS3Client\Full\PacketHandler.cs:line 337
at TS3Client.Full.PacketHandler.FetchPacket() in C:\Projects\TS3AudioBot-master\TS3Client\Full\PacketHandler.cs:line 229
at TS3Client.Full.Ts3FullClient.NetworkLoop() in C:\Projects\TS3AudioBot-master\TS3Client\Full\Ts3FullClient.cs:line 109
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
This is possibly thrown on large TeamSpeak's with high user traffic and alot of channels. Since I was instantiating a new client for each bot to ensure no of the bots were affecting each other. After 150~ bots this crash would be encountered.
The text was updated successfully, but these errors were encountered:
Small update on this, i increased MaxDecompressedSize to 512000 and increased PacketBufferSize to 128, I also replaced throw new InvalidOperationException("Compressed packet is too large"); with return false;
After 1 hour and 150 active connections = 0 crashes and 0 lost connections.
Defo not a fix, but it works for me atm.
Whereas before when trying to get 150 connections it would crash while starting all the connections or shortly after all connections are completed.
After about 3 hours there was a crashed caused in Ts3Crypt line 175 were array.copy was expecting 32 but only got 31.
This is possibly thrown on large TeamSpeak's with high user traffic and alot of channels. Since I was instantiating a new client for each bot to ensure no of the bots were affecting each other. After 150~ bots this crash would be encountered.
The text was updated successfully, but these errors were encountered: