New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in WS read thread: RSV1 bit of a frame is set unexpectedly #2663
Comments
The latest master commit added a new trace information to further investigate this issue, please let me know when you encounter the error including that trace detail. |
I tried this and it works fine in my environment
|
This is not an issue on startup, it happens at random times, days after the bot started, multiple people have reported this issue, I've created this issue for tracking purpose, so it can also be linked when a fix is available |
Oh, I see. I didn't know that. Thank you for telling me. :) |
Got one running main: https://duncte123.sentry.io/share/issue/fac5e12d2d2c40bc8baa0a46f21fc64f/ |
Got one running 5.0.0-beta.23 |
Please send the exception with the WS trace, like duncte123 sent |
I don't think I have WS trace enabled or how to retrieve it. I have the stacktrace that is the same as the OP |
Ah yea, please updated to the latest snapshot: Maven: <repositories>
<repository>
<id>jitpack</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>io.github.discord-jda</groupId>
<artifactId>JDA</artifactId>
<version>6f7189f91a</version>
</dependency>
</dependencies> Gradle (Kotlin): repositories {
mavenCentral()
maven("https://jitpack.io")
}
dependencies {
implementation("io.github.discord-jda:JDA:6f7189f91a")
} |
I have updated my POM, will see if I get it again. Slaynash/Lumbot@d30becd |
This issue has been escalated to cloudflare. Apparently, the web socket is receiving an http response body instead of a web socket frame. The specific bit happens to be set when the frame starts with |
General Troubleshooting
Version of JDA
5.0.0-beta.18
Expected Behaviour
Handle the frame gracefully I guess?
Code Example for Reproduction Steps
Code for JDABuilder or DefaultShardManagerBuilder used
Exception or Error
BEFORE REPORTING A SIMILAR ERROR
Please update to the JDA snapshot #2663 (comment) and include the WebSocket trace with the error
The text was updated successfully, but these errors were encountered: