qBittorrent icon indicating copy to clipboard operation
qBittorrent copied to clipboard

Can't connect UPD tracker using SOCKS5

Open TheDarkDnKTv opened this issue 1 year ago • 0 comments

qBittorrent & operating system versions

qBittorent: v4.5.2 x64 Operating System: Windows 10 Pro 22H2/2965 x64 Qt: 5.15.8 Libtorrent: 1.2.18.0

What is the problem?

If enabling connection to SOCKS5 proxy, only trackers with UDP protocol can't be reached. The issue can be resolved if insteadof qBittorrent internal proxy setting using system proxy, but I do not needed to proxy whole traffic.

I'm using latest qBittorrent and lates Shadowsocks client.

Steps to reproduce

  1. Install latest qBittorrent
  2. Install latest Shadowsocks client
  3. Enter shadowsock local proxy (127.0.0.1:1080)
  4. Try to connect any UDP tracker

Additional context

Anonymouse mode is disabled.

One of trackers for test: udp://tracker.opentrackr.org:1337/announce If it's strarts from 'http://' protocol, it's working

Log(s) & preferences file(s)

The only suspicious thing appearing at logs is:

(W) 2023-05-11T22:12:20 - SOCKS5 proxy error. Message: "SOCKS5 error. op: sock_read ec: End of file ep: 127.0.0.1:1080"

TheDarkDnKTv avatar May 14 '23 03:05 TheDarkDnKTv