-
-
Notifications
You must be signed in to change notification settings - Fork 736
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
[Bug]: Session disconnection #2856
Comments
We haven't introduced any changes to the voice implementation since 3.13.0 |
And in the connection system or the one that is responsible for keeping the session active? |
Nothing |
I've had this issue with 3.13.0 too. Before discord required the heartbeat thing, I had rarely any disconnects. This must have been at least a few months now. I wish I had more info, but for now, this is the best stacktrace/information I can get. I've double checked and it is not due to my cancellation token. I used a dummy one and still encountered the issue. Here are my relevant logs. Ignore the ERR in front of the logs, I'm pretty sure I wrote all the info as errors. [22:24:25 ERR] Audio #1: Connecting [22:29:00 ERR] Audio #1: Unknown OpCode (18) [22:42:11 ERR] Audio #1: (WRITTEN BY MY PROGRAM) [22:42:24 ERR] The operation was canceled. at System.Threading.CancellationToken.ThrowOperationCanceledException() |
The close was from here: Looking earlier, it seems like it got a message Update: I have just had another reconnect attempt after running it a while and it succeeded so above could be a red herring. |
Check The Docs
Verify Issue Source
Check your intents
Description
After updating the library to version 3.13.1 the bot disconnects more frequently. I have been testing and when it connects to a voice channel, it disconnects after about 5 - 10 minutes. I'm back to version 3.13.0 and the connection stays much longer.
Version
3.13.1
Working Version
3.13.0
Logs
Sample
No response
Packages
Discord.Net 3.13.1
Environment
Windows 10 Pro 22H2
.NET 7
The text was updated successfully, but these errors were encountered: