Bug 472491

Summary: Openfortivpn not working through Network Manager
Product: [Plasma] plasma-nm Reporter: Mihai Sorin Dobrescu <msdobrescu>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UPSTREAM    
Severity: major CC: msdobrescu, nicolas.fella
Priority: NOR    
Version: 5.27.5   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mihai Sorin Dobrescu 2023-07-22 06:42:21 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
Openfortivpn connection is established apparently, routes are created, but the connection is unusable, can't reach any of the services behind the VPN, ping them does not work. The connection seems to be established, as reported by the Network Manager applet, but will disconnect after a while, like 10-20 mins (may there be a timeout, actually?).
It worked fine previously to this Network Manager version.
Using openfortivpn cli works perfectly, so there may be its integration with the Network Manager affected (well, on both sides...).

STEPS TO REPRODUCE
1.  Establish a openfortivpn connection with Network Manager
2.  Observe the connection is reported as "connected"
3.  Try to access any service behind the connection - no availability
4. Wait, the connection will go "disconnected" state by itself in 10-20 mins.

OBSERVED RESULT
- No service on that VPN connection can be accessed by any means - ping, putty, ssh, remote (RDP)
- The connection will disconnect automatically after a while
- Checking the routes and DNS servers, they are created/added

EXPECTED RESULT
The connection is setup, lasts and the services behind that VPN are accessible.

SOFTWARE/OS VERSIONS
Operating System: MocaccinoOS 
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.1.38-mocaccino (64-bit)
Graphics Platform: X11
Processors: 16 × 11th Gen Intel® Core™ i7-11700K @ 3.60GHz
Memory: 61.6 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
Manufacturer: ASUS

ADDITIONAL INFORMATION
Openfortivpn bug reports:
https://github.com/adrienverge/openfortivpn/issues/1128
https://github.com/adrienverge/openfortivpn/issues/1120
Comment 1 Nicolas Fella 2023-07-23 14:51:29 UTC
The bugreports you linked suggest that this is not a Plasma issue.
Comment 2 Mihai Sorin Dobrescu 2023-07-23 16:29:42 UTC
Actually, everybody (i.e. KDE/Plasma team, Openfortivpn etc.) suggest it's not their issue. Really?
Comment 3 Mihai Sorin Dobrescu 2023-07-23 18:48:56 UTC
Added new bug report here: https://github.com/adrienverge/openfortivpn/issues/1129.