VPN user name and password dialog not displayed

asked 2019-08-07 18:26:48 +0300

Direc gravatar image

Hi,

I was trying to set up OpenVPN-based connection to a site, and there seems to be a bug in the VPN system. I'm running Sony Xperia XA2 with Sailfish OS 3.1.0.11 and this is how it went:

  • Download .ovpn file from the firewall/VPN device
  • Go to Settings, VPN, OpenVPN and import the profile file
  • Make sure that credentials are asked when needed
  • Accept the connection, the VPN entry gets created
  • Tap the connection to establish VPN

What is supposed to happen:

  • VPN credential dialog is shown
  • Enter credentials
  • VPN tunnel is established and the shield icon is shown in the status bar

What happens instead:

  • The indicator keeps pulsing as the connection is being opened, but doesn't establish nor disconnect within a minute or so
  • Tapping three times the connection state resets and the same happens again if tried
  • The same happens again, and again
  • Reboot the phone just to try it...
  • After reboot open Settings, VPN and tap the connection again to open it
  • VPN credential dialog is shown
  • Enter credentials
  • VPN tunnel is established and the shield icon is shown in the status bar

So it seems that the credentials dialog isn't shown until after reboot. I kept trying many times and spent a lot of time trying to figure out if the profile was imported wrong or something, but reboot helped. I never left the Settings > VPN page, so just navigating back to Settings main page might have solved this, but the bug still remains the same - the credentials dialog box isn't shown in the screen, so I can't enter the dialog, so the VPN connection gets stuck.

This was found using OpenVPN type connection, I don't know if this applies to other types as well. I am able to test CVPN at some point if needed.

Thanks!

edit retag flag offensive close delete

Comments

'lo Do not know if the bug is the same, but trying to configure a connection to a l2tp vpn, I configured once the ip/name, was asked for user/pass. Missed something so I had to forget the connection, and after that I never have been prompted for user/password. SailfishX on Xperia XA2.

legranblon ( 2020-01-09 12:12:03 +0300 )edit