Skip to content

fix(voice): don't strip port from voice websocket endpoints#1301

Merged
shiftinv merged 3 commits intomasterfrom
fix/voice-ws-endpoint-port
Jul 10, 2025
Merged

fix(voice): don't strip port from voice websocket endpoints#1301
shiftinv merged 3 commits intomasterfrom
fix/voice-ws-endpoint-port

Conversation

@shiftinv
Copy link
Member

@shiftinv shiftinv commented Jul 7, 2025

Summary

Fixes issues with connecting to voice servers in some regions (seemingly only US and parts of EU?), where Discord has started occasionally using ports other than 443 for voice websockets:

{"t": "VOICE_SERVER_UPDATE", "s": 132, "op": 0, "d": {"token": "...", "guild_id": "...", "endpoint": "c-ams20-20d36bc4.discord.media:2087"}}

Checklist

  • If code changes were made, then they have been tested
    • I have updated the documentation to reflect the changes
    • I have formatted the code properly by running pdm lint
    • I have type-checked the code by running pdm pyright
  • This PR fixes an issue
  • This PR adds something new (e.g. new method or parameters)
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)

@shiftinv shiftinv added this to the disnake v2.11 milestone Jul 7, 2025
@shiftinv shiftinv added this to disnake Jul 7, 2025
@shiftinv shiftinv added t: api support Support of Discord API features t: bugfix labels Jul 7, 2025
@github-project-automation github-project-automation bot moved this to Todo in disnake Jul 7, 2025
@shiftinv shiftinv merged commit 6347907 into master Jul 10, 2025
29 checks passed
@shiftinv shiftinv deleted the fix/voice-ws-endpoint-port branch July 10, 2025 10:00
@github-project-automation github-project-automation bot moved this from Todo to Done in disnake Jul 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant