Skip to content

Connecting to a voice channel does not work #1309

@s0hv

Description

@s0hv

Summary

Connecting to a voice channel fails indefinitely.

Reproduction Steps

Try to make the bot join to a voice channel.

Minimal Reproducible Code

await inter.author.voice.channel()

Expected Results

Bot joins voice

Actual Results

Bot gets stuck in a reconnect loop until it stops trying

Intents

disnake.Intents.default()

System Information

- Python v3.13.2-final
- disnake v2.10.1-final
    - disnake importlib.metadata: v2.10.1
- aiohttp v3.10.11

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.
  • I have removed my token from display, if visible.

Additional Context

Seems like some changes on discords end broke the voice gateway. I would assume this is related to the changes done to the voice gateway on 29.7.2025. Here is the posted update.

Some libraries are dropping port numbers from VOICE_SERVER_UPDATE payloads. This worked historically with default ports, but our infrastructure uses custom ports (like sweetwater-12345.discord.media:2048) that must be preserved.

When I checked with a debugger breakpoint, no port is given here gateway.py#L965.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions