theinvisible / openfortigui

VPN-GUI to connect to Fortigate-Hardware, based on openfortivpn
https://hadler.me/linux/openfortigui/
GNU General Public License v3.0
489 stars 54 forks source link

openfortigui 0.9.3 - Could not authenticate to gateway (HTTP status code) #138

Closed deafboy closed 2 years ago

deafboy commented 3 years ago

OS: Ubuntu 18.04

After upgrading to 0.9.3 I could no longer authenticate to the VPN server:

okt 19 11:27:55 INFO:   Start tunnel.
INFO:   Connected to gateway.
okt 19 11:28:28 ERROR:  Could not authenticate to gateway (HTTP status code).
INFO:   Closed connection to gateway.
INFO:   Logged out.

After downgrading back to 0.9.2-1:

INFO:   Start tunnel.
INFO:   Connected to gateway.
Two-factor authentication token: 
INFO:   Authenticated.
INFO:   Remote gateway has allocated a VPN.
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
INFO:   Got addresses: [XXX.XXX.XXX.XXX], ns [XXX.XXX.XXX.XXX, XXX.XXX.XXX.XXX], ns_suffix [XXX.tld]
INFO:   Negotiation complete.
INFO:   Negotiation complete.
local  IP address XXX.XXX.XXX.XXX
remote IP address XXX.XXX.XXX.XXX
primary   DNS address XXX.XXX.XXX.XXX
secondary DNS address XXX.XXX.XXX.XXX
INFO:   Interface ppp0 is UP.
INFO:   Setting new routes...
INFO:   Adding VPN nameservers...
INFO:   Tunnel is up and running.
theinvisible commented 3 years ago

Hi, the only real change was the update of openfortivpn to version 1.15. Please enable debug log and post again. Also if possible try with openfortivpn to verify its related to the update of this component.