Skip to content
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

Calls don't go through socks5 proxy with UDP support #25254

Closed
jammy551 opened this issue Nov 4, 2022 · 1 comment
Closed

Calls don't go through socks5 proxy with UDP support #25254

jammy551 opened this issue Nov 4, 2022 · 1 comment
Labels

Comments

@jammy551
Copy link

jammy551 commented Nov 4, 2022

Steps to reproduce

  1. Setup a socks5 proxy with UDP support
  2. Set Telegram to use the socks5 proxy and check "Use Proxy for Calls"
  3. Set Peer-to-Peer to "Nobody" in Settings -> Privacy and Security -> Calls
  4. Make a call

Expected behaviour

The call should connect and work through the socks5 proxy and Telegram relay servers

Actual behaviour

The call stuck in "Exchanging encryption keys".

Operating system

Ubuntu 22.10

Version of Telegram Desktop

4.2.4

Installation source

Snap

Notes

I also tested this on Telegram android and Telegram iOS and no calls went through the socks5 proxy running in local network when using this native proxy setting in Telegram. Chats work fine.

This is while if I use a proxifier app such as Trojan on Android, or Shadowrocket on iOS and set it to use the same socks5 proxy, call works fine and I see UDP connection reports in the log of the socks5 server. Therefore there is nothing wrong with the socks5 server and it is merely a problem with socks5 proxy settings in Telegram.

@jammy551 jammy551 added the bug label Nov 4, 2022
@ilya-fedin
Copy link
Contributor

#23916

@Aokromes Aokromes closed this as completed Nov 4, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants