KordK
Kord14mo ago
114 replies
Tschis

java.io.EOFException on dev.kord.gateway.DefaultGateway

Hey!

I am getting some spam of errors on Kord, and after a while it seems to just render my application dead and I have to restart it.

2025-01-04 17:44:33 ​2025-01-04 16:44:33 | ERROR |      dev.kord.gateway.DefaultGateway | 
2025-01-04 17:44:33 java.io.EOFException: null
2025-01-04 17:44:33     at okio.RealBufferedSource.require(RealBufferedSource.kt:204)
2025-01-04 17:44:33     at okio.RealBufferedSource.readByte(RealBufferedSource.kt:214)
2025-01-04 17:44:33     at okhttp3.internal.ws.WebSocketReader.readHeader(WebSocketReader.kt:119)
2025-01-04 17:44:33     at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.kt:102)
2025-01-04 17:44:33     at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.kt:293)
2025-01-04 17:44:33     at okhttp3.internal.ws.RealWebSocket$connect$1.onResponse(RealWebSocket.kt:195)
2025-01-04 17:44:33     at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
2025-01-04 17:44:33     at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
2025-01-04 17:44:33     at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
2025-01-04 17:44:33     at java.base/java.lang.Thread.run(Unknown Source)


As the stacktrace doesn't show much, I was wondering if anyone could have a better idea of how I could troubleshoot or fix this 🙂
I am a newbie with Kord/Kotlin, so I might ask a lot of follow ups
Was this page helpful?