Simple Voice Chat

Simple Voice Chat

31M Downloads

BadPaddingException

Moocow9m opened this issue ยท 3 comments

commented

Please read the FAQ before submitting a bug report!

Bug description
Randomly, while voice activation is on, it will throw this exception and sometimes crash the client. It has not been tested without krypton, but is random enough to be hard to replicate, so a test could not be conducted. Player can also be alone on the server and exception will still happen.

Steps to reproduce the issue
Unknown

Expected behavior
Packets that are incomplete or corrupted should be handled in a try catch and probably discarded rather than crashing the client.

Log files
https://gist.github.com/Moocow9m/82450152b278f487555a524d88e2288c

Versions

1.17
Fabric 0.11.6
1.4.4
Other mods
[email protected]
fabric-api-0.36.0+1.17

commented

Please provide the full log files of your client and server.

commented
commented

This happens if traffic from another application arrives on the server.
Sometimes this is caused by using VPNs or other stuff that can mess with UDP packets.
But it seems to work for you and if there are only occasionally errors, you can ignore them.
If these errors occur very regularly, I would advise switching the port or in some cases the MC hoster.