hiddify / hiddify-app

Multi-platform auto-proxy client, supporting Sing-box, X-ray, TUIC, Hysteria, Reality, Trojan, SSH etc. It’s an open-source, secure and ad-free.
https://hiddify.com
Other
17.38k stars 1.57k forks source link

Discord does not work when connected with vless #1396

Closed Andruxa0 closed 3 weeks ago

Andruxa0 commented 1 month ago

Search first

What Happened?

Discord has been blocked in Russia. It does not work in the system proxy mode. When you turn on the VPN experimental mode, discord starts working, but YouTube stops loading

Minimal Reproducible Example (MRE)

1) Connect via vless to a server in the Netherlands 2) Enable the "System proxy" Operation Mode parameter, the implementation of TUN "gvisor" wrote today 3) Try to enter the discord

Expected Behavior

No response

Version

2.0.5

Platform/OS

Windows

Additional Context

No response

Application Config Options

No response

Relevant log output

No response

Are you willing to submit a PR? If you know how to fix the bug.

matinkg commented 1 month ago

I don't know about discord, but I can confirm youtube stops working in VPN mode.

Andruxa0 commented 1 month ago

today, the discord was blocked in Russia, and for some reason the connection does not work through hidiffy. I'm trying through nekoray, everything is fine, but I would still like to hide

aketawi commented 1 month ago

from what I can tell, this seems to also be a problem with Discord itself? In addition to it being blocked in russia, it seems to block or limit connections from VPNs. After a bunch of experimentation, only a handful of the servers work, regardless of their protocol. TLS Fragmentation seems to help. The issues in my experience are mostly limited to voice chat and screen sharing only, while sending messages works fine. The most consistent way to get it working for me was to set Hiddify to VPN mode, and use discord in a web browser.

I haven't noticed problems with Youtube in VPN mode, seems to work for me.

My settings, if this helps anyone: Service mode: VPN TUN: gvisor Enable TLS fragmentation: on Enable WARP: off

newohrim commented 1 month ago

from what I can tell, this seems to also be a problem with Discord itself? In addition to it being blocked in russia, it seems to block or limit connections from VPNs. After a bunch of experimentation, only a handful of the servers work, regardless of their protocol. TLS Fragmentation seems to help. The issues in my experience are mostly limited to voice chat and screen sharing only, while sending messages works fine. The most consistent way to get it working for me was to set Hiddify to VPN mode, and use discord in a web browser.

I haven't noticed problems with Youtube in VPN mode, seems to work for me.

My settings, if this helps anyone: Service mode: VPN TUN: gvisor Enable TLS fragmentation: on Enable WARP: off

Somehow those settings actually helped. Discord works fine now, including voice channels. There is a chance I used the wrong settings from the very start...

MaximCemencov commented 1 month ago

I represent what you do (copy your config) and I can't go to voice chat from anything (web ,desktop app) and I also have iPhone and MacBook and all good with discord I use on both of it foxRay and all work awesome idk what is problem with windows and hiddify on it.

bisqet commented 1 month ago

from what I can tell, this seems to also be a problem with Discord itself? In addition to it being blocked in russia, it seems to block or limit connections from VPNs. After a bunch of experimentation, only a handful of the servers work, regardless of their protocol. TLS Fragmentation seems to help. The issues in my experience are mostly limited to voice chat and screen sharing only, while sending messages works fine. The most consistent way to get it working for me was to set Hiddify to VPN mode, and use discord in a web browser.

I haven't noticed problems with Youtube in VPN mode, seems to work for me.

My settings, if this helps anyone: Service mode: VPN TUN: gvisor Enable TLS fragmentation: on Enable WARP: off

It works fine thanks!

kubada commented 1 month ago

These settings perfectly help to revive discord (including voice) on Windows, but on macOS there is no voice, although the connection to the voice channel is successful.

Again, on iOS, discord works great with the standard vless config.

Does anyone have any ideas on how to revive discord on macOS using Hiddify and vless?

UPD. The problem is not vless and/or Hiddify.

macOS lost the microphone until I clicked the slider in the sound settings)

qirex93 commented 1 month ago

from what I can tell, this seems to also be a problem with Discord itself? In addition to it being blocked in russia, it seems to block or limit connections from VPNs. After a bunch of experimentation, only a handful of the servers work, regardless of their protocol. TLS Fragmentation seems to help. The issues in my experience are mostly limited to voice chat and screen sharing only, while sending messages works fine. The most consistent way to get it working for me was to set Hiddify to VPN mode, and use discord in a web browser.

I haven't noticed problems with Youtube in VPN mode, seems to work for me.

My settings, if this helps anyone: Service mode: VPN TUN: gvisor Enable TLS fragmentation: on Enable WARP: off

worked for me

itzRulzz commented 1 month ago

Changing mode to "VPN" helped me as well. Discord doesn't support proxying by default. VPN mode, If I'm right, use the virtual interface that enables global proxying, while "System Proxy" mode just force apps that support proxy use the Hiddify's local proxy address. However, you can configure a proxy address for Discord without the VPN mode using this project: https://github.com/aiqinxuancai/DiscordProxyStart For some reason, I can't connect to voice channels while using the "System proxy" mode even after configuring the proxy address for Discord - I'm getting "No route" error. Using VLESS as well. If someone will find the solution for this, ping me pls!

Hint-ru commented 1 month ago

It's very strange, but the "system proxy" mode in nekoray/nekobox on Windows makes Discord use the proxy (although voice calls don't work because they require TUN). However, the "system proxy" from Hiddify doesn't work with Discord, as Discord doesn't use it. So, are there different kinds of "system proxies"? Maybe Windows has several mechanisms, and Hiddify doesn't use all of them?

cortrano commented 1 month ago

I use hiddify 2.5.7 with vless My settings: 1) Service mode: VPN (Experimental) 2) TUN: gvisor 3) Enable TLS fragmentation: on 4) Enable WARP: off 5) Region: Other

Voice chat in discord still don't work. I stuck on "RTC Connecting" when try to enter voice channel.

MaximCemencov commented 1 month ago

I use hiddify 2.5.7 with vless

My settings:

1) Service mode: VPN (Experimental)

2) TUN: gvisor

3) Enable TLS fragmentation: on

4) Enable WARP: off

5) Region: Other

Voice chat in discord still don't work. I stuck on "RTC Connecting" when try to enter voice channel.

Same but my friend just set Service mode: VPN (Experimental) and nothing change from default and all work fine. I asked five friends that everything works fine

axquiett commented 1 month ago

from what I can tell, this seems to also be a problem with Discord itself? In addition to it being blocked in russia, it seems to block or limit connections from VPNs. After a bunch of experimentation, only a handful of the servers work, regardless of their protocol. TLS Fragmentation seems to help. The issues in my experience are mostly limited to voice chat and screen sharing only, while sending messages works fine. The most consistent way to get it working for me was to set Hiddify to VPN mode, and use discord in a web browser.

I haven't noticed problems with Youtube in VPN mode, seems to work for me.

My settings, if this helps anyone: Service mode: VPN TUN: gvisor Enable TLS fragmentation: on Enable WARP: off

It work! Thx

wisderfin commented 1 month ago

Я использую hiddify 2.5.7 с vless Мои настройки:

  1. Режим обслуживания: VPN (экспериментальный)
  2. TUN: гвизор
  3. Включить фрагментацию TLS: вкл.
  4. Включить WARP: выкл.
  5. Регион: Другое

Голосовой чат в Discord все еще не работает. Я застрял на "RTC Connecting" при попытке войти в голосовой канал.

Используй регион: Бразилия

еще мне помогло изменение фрагментации TLS Размер фрагментации 20-50 Сон фрагментации 4-8 Включены tls mixed и tls padding Скорее всего это не влияет, но каким то чудом у меня пофиксился голосовой чат

btw i use only arch linux

Vitstark commented 3 weeks ago

I couldn't reproduce the problem for a long time and used the "System Proxy" mode, but I found it with my friends when I gave them access to my VPN. It was solved by switching the mode to VPN. But after the recent update of Windows 11 (22631.4317) I also had this problem *Problem reproducing in Russia

titancomputer commented 3 weeks ago

read this : https://github.com/hiddify/hiddify-next/issues/1193#issuecomment-2271001133

then try latest version v2.5.7

jvgfx commented 1 week ago

from what I can tell, this seems to also be a problem with Discord itself? In addition to it being blocked in russia, it seems to block or limit connections from VPNs. After a bunch of experimentation, only a handful of the servers work, regardless of their protocol. TLS Fragmentation seems to help. The issues in my experience are mostly limited to voice chat and screen sharing only, while sending messages works fine. The most consistent way to get it working for me was to set Hiddify to VPN mode, and use discord in a web browser.

I haven't noticed problems with Youtube in VPN mode, seems to work for me.

My settings, if this helps anyone: Service mode: VPN TUN: gvisor Enable TLS fragmentation: on Enable WARP: off

Thank you! In my case, simply turning Service mode: VPN was enough. I didn't change any other settings ( Ubuntu 22.04, Russia)