eduvpn / apple

app for iOS and macOS
Other
61 stars 18 forks source link

eduVPN app hangs when choosing an unavailable location #415

Closed owah closed 3 years ago

owah commented 3 years ago

Hi,

it looks like Australia left the list of participating countries, so if you try to connect to Australia from within the eduvpn app, then the app will hang for 60 seconds, with no way to abort the process.

I think the UI should allow you to go back or abort the configuration profile retrieval process

roop commented 3 years ago

Thanks for reporting this. I'm able to reproduce the problem.

If Australia was previously the selected location for Secure Internet, on fetching new discovery data, that location is missing, so it shows it as "Unknown country". On clicking on that item, it tries to contact that server (to fetch info.json), but gets no response. The UI shows "Getting profiles..." for 1 min, then shows an alert saying "The request timed out.". Till that alert is shown, the spinner keeps spinning, the VPN toggle switch is disabled, and we can't go back to the main screen.

I'll try to fix this UX by keeping the toggle switch enabled while we're fetching the info.json.