XITRIX / iTorrent

Torrent client for iOS 16+
2.02k stars 194 forks source link

Unable to find peers while connected to VPN #313

Open officiallor opened 1 month ago

officiallor commented 1 month ago

Hello, I am using the 2.0.7-2 with default settings and when I am connected to a VPN it's hard or better say impossible to find peers.

FrankTheTank07 commented 1 month ago

I'm having a similar problem, but even when not on VPN, i get no peers at all. When using the older 1.9 version, it works fine.

FrankTheTank07 commented 1 month ago

Here's a screen capture comparison between the 1.9 version and V2. Regardless of being on VPN, cellular or Wi-Fi, V2 doesn't download anything for me. But 1.9 does. no clue why 😞 https://github.com/user-attachments/assets/88590f19-96c3-4f31-bc28-cb1036d21d7c https://github.com/user-attachments/assets/f09c606e-ae52-4b74-b786-9c5c973fed15

XITRIX commented 1 month ago

Could you share the torrent file here? I'll thy to check it

XITRIX commented 1 month ago

also, could you try to enable settings - Connection settings - Parallel connection? in v1.9 it is enabled by default (and there is no way to disable it)

FrankTheTank07 commented 1 month ago

I tried the parallel setting, but it didn't help. Here is the torrent file I am trying to download. It's just Ubuntu Linux. It won't let me upload the actual torrent file so here is the link for it. I've tried other torrent files, but no change.

https://releases.ubuntu.com/24.04/ubuntu-24.04-desktop-amd64.iso.torrent

I still haven't had time to try altstore, but I'll try that when I get some time. My Mac virtual machine decided to go haywire so I'm currently trying to fix that.

officiallor commented 1 month ago

For me it works well without VPN. With VPN it doesn't find peers. Same on v1.9. I remember on the same VPN using Android's libretorrent I could connect to peers so I don't think it's a VPN issue.

FrankTheTank07 commented 1 month ago

Since mine is not downloading at all, I feel like it might be something to do with my signing process. I'm currently messing with my Mac virtual machine to get it up and going again because it decided to just stop lol.

I might use iOS app signer, and use my distribution profile to see if that works. I'll post any updates when I can. But I won't be able to do anything until I get my virtual Mac machine up and going again.

XITRIX commented 1 month ago

I think you could also try SideStore, it’s a fork of AltStore with possibility of installing apps without PC, but I’m not 100% sure that it’s possible to setup it without Mac

officiallor commented 1 month ago

I tried signing using https://github.com/SignTools/SignTools to sign and installing using maplesigner. Didn't change anything for the VPN part

freebritney132 commented 1 month ago

Works perfectly for me, I used esign with a dev cert. I'm using a wireguard profile imported in the wireguard app as my vpn. The fact that it didn't even work with parallel mode on is strange, itorrent works fine without a vpn for you?

https://1337x.to/torrent/115783/Big-Buck-Bunny-1080p-H264-Aac-5-1-Tntvillage/

This torrent is safe to download w/o vpn

officiallor commented 1 month ago

I investigated a little bit. It seems that some VPN clients have different behavior than others. It might be related to the interface that they use, I'm not sure how this works.

XITRIX commented 1 month ago

Probably I need to show all currently available interfaces, which one is active right now with possibility to ban any of them

officiallor commented 1 month ago

I've seen that they're quite a few. Is there any way to filter the VPN ones only? I'm available to test and I guess @FrankTheTank07 will be also

officiallor commented 1 month ago

IMG_0682 IMG_0680

The one with the green X is not working. In case that this helps somehow