K
Kord5mo ago
Galarzaa

DefaultGateway error: Failed to parse literal 'null' as a long value

I have been receiving this message randomly on my bot, but it only has happened in production so far, so I haven't been able to get Debug logs for it. I'm on 0.15.0-SNAPSHOT, using Eclipse Temurin 21.
4 Replies
LustigerLurch
LustigerLurch5mo ago
sounds like a heartbeat request before any events, so there isn't yet a sequence number, but it isn't nullable in our code
LustigerLurch
LustigerLurch5mo ago
i did a commit that hopefully fixes it, you can try null-sequence-heartbeat-request-SNAPSHOT when the build finishes
GitHub
Fix deserialization of Heartbeat events · kordlib/kord@7cbd0d4
The d field can be null for Heartbeat send and receive events, see [1] and [2]. This issue was reported on the Kord Discord server [3]. [1] https://discord.com/developers/docs/topics/gateway#hear...
LustigerLurch
LustigerLurch5mo ago
@Galarzaa the fix is now on 0.15.0-SNAPSHOT
Galarzaa
GalarzaaOP5mo ago
Thanks, I did set null-sequence-heartbeat-request-SNAPSHOT and it didn't happen again. It was kinda hard to test because it didn't happen all the time, but when it happened, it did stop everything.
Want results from more Discord servers?
Add your server