[Bug 1511330] Re: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration."
This affected me yesterday (2020-01-14), and today was able to work around it with R4kk00n's comment instructions. I'm using an up-to-date Ubuntu 18.04, so this bug is clearly still there. Some data from my setup: Kernel: 4.15.0-74-generic x86_64 bits: 64 gcc: 7.4.0 Distro: Ubuntu 18.04.3 LTS $ apt show network-manager-pptp Package: network-manager-pptp Version: 1.2.6-1 (...) $ apt show network-manager Package: network-manager Version: 1.10.14-0ubuntu2 (...) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1511330 Title: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration." To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/1511330/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1511330] Re: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration."
Thanks R4kk00n, your workaround worked for me. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1511330 Title: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration." To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/1511330/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1511330] Re: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration."
After some tinkering I've found a somewhat different workaround (of you might call it a fix) and a probable immediate cause of this behavior. My VPN server has an address of 192.168.17.1 and it assings a range 192.168.17.33 - 192.168.17.62 to clients. I used to manually add the following routes (this is supposed to like the relevant dialog): Address Netmask Gateway Metric 192.168.17.0255.255.255.0 192.168.17.11 172.16.32.0 255.255.252.0 192.168.17.11 This did work because (I believe, cannot really bother with testing now) Network Manager or PPTP plugin added a route to the VPN gateway (192.168.17.1 in my case). And it no longer does. Without this route further routes are considered invalid. This here might be a bug or it might have been redesigned — I don't know. Luckily there is way to enter link scoped routes in that dialog, although unintuitive: you just leave the "Gateway" field empty. Like this: Address Netmask Gateway Metric 192.168.17.0255.255.255.0 1 172.16.32.0 255.255.252.0 1 The "OK" button turns inactive after you delete a gateway, so you have to tab or click some other field for it to come back. After this the connection works and the following routes get added to the routing table: > ip route default ... via ... 172.16.32.0/22 dev ppp0 proto static scope link metric 1 192.168.17.0/24 dev ppp0 proto static scope link metric 1 192.168.17.35 dev ppp0 proto kernel scope link src 192.168.17.35 metric 50 ... Hope this helps someone else -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1511330 Title: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration." To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/1511330/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1511330] Re: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration."
Well, if I could work without static routes, I wouldn't see an issue. And removing and reentering them doesn't help: I can connect with an empty list, but it refuses to when I add a route. I have "use this connection only for resources on its own network" checked On 1 Dec 2015 05:45, "berend"wrote: > And it seems I either had a wrong static route (most likely) or re- > entering it fixed it. > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1511330 > > Title: > PPTP connection does not establish due to error: "Connection > activation failed: the VPN service returned invalid configuration." > > Status in network-manager-pptp package in Ubuntu: > Confirmed > > Bug description: > The PPTP connection in question used to work on Vivid, now it does not > connect after an upgrade to Wily. > > That error description in the title comes from nmcli; it looks > somewhat different in the notification popup > > The relevant piece of syslog is in the attached syslog-snippet.txt > > I'd say that the IP config as stated in the log looks valid to me > > ProblemType: Bug > DistroRelease: Ubuntu 15.10 > Package: network-manager-pptp 0.9.10.0-1ubuntu1 > ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3 > Uname: Linux 4.2.0-16-generic x86_64 > ApportVersion: 2.19.1-0ubuntu4 > Architecture: amd64 > CurrentDesktop: Unity > Date: Thu Oct 29 14:07:01 2015 > InstallationDate: Installed on 2015-08-20 (69 days ago) > InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422) > SourcePackage: network-manager-pptp > UpgradeStatus: No upgrade log present (probably fresh install) > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/1511330/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1511330 Title: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration." To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/1511330/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1511330] Re: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration."
And it seems I either had a wrong static route (most likely) or re- entering it fixed it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1511330 Title: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration." To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/1511330/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1511330] Re: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration."
I see a similar error message but when using openvpn. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1511330 Title: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration." To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/1511330/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1511330] Re: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration."
Like #3: after removing static routes, I can connect. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1511330 Title: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration." To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/1511330/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1511330] Re: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration."
** Description changed: The PPTP connection in question used to work on Vivid, now it does not connect after an upgrade to Wily. - The relevant piece of syslog follows: + That error description in the title comes from nmcli; it looks somewhat + different in the notification popup - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: Starting VPN service 'pptp'... - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 7190 - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: VPN service 'pptp' appeared; activating connections - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: VPN connection 'Office PPTP' (ConnectInteractive) reply received. - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: VPN plugin state changed: starting (3) - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: ** Message: pppd started with pid 7195 - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: VPN connection 'Office PPTP' (Connect) reply received. - Oct 29 14:03:45 monkey-mafia pppd[7195]: Plugin /usr/lib/pppd/2.4.6/nm-pptp-pppd-plugin.so loaded. - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: Plugin /usr/lib/pppd/2.4.6/nm-pptp-pppd-plugin.so loaded. - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: ** Message: nm-pptp-ppp-plugin: (plugin_init): initializing - Oct 29 14:03:45 monkey-mafia pppd[7195]: pppd 2.4.6 started by root, uid 0 - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 3 / phase 'serial connection' - Oct 29 14:03:45 monkey-mafia pppd[7195]: Using interface ppp0 - Oct 29 14:03:45 monkey-mafia pppd[7195]: Connect: ppp0 <--> /dev/pts/12 - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: (ppp0): new Generic device (carrier: UNKNOWN, driver: 'unknown', ifindex: 8) - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: Using interface ppp0 - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: Connect: ppp0 <--> /dev/pts/12 - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 5 / phase 'establish' - Oct 29 14:03:45 monkey-mafia pptp[7199]: nm-pptp-service-7190 log[main:pptp.c:350]: The synchronous pptp option is NOT activated - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0) - Oct 29 14:03:45 monkey-mafia NetworkManager[876]: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found. - Oct 29 14:03:46 monkey-mafia pptp[7217]: nm-pptp-service-7190 log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 1 'Start-Control-Connection-Request' - Oct 29 14:03:46 monkey-mafia pptp[7217]: nm-pptp-service-7190 log[ctrlp_disp:pptp_ctrl.c:781]: Received Start Control Connection Reply - Oct 29 14:03:46 monkey-mafia pptp[7217]: nm-pptp-service-7190 log[ctrlp_disp:pptp_ctrl.c:815]: Client connection established. - Oct 29 14:03:47 monkey-mafia pptp[7217]: nm-pptp-service-7190 log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 7 'Outgoing-Call-Request' - Oct 29 14:03:47 monkey-mafia pptp[7217]: nm-pptp-service-7190 log[ctrlp_disp:pptp_ctrl.c:900]: Received Outgoing Call Reply. - Oct 29 14:03:47 monkey-mafia pptp[7217]: nm-pptp-service-7190 log[ctrlp_disp:pptp_ctrl.c:939]: Outgoing call established (call ID 43272, peer's call ID 251). - Oct 29 14:03:47 monkey-mafia NetworkManager[876]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 6 / phase 'authenticate' - Oct 29 14:03:47 monkey-mafia NetworkManager[876]: ** Message: nm-pptp-ppp-plugin: (get_credentials): passwd-hook, requesting credentials... - Oct 29 14:03:47 monkey-mafia NetworkManager[876]: ** Message: nm-pptp-ppp-plugin: (get_credentials): got credentials from NetworkManager-pptp - Oct 29 14:03:47 monkey-mafia pppd[7195]: CHAP authentication succeeded - Oct 29 14:03:47 monkey-mafia NetworkManager[876]: CHAP authentication succeeded - Oct 29 14:03:47 monkey-mafia NetworkManager[876]: ** Message: nm-pptp-ppp-plugin: (nm_phasechange): status 8 / phase 'network' - Oct 29 14:03:47 monkey-mafia pppd[7195]: MPPE 128-bit stateless compression enabled - Oct 29 14:03:47 monkey-mafia NetworkManager[876]: MPPE 128-bit stateless compression enabled - Oct 29 14:03:48 monkey-mafia pppd[7195]: local IP address 192.168.17.35 - Oct 29 14:03:48 monkey-mafia pppd[7195]: remote IP address 192.168.17.1 - Oct 29 14:03:48 monkey-mafia pppd[7195]: primary DNS address 192.168.17.1 - Oct 29 14:03:48 monkey-mafia pppd[7195]: secondary DNS address 8.8.4.4 - Oct 29 14:03:48 monkey-mafia NetworkManager[876]: VPN connection 'Office PPTP' (IP4 Config Get) reply received from old-style plugin. - Oct 29 14:03:48 monkey-mafia NetworkManager[876]: VPN Gateway: 217.13.222.44 - Oct 29 14:03:48 monkey-mafia NetworkManager[876]:
[Bug 1511330] Re: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration."
** Summary changed: - PPTP connection does not establish due to something "did not receive a valid configuration" + PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration." ** Attachment added: "syslog-snippet.txt" https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/1511330/+attachment/4518273/+files/syslog-snippet.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1511330 Title: PPTP connection does not establish due to error: "Connection activation failed: the VPN service returned invalid configuration." To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/1511330/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs