App crashes on startup when using mobile data with WireGuard connected
Describe your issue
The app crashes immediately on startup when the device is using mobile data and WireGuard is connected to the server.
This issue was introduced in v0.10.5 and is also present in the nightly build. The same setup works correctly with v0.10.4.
I did the following tests:
AFinity v0.10.5 or nightly: LAN: OK External Wi-Fi with WireGuard connected to the server: OK Hotspot from another smartphone using mobile data with WireGuard connected to the server: OK Mobile data with WireGuard connected to the server: The app does not open.
AFinity v0.10.4, everything works correctly.
Steps to reproduce
- Disable Wi-Fi and enable mobile data.
- Connect WireGuard to the server.
- Open AFinity v0.10.5 or the nightly build.
Expected behavior
The app should not crash.
Screenshots or screen recording
No response
Player
None
Issue area
No response
Media information (if applicable)
No response
Logs
Additional context
No response
Device
Samsung Galaxy A54 and Samsung Galaxy A56
Android version
16
Afinity version
v0.10.5 or nightly build
Jellyfin server version
v10.11.11
Connection type
Remote access (via internet)
Checklist
- [x] I have searched for similar issues before creating this one
- [x] I am using the latest version of Afinity
- [x] This issue is reproducible