Operation timed out on `Discord.WebSocket.SocketGuild.ConnectAudioAsync`
See original GitHub issueHi, since yesterday my bot stopped working with the following exception.
System.TimeoutException: The operation has timed out.
at Discord.WebSocket.SocketGuild.ConnectAudioAsync(UInt64 channelId, Boolean selfDeaf, Boolean selfMute, Boolean external)
at Discord.WebSocket.SocketGuild.ConnectAudioAsync(UInt64 channelId, Boolean selfDeaf, Boolean selfMute, Boolean external)
at Discord.WebSocket.SocketVoiceChannel.ConnectAsync(Boolean selfDeaf, Boolean selfMute, Boolean external)
at Template.Services.PlaybackService.CreateSession(IVoiceChannel channel)
This is happening on two separate API keys and both when running the bot from my PC and a linux server. What could be the cause and how to fix this? I’ve tried updating Discord.Net to 3.9.0 but the issue persists.
Issue Analytics
- State:
- Created 6 months ago
- Reactions:8
- Comments:16 (5 by maintainers)
Top Results From Across the Web
C# Discord.net Bot disconnects after joining a voice channel
TimeoutException: The operation has timed out. at Discord.WebSocket.SocketGuild.ConnectAudioAsync(UInt64 channelId, Boolean selfDeaf, ...
Read more >Discord.Net
TimeoutException: The operation has timed out. at Discord.WebSocket.SocketGuild.ConnectAudioAsync(UInt64 channelId, Boolean selfDeaf, Boolean selfMute, ...
Read more >Issues connecting to discord -- repeatedly on ...
Hi all, I have been having an issue with Discord lately solely on one ... The connection issue is along the lines of...
Read more >C# (CSharp) Discord Examples
C# (CSharp) Discord - 53 examples found. These are the top rated real world C# (CSharp) examples of Discord extracted from open source...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Is it known when will the nuget get published with the fix? Seems like a pretty major issue when all voice apps stop working
Ref: “all apps with Voice Connections using IP Discovery must send 74-byte UDP packets. IP Discovery requests sending the deprecated 70-byte packet will no longer receive a response.” - Discord Dev API announcement. This change was rolled out yesterday.