Bug 1277693
Summary: | NetworkManager-openconnect fails | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Slava <volga629> |
Component: | NetworkManager | Assignee: | Lubomir Rintel <lrintel> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | danw, dcbw, dwmw2, jklimes, lkundrak, mnorwood154, psimerda |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | NetworkManager-1.0.6-8.fc23 NetworkManager-1.0.6-8.fc22 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-11-08 06:50:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Slava
2015-11-03 20:37:00 UTC
From a terminal as root, please run /usr/libexec/nm-openconnect-service --debug --persist Then try making the connection. I suspect it'll work, and we'll be left none the wiser about why the normal invocation of the service failed. I am concerned by how fragile this is, and by the fact that we're adding *more* complexity to it... Tag... [volga629@2z49tz1 ~]$ sudo /usr/libexec/nm-openconnect-service --debug --persist ** Message: nm-openconnect-service (version 1.0.2) starting... ** (nm-openconnect-service:5545): WARNING **: property 'cookie-flags' unknown ** (nm-openconnect-service:5545): WARNING **: property 'certsigs-flags' unknown ** (nm-openconnect-service:5545): WARNING **: property 'lasthost-flags' unknown ** (nm-openconnect-service:5545): WARNING **: property 'autoconnect-flags' unknown ** (nm-openconnect-service:5545): WARNING **: property 'gateway-flags' unknown ** (nm-openconnect-service:5545): WARNING **: property 'gwcert-flags' unknown ** (nm-openconnect-service:5545): WARNING **: property 'xmlconfig-flags' unknown ** (nm-openconnect-service:5545): WARNING **: property 'xmlconfig' unknown ** (nm-openconnect-service:5545): WARNING **: property 'lasthost' unknown connection id : "Conn-SSL" (s) uuid : "180f29fa-ab2d-4501-8b2a-20a937121465" (s) interface-name : NULL (sd) type : "vpn" (s) permissions : user:volga629: (s) autoconnect : FALSE (s) timestamp : 0 (sd) read-only : FALSE (sd) zone : "home" (s) master : NULL (sd) slave-type : NULL (sd) secondaries : (sd) gateway-ping-timeout : 0 (sd) vpn service-type : "org.freedesktop.NetworkManager.openconnect" (s) user-name : "volga629" (s) persistent : FALSE (sd) data : enable_csd_trojan=no,xmlconfig-flags=0,pem_passphrase_fsid=no,gwcert-flags=2,gateway-flags=2,autoconnect-flags=0,lasthost-flags=0,stoken_source=manual,certsigs-flags=0,cookie-flags=2,gateway=1.1.1.1:443,authtype=password (s) secrets : gateway=1.1.1.1:443,cookie=4 (s) ipv6 method : "auto" (s) dhcp-hostname : NULL (sd) dns : (s) dns-search : (sd) addresses : (s) routes : (s) route-metric : -1 (sd) ignore-auto-routes : FALSE (sd) ignore-auto-dns : FALSE (sd) never-default : FALSE (sd) may-fail : TRUE (sd) ip6-privacy : -1 (sd) ipv4 method : "auto" (s) dns : (s) dns-search : (sd) addresses : (s) routes : (s) route-metric : -1 (sd) ignore-auto-routes : FALSE (sd) ignore-auto-dns : FALSE (sd) dhcp-client-id : NULL (sd) dhcp-send-hostname : TRUE (sd) dhcp-hostname : NULL (sd) never-default : FALSE (sd) may-fail : TRUE (sd) ** (nm-openconnect-service:5545): WARNING **: Created tundev vpn0 ** Message: openconnect started with pid 5637 (In reply to Slava from comment #2) > [volga629@2z49tz1 ~]$ sudo /usr/libexec/nm-openconnect-service --debug > --persist > ** Message: nm-openconnect-service (version 1.0.2) starting... > > ** (nm-openconnect-service:5545): WARNING **: property 'cookie-flags' unknown > > ** (nm-openconnect-service:5545): WARNING **: property 'certsigs-flags' > unknown > > ** (nm-openconnect-service:5545): WARNING **: property 'lasthost-flags' > unknown > > ** (nm-openconnect-service:5545): WARNING **: property 'autoconnect-flags' > unknown > > ** (nm-openconnect-service:5545): WARNING **: property 'gateway-flags' > unknown > > ** (nm-openconnect-service:5545): WARNING **: property 'gwcert-flags' unknown > > ** (nm-openconnect-service:5545): WARNING **: property 'xmlconfig-flags' > unknown > > ** (nm-openconnect-service:5545): WARNING **: property 'xmlconfig' unknown > > ** (nm-openconnect-service:5545): WARNING **: property 'lasthost' unknown > connection > id : "Conn-SSL" (s) > uuid : "180f29fa-ab2d-4501-8b2a-20a937121465" (s) > interface-name : NULL (sd) > type : "vpn" (s) > permissions : user:volga629: (s) > autoconnect : FALSE (s) > timestamp : 0 (sd) > read-only : FALSE (sd) > zone : "home" (s) > master : NULL (sd) > slave-type : NULL (sd) > secondaries : (sd) > gateway-ping-timeout : 0 (sd) > > > vpn > service-type : "org.freedesktop.NetworkManager.openconnect" (s) > user-name : "volga629" (s) > persistent : FALSE (sd) > data : > enable_csd_trojan=no,xmlconfig-flags=0,pem_passphrase_fsid=no,gwcert-flags=2, > gateway-flags=2,autoconnect-flags=0,lasthost-flags=0,stoken_source=manual, > certsigs-flags=0,cookie-flags=2,gateway=1.1.1.1:443,authtype=password (s) > secrets : gateway=1.1.1.1:443,cookie=4 (s) > > > ipv6 > method : "auto" (s) > dhcp-hostname : NULL (sd) > dns : (s) > dns-search : (sd) > addresses : (s) > routes : (s) > route-metric : -1 (sd) > ignore-auto-routes : FALSE (sd) > ignore-auto-dns : FALSE (sd) > never-default : FALSE (sd) > may-fail : TRUE (sd) > ip6-privacy : -1 (sd) > > > ipv4 > method : "auto" (s) > dns : (s) > dns-search : (sd) > addresses : (s) > routes : (s) > route-metric : -1 (sd) > ignore-auto-routes : FALSE (sd) > ignore-auto-dns : FALSE (sd) > dhcp-client-id : NULL (sd) > dhcp-send-hostname : TRUE (sd) > dhcp-hostname : NULL (sd) > never-default : FALSE (sd) > may-fail : TRUE (sd) > > > > ** (nm-openconnect-service:5545): WARNING **: Created tundev vpn0 > > ** Message: openconnect started with pid 5637 I tested for fedora 22 x86_64 and fedora 23 x86_64 result the same. From shell works, connects can browser the lan. From GUI both not working connection status just disappeared after 20 sec. Yes, I see this occasionally. For me it's undebuggable. I don't know where to start looking. I just stick with the workaround. I appreciate this is not an ideal answer. Reassigning to NetworkManager itself, since the problem is with generic code (or with D-Bus activation, or something). *** Bug 1278265 has been marked as a duplicate of this bug. *** I've marked bug 1278265 as a duplicate of this, which I think it might be. Mike observed in that bug that it seems to be a timeout issue — if the authentication doesn't complete fast enough, then the service quits. If this is the problem of short timeout (20 seconds), it is fixed upstream by http://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=b1512221bc29f24b86d464dc5117439c366fd299 NetworkManager-1.0.6-8.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-bbc8935459 NetworkManager-1.0.6-8.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-38fc6652a8 NetworkManager-1.0.6-8.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update NetworkManager' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-38fc6652a8 NetworkManager-1.0.6-8.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with $ su -c 'dnf --enablerepo=updates-testing update NetworkManager' You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-bbc8935459 NetworkManager-1.0.6-8.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. NetworkManager-1.0.6-8.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |