Skip to content

Forge Android cannot download assets initially when traffic is forced through VPN #6718

@QuickBanjo

Description

@QuickBanjo

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

  1. Verify that your phone is connected to a network, such as wifi.
  2. Verify in system settings that you are connected to a VPN, and that the VPN is set to "Block connections without VPN".
  3. Verify that other apps can connect to the internet via the VPN.
  4. Install Forge Android.
  5. 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

Workaround
I was unable to find a workaround, other than to stop forcing traffic over VPN, which defeats the purpose of that VPN setting.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions