-
Notifications
You must be signed in to change notification settings - Fork 741
Closed
Labels
Description
Describe the bug
The first time you run Forge on Android, it is supposed to download an assets file. If you are connected to the internet, this normally works.
However, if you have configured a VPN and force all network traffic through that VPN, it doesn't work. This is the case even if you can connect to the internet via the VPN.
To Reproduce
- Verify that your phone is connected to a network, such as wifi.
- Verify in system settings that you are connected to a VPN, and that the VPN is set to "Block connections without VPN".
- Verify that other apps can connect to the internet via the VPN.
- Install Forge Android.
- Run app.
Actual behavior
Get the error message "Updated resource files cannot be downloaded due to lack of internet connection".
Expected behavior
The app downloads assets and updates as usual.
Smartphone (please complete the following information):
- Device: Samsung Galaxy S7
- OS: Android 8.0.0
- Forge version: 2.0.01 snapshot
Additional context
- This may also impact later checks for updates.
- This does not appear to impact downloading card images.
- Likely related to Forge Android can not update while connected to Ethernet #6640.
- See
/forge-gui-android/src/forge/app/Main.java
for network check,isNetworkConnected(boolean wifiOnly)
.
Workaround
I was unable to find a workaround, other than to stop forcing traffic over VPN, which defeats the purpose of that VPN setting.