Bug 381133 - [regression] OpenConnect will not connect
Summary: [regression] OpenConnect will not connect
Status: RESOLVED DUPLICATE of bug 380299
Alias: None
Product: plasma-nm
Classification: Plasma
Component: general (show other bugs)
Version: 5.10.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-12 16:39 UTC by Thiago Macieira
Modified: 2017-06-13 01:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Macieira 2017-06-12 16:39:19 UTC
Regression from 5.9.5, where this worked flawlessly.

When trying to connect to OpenConnect with the applet, the dialog shows, I type my password and hit connect, but the dialog does not go away. The log shows everything that it was expected to show, but the connection never happens. The connections list shows a spinning wheel indicating that the connection is coming up, but it never finishes and never seems to time out either.

NM 1.6.2, NM-openconnect 1.2.4, openconnect 7.08 (all the same version as 5.9.5 that did work).

Other info:
* /usr/lib/nm-openconnect-service does start at the moment that you start the connection.
* kded5 logs: QFormLayout::takeAt: Invalid index 0
* log window logged:
POST https://vpn.example.com/
Attempting to connect to server 192.0.2.1:443
Connected to 192.0.2.1:443
Using certificate file /home/tjmaciei/.cert/certificate.p12
Using client certificate 'Macieira\, Thiago'
Adding supporting CA 'Xxxx Intranet Basic Issuing CA 1A'
Adding supporting CA 'Xxxx Intranet Basic Policy CA'
SSL negotiation with vpn.example.com
Connected to HTTPS on vpn.example.com
Got HTTP response: HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Cache-Control: no-cache
Pragma: no-cache
Connection: Keep-Alive
Date: Mon, 12 Jun 2017 16:29:04 GMT
X-Frame-Options: SAMEORIGIN
X-Aggregate-Auth: 1
HTTP body chunked (-2)
XML POST enabled
POST https://vpn.example.com/
SSL negotiation with vpn.example.com
Connected to HTTPS on vpn.example.com
Got HTTP response: HTTP/1.1 200 OK
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Cache-Control: no-cache
Pragma: no-cache
Connection: Keep-Alive
Date: Mon, 12 Jun 2017 16:29:43 GMT
X-Frame-Options: SAMEORIGIN
X-Aggregate-Auth: 1
HTTP body chunked (-2)

* NM logged:
[1497284943.7218] audit: op="connection-activate" uuid="37723676-34a4-419f-ad43-8b96be2e9caa" name="Xxx AnyConnect VPN" pid=61979 uid=1000 result="success"
[1497284943.7284] vpn-connection[0x55bf06ab67a0,37723676-34a4-419f-ad43-8b96be2e9caa,"Xxx AnyConnect VPN",0]: Started the VPN service, PID 65841
[1497284943.7419] vpn-connection[0x55bf06ab67a0,37723676-34a4-419f-ad43-8b96be2e9caa,"Xxx AnyConnect VPN",0]: Saw the service appear; activating connection
[1497284943.7757] keyfile: update /etc/NetworkManager/system-connections/Xxx AnyConnect VPN (37723676-34a4-419f-ad43-8b96be2e9caa,"Xxx AnyConnect VPN")

The last time it connected successfully with 5.9.5, the log was:
[1497022125.0443] audit: op="connection-activate" uuid="37723676-34a4-419f-ad43-8b96be2e9caa" name="Xxx AnyConnect VPN" pid=2337 uid=1000 result="success"
[1497022125.0760] vpn-connection[0x26c2380,37723676-34a4-419f-ad43-8b96be2e9caa,"Xxx AnyConnect VPN",0]: Started the VPN service, PID 71671
[1497022125.1314] vpn-connection[0x26c2380,37723676-34a4-419f-ad43-8b96be2e9caa,"Xxx AnyConnect VPN",0]: Saw the service appear; activating connection
[1497022125.1889] keyfile: update /etc/NetworkManager/system-connections/Xxx AnyConnect VPN (37723676-34a4-419f-ad43-8b96be2e9caa,"Xxx AnyConnect VPN")
[1497022128.9310] keyfile: update /etc/NetworkManager/system-connections/Xxx AnyConnect VPN (37723676-34a4-419f-ad43-8b96be2e9caa,"Xxx AnyConnect VPN")
[1497022128.9676] keyfile: update /etc/NetworkManager/system-connections/Xxx AnyConnect VPN (37723676-34a4-419f-ad43-8b96be2e9caa,"Xxx AnyConnect VPN")
[1497022128.9699] audit: op="connection-update" uuid="37723676-34a4-419f-ad43-8b96be2e9caa" name="Xxx AnyConnect VPN" args="connection.timestamp,vpn.secrets" pid=123502 uid=1000 result="success"
[1497022128.9703] vpn-connection[0x26c2380,37723676-34a4-419f-ad43-8b96be2e9caa,"Xxx AnyConnect VPN",0]: VPN plugin: state changed: starting (3)
openconnect[71678]: Connected to 192.0.2.1:443
Comment 1 Thiago Macieira 2017-06-12 16:45:44 UTC
The problem might not be in plasma-nm5, but elsewhere. After copying all the files from 5.9.5 over and restarting kded5 and plasmashell, I still can't connect. Note also that the login dialog looks like the one from 5.10, not the layout from 5.9.5.
Comment 2 Thiago Macieira 2017-06-12 20:06:59 UTC
Likely duplicate of bug 380299
Comment 3 Thiago Macieira 2017-06-13 01:26:30 UTC
Confirmed as duplicate. Upgrade to 5.10.1 fixed the issue.

*** This bug has been marked as a duplicate of bug 380299 ***