GlobalProtect-openconnect icon indicating copy to clipboard operation
GlobalProtect-openconnect copied to clipboard

Authorization fails if selectedGateway config is present

Open tinkermakar opened this issue 3 years ago • 4 comments

The VPN server supports a list of gateways around the world. It also has a HIP chek in place.

Everything is fine when I connect for the first time, but if I try to reconnect (or connect after a reboot) I get a 403 Not Assigned Octa error and fail to reconnect.

I have a weird workaround -- everything works again once I delete the line with selectedGateway in this file: ~/.config/com.yuezk.qt/GPClient.conf

tinkermakar avatar May 07 '22 17:05 tinkermakar

Can you upgrade it to the latest version to see if it is reproducible? Thanks.

yuezk avatar Jun 12 '22 13:06 yuezk

I have a similar vpn server setup to makar2

I'm now unable to connect to any other gateway except from the top one in the list.

After manually changing selectedGateway property to my desired city in GPClient.conf, I was able to successfully auth with my local gateway (thank you for the heads up).

This isn't a reliable method to connect to my local gateway, however. I haven't managed to get this to work a second time.

E: I realise I may have just messed up the UI by modifying that conf file, I didn't actually verify my IP after seeing my gateway successfully switch over

Vikingtons avatar Sep 03 '22 12:09 Vikingtons

Can you upgrade it to the latest version to see if it is reproducible? Thanks.

Sorry, just saw your reply -- the issue is still present on v1.4.8

tinkermakar avatar Oct 24 '22 00:10 tinkermakar

I had the same issue. Worked great the first time. Second time, tried to reconnect to same gateway and got red "Cannot complete at this time" message on the first screen. Removing ~/.config/com.yuezk.qt/ allowed me to connect again. version: 1.4.8

nekodojo avatar Nov 04 '22 19:11 nekodojo