GNOME Bugzilla – Bug 563159
vpn: better error reporting of VPN failures
Last modified: 2020-11-12 14:28:41 UTC
Please describe the problem: I just tried connecting to a PPTP VPN (although I'm pretty sure this same vague error messages would happen on any type of connection). After I clicked the VPN connection, the notification popup appeared as said "connection to 'VPNXYZ' failed". I had to enable debugging in /etc/ppp/options, and tail /var/log/syslog, to find out the reason the connection failed was an expired password. A normal user would never figure this out, and would suspect anything from a misconfiguration, to a network problem, to the VPN endpoint being down. The error messages really must be improved. Steps to reproduce: 1. Try to connect to a network (I used PPTP) that fails Actual results: The vague "connection to 'VPNXYZ' failed" message appears. Expected results: The reason for the failure should appear, such as "Connection to 'VPNXYZ' failed. Your password has expired." Does this happen every time? yes. Other information:
This could get tricky, as often the VPN services won't have information like this, which is buried deep in vpnc or openvpn or pptp. But there are a few things that can be done.
*** Bug 560471 has been marked as a duplicate of this bug. ***
*** Bug 524105 has been marked as a duplicate of this bug. ***
NM bugzilla reorganization... sorry for the bug spam.
bugzilla.gnome.org is being shut down in favor of a GitLab instance. We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time. If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/ Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).