ImranR98 / Obtainium

Get Android app updates straight from the source.
https://obtainium.imranr.dev
GNU General Public License v3.0
7.45k stars 163 forks source link

Connection timed out using VPN #1549

Open JohnnyBrav0Sr opened 5 months ago

JohnnyBrav0Sr commented 5 months ago

Prerequisites

I checked I checked I checked **Describe the bug** I receive a 'connection timed out' error every time I try to use Obtainium while my VPN is active. Without my VPN being active, I have no problem using Obtainium. **To Reproduce** I have set up my free Proton VPN using [OpenVPN for pDNSf](https://github.com/IngoZenz/ics-openvpn), and I use [personalDNSfilter](https://github.com/IngoZenz/personaldnsfilter) in combination with it. This seems to be working fine for all other apps I use. But when using Obtainium, I keep receiving a connection timed out error, making it impossible for me to connect Obtainium to the github repo with my current VPN setup. **Screenshots and Logs**

Screenshot_20240419-192813

I made sure github.com is not blocked by the DNS filter.

Please complete the following information:

Additional context

I have also attempted to use Obtainium without VPN by exempting it in the OpenVPN app. This would allow me to still use VPN for all other apps. Unfortunately, when opening Obtainium now, it gives me a 'connection failed' error. ![Screenshot_20240419-215011](https://github.com/ImranR98/Obtainium/assets/167346664/a9ccf6b7-7899-4765-ab61-7201af01ebd7) When I click any app in Obtainium using this (second) setup, I receive another error: net::ERR_NAME_NOT_RESOLVED ![Screenshot_20240419-215026](https://github.com/ImranR98/Obtainium/assets/167346664/3c0d242f-2859-4593-84c9-5606746217e9) Followed by another error message: ClientException with SocketException: Connection failed ![Screenshot_20240419-215035](https://github.com/ImranR98/Obtainium/assets/167346664/6c0faffa-01fd-45ba-8689-d7ee95cab351) Only after I disable 'block connections without VPN' (kill switch) in my OS VPN settings, this setup seems to be working, and I don't receive any more error messages in Obtainium. Obtainium is now connecting to github and downloading updates again! I'm just not sure whether this (third) setup is as safe as I would like, because I really appreciated the 'kill switch' feature I have now disabled, in order to make Obtainium function properly again.
SilverTears1 commented 5 months ago

I have the same problem

Sami32 commented 3 months ago

I can confirm that after having tried 5 others VPN without issue.

ProtonVPN (free) use make Obtainium Apps updates timeout (after around 3/4 of the 50 applications updating done)

Xiaomi Redmi Note 4 Google Android 7.0 Obtainium v. 1.1.11

Sometimes after trying 2 or 3 times it finally complete all the updates but not always.

Could that be because ProtonVPN have set a limit on API requests?

wanzh5 commented 2 months ago

Same issue for me. For my android 14 device, it doesn't work. But for my two android 10 devices using the same vpn, it works properly. My android 14 device: crdroid 10.5, obtainium 1.1.13.