Created attachment 172865 [details] Crash when attempting GlobalProtect VPN connection *** If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** SUMMARY I have been using Plasma Wayland on Fedora 40 for a while with a working VPN now. Today I removed Gnome and switched to the KDE spin. I then noticed the VPN web-dialogue no longer appeared when trying to connect to GlobalProtect using NetworkManager. I also reproduced this on NixOS 24.05. Using Plasma X11 works as expected on both OSes. Since testing X11 successfully, NixOS has often (not always) correctly rendered the web-dialogue on repeated attempts but so far I have not seen this on Fedora. In both OSes, I have seen KDED appear in the task bar but no window appears, and NetworkManager spins its wheel for a minute before timing out having not received a secret. Note that a reboot seems to be needed to try again or a connection attempt is quickly dropped. Related journalctl output (quick connection drop): ``` Aug 22 23:30:47 fedora NetworkManager[14314]: <warn> [1724365847.8358] vpn[0x55f25c9d5a50,46531bed-a4ed-468b-90e5-3dfbdc1756bc,"MFT GlobalProtect"]: secrets: failed to request VPN secrets #3: No agents were available for this request. Aug 22 23:30:47 fedora plasmashell[11478]: kf.networkmanagerqt: void NetworkManager::ConnectionPrivate::onPropertiesChanged(const QVariantMap&) Unhandled property "VersionId" ``` The same error is seen on both OSes. The initial attempt has a long journalctl log which I will add as an attachment. STEPS TO REPRODUCE 1. Install OS with KDE Wayland (no X11) 2. Configure a GlobalProtect VPN in NetworkManager 3. Try to connect to the VPN using the NetworkManager applet task bar icon and clicking "Connect". 4. Click the little plug-like connect icon. OBSERVED RESULT No web portal to log in using MFA appears (mostly, occasionally working on NixOS after using X11). NetworkManager waits for a response then times out with a message about not receiving a secret. EXPECTED RESULT A web portal appears allowing username / password and MFA login. NetworkManager receives the secret and connects to the VPN. SOFTWARE/OS VERSIONS Windows: n/a macOS: n/a (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: Fedora 40 and NixOS 24.05 (VM) KDE Plasma Version: 6.1.4 (Fedora) and 6.0.5 (NixOS) KDE Frameworks Version: 6.5.0 (Fedora) and 6.2.0 (NixOS) Qt Version: 6.7.2 (Fedora) and 6.7.2 (NixOS) ADDITIONAL INFORMATION On an attempt in which NixOS succeeds to load the web portal, followed by a closing of the window without filling in the login details, journalctl shows kded crashing.
Bulk transfer as requested in T17796
Thanks for the very detailed bug report, and I'm sorry we weren't able to get to it yet. Can I ask you to see if the issue is still happening in Plasma 6.4 or later?
Apologies, I can no longer test this as my organisation has chosen to restrict VPN access to their own (Windows-based) devices. Thank you for taking time to look at this.
That's okay. Thanks for following up!