Offset out of range when voice receiving, received 11...
Any clue what may be causing this error? How can I prevent it from happening in the future?
RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 10. Received 11
at new NodeError (node:internal/errors:371:5)
at boundsError (node:internal/buffer:86:9)
at Buffer.readUInt8 (node:internal/buffer:252:5)
at VoiceReceiver.parsePacket (/home/dzlandis/bot/node_modules/@discordjs/voice/dist/index.js:1303:27)
at VoiceReceiver.onUdpMessage (/home/dzlandis/bot/node_modules/@discordjs/voice/dist/index.js:1322:27)
at VoiceUDPSocket.emit (node:events:390:28)
at VoiceUDPSocket.onMessage (/home/dzlandis/bot/node_modules/@discordjs/voice/dist/index.js:311:10)
at Socket.<anonymous> (/home/dzlandis/bot/node_modules/@discordjs/voice/dist/index.js:293:48)
at Socket.emit (node:events:390:28)
at UDP.onMessage [as onmessage] (node:dgram:931:8) {
code: 'ERR_OUT_OF_RANGE'
}
RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 10. Received 11
at new NodeError (node:internal/errors:371:5)
at boundsError (node:internal/buffer:86:9)
at Buffer.readUInt8 (node:internal/buffer:252:5)
at VoiceReceiver.parsePacket (/home/dzlandis/bot/node_modules/@discordjs/voice/dist/index.js:1303:27)
at VoiceReceiver.onUdpMessage (/home/dzlandis/bot/node_modules/@discordjs/voice/dist/index.js:1322:27)
at VoiceUDPSocket.emit (node:events:390:28)
at VoiceUDPSocket.onMessage (/home/dzlandis/bot/node_modules/@discordjs/voice/dist/index.js:311:10)
at Socket.<anonymous> (/home/dzlandis/bot/node_modules/@discordjs/voice/dist/index.js:293:48)
at Socket.emit (node:events:390:28)
at UDP.onMessage [as onmessage] (node:dgram:931:8) {
code: 'ERR_OUT_OF_RANGE'
}
0 Replies