https://bugs.kde.org/show_bug.cgi?id=380299

            Bug ID: 380299
           Summary: [openconnect] not successful after valid credentials
                    are provided
           Product: plasma-nm
           Version: master
          Platform: Neon Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jgrul...@redhat.com
          Reporter: bschm...@techwires.net
  Target Milestone: ---

I've been successfully connecting to an OpenConnect VPN using the "user"
version of Neon. Yesterday I did a clean reinstallation with the "dev/stable"
version and since then having issues with the VPN.

When trying to connect to a OpenConnect VPN the credentials are used but after
the auth nothing more happens. It just stays there until I hit cancel. The
connection (interface) is not setup. When using the wrong credentials I get an
error message telling we so, so I assume that auth did happen and succeed. When
using nmcli with --ask, the connection is successfully established.

Ticking "view log" on the openconnect dialog shows this:
POST https://<vpn>/
Attempting to connect to server <vpn>:443
SSL negotiation with <vpn>
Connected to HTTPS on <vpn>
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, 29 May 2017 05:27:27 GMT
X-Aggregate-Auth: 1
HTTP body chunked (-2)
XML POST enabled
POST https://<vpn>/
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, 29 May 2017 05:27:37 GMT
X-Aggregate-Auth: 1
HTTP body chunked (-2)
Got HTTP response: HTTP/1.1 200 OK
Content-Length: 2639
Content-Type: text/xml
Cache-Control: max-age=0
X-Transcend-Version: 1
HTTP body length:  (2639)
Downloaded new XML profile

journalctl:
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3038]
active-connection[0x29d8820]: set device "wlp58s0" [0x295c850]
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3039]
device[0x295c850] (wlp58s0): add_pending_action (1): 'activation::0x29d8820'
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3039]
active-connection[0x29d8820]: constructed (NMVpnConnection, version-id 5)
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3040] auth:
call[4087]: CheckAuthorization(org.freedesktop.NetworkManager.network-control),
subject=unix-process[pid=18492, uid=1000, start=6647646]
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3062] auth:
call[4087]: CheckAuthorization succeeded: (is_authorized=1, is_challenge=0)
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3071]
active-connection[0x29d8820]: set state activating (was unknown)
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3072]
active-connection[0x29d8820]: check-master-ready: not signalling (state
activating, no master)
May 29 07:34:43 jasmine NetworkManager[25846]: <info>  [1496036083.3121]
vpn-connection[0x29d8820,8e80b036-6696-49e0-8c47-fa23a00278d6,"VPN",0]: Started
the VPN service, PID 19597
May 29 07:34:43 jasmine NetworkManager[25846]: <info>  [1496036083.3335]
vpn-connection[0x29d8820,8e80b036-6696-49e0-8c47-fa23a00278d6,"VPN",0]: Saw the
service appear; activating connection
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3337]
vpn-connection[0x29d8820,8e80b036-6696-49e0-8c47-fa23a00278d6,"VPN",0]:
requesting VPN secrets pass #1
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3386]
vpn-connection[0x29d8820,8e80b036-6696-49e0-8c47-fa23a00278d6,"VPN",0]: asking
service if additional secrets are required
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3425]
vpn-connection[0x29d8820,8e80b036-6696-49e0-8c47-fa23a00278d6,"VPN",0]: service
indicated additional secrets required
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3426]
vpn-connection[0x29d8820,8e80b036-6696-49e0-8c47-fa23a00278d6,"VPN",0]:
requesting VPN secrets pass #2
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3442] auth:
call[4088]:
CheckAuthorization(org.freedesktop.NetworkManager.settings.modify.own),
subject=unix-process[pid=8327, uid=1000, start=423409]
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3469] auth:
call[4088]: CheckAuthorization succeeded: (is_authorized=1, is_challenge=0)
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3526]
vpn-connection[0x29d8820,8e80b036-6696-49e0-8c47-fa23a00278d6,"VPN",0]: asking
service if additional secrets are required
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3568]
vpn-connection[0x29d8820,8e80b036-6696-49e0-8c47-fa23a00278d6,"VPN",0]: service
indicated additional secrets required
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3568]
vpn-connection[0x29d8820,8e80b036-6696-49e0-8c47-fa23a00278d6,"VPN",0]:
requesting VPN secrets pass #3
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3593] auth:
call[4089]:
CheckAuthorization(org.freedesktop.NetworkManager.settings.modify.own),
subject=unix-process[pid=8327, uid=1000, start=423409]
May 29 07:34:43 jasmine NetworkManager[25846]: <debug> [1496036083.3610] auth:
call[4089]: CheckAuthorization succeeded: (is_authorized=1, is_challenge=0)
May 29 07:34:44 jasmine NetworkManager[25846]: <debug> [1496036084.4792] auth:
call[4090]: CheckAuthorization(org.freedesktop.NetworkManager.network-control),
subject=unix-process[pid=18492, uid=1000, start=6647646]
May 29 07:34:44 jasmine NetworkManager[25846]: <debug> [1496036084.4850] auth:
call[4090]: CheckAuthorization succeeded: (is_authorized=1, is_challenge=0)
May 29 07:34:44 jasmine NetworkManager[25846]: <debug> [1496036084.4857]
device[0x295c850] (wlp58s0): add_pending_action (2): 'scan'
May 29 07:34:46 jasmine NetworkManager[25846]: <debug> [1496036086.2362]
device[0x295c850] (wlp58s0): remove_pending_action (1): 'scan'
May 29 07:34:59 jasmine NetworkManager[25846]: <debug> [1496036099.4767] auth:
call[4091]: CheckAuthorization(org.freedesktop.NetworkManager.network-control),
subject=unix-process[pid=18492, uid=1000, start=6647646]
May 29 07:34:59 jasmine NetworkManager[25846]: <debug> [1496036099.4822] auth:
call[4091]: CheckAuthorization succeeded: (is_authorized=1, is_challenge=0)
May 29 07:34:59 jasmine NetworkManager[25846]: <debug> [1496036099.4828]
device[0x295c850] (wlp58s0): add_pending_action (2): 'scan'
May 29 07:34:59 jasmine NetworkManager[25846]: <debug> [1496036099.8801]
rdisc-lndp[0x7f0bb4003380,"wlp58s0"]: processing libndp events
May 29 07:35:01 jasmine NetworkManager[25846]: <debug> [1496036101.5527]
device[0x295c850] (wlp58s0): remove_pending_action (1): 'scan'
May 29 07:35:14 jasmine NetworkManager[25846]: <debug> [1496036114.4764] auth:
call[4092]: CheckAuthorization(org.freedesktop.NetworkManager.network-control),
subject=unix-process[pid=18492, uid=1000, start=6647646]
May 29 07:35:14 jasmine NetworkManager[25846]: <debug> [1496036114.4821] auth:
call[4092]: CheckAuthorization succeeded: (is_authorized=1, is_challenge=0)
May 29 07:35:14 jasmine NetworkManager[25846]: <debug> [1496036114.4827]
device[0x295c850] (wlp58s0): add_pending_action (2): 'scan'
May 29 07:35:16 jasmine NetworkManager[25846]: <debug> [1496036116.2999]
device[0x295c850] (wlp58s0): remove_pending_action (1): 'scan'
May 29 07:35:29 jasmine NetworkManager[25846]: <debug> [1496036129.4776] auth:
call[4093]: CheckAuthorization(org.freedesktop.NetworkManager.network-control),
subject=unix-process[pid=18492, uid=1000, start=6647646]
May 29 07:35:29 jasmine NetworkManager[25846]: <debug> [1496036129.4841] auth:
call[4093]: CheckAuthorization succeeded: (is_authorized=1, is_challenge=0)
May 29 07:35:29 jasmine NetworkManager[25846]: <debug> [1496036129.4848]
device[0x295c850] (wlp58s0): add_pending_action (2): 'scan'
May 29 07:35:31 jasmine NetworkManager[25846]: <debug> [1496036131.3540]
device[0x295c850] (wlp58s0): remove_pending_action (1): 'scan'
May 29 07:35:44 jasmine NetworkManager[25846]: <debug> [1496036144.4756] auth:
call[4094]: CheckAuthorization(org.freedesktop.NetworkManager.network-control),
subject=unix-process[pid=18492, uid=1000, start=6647646]
May 29 07:35:44 jasmine NetworkManager[25846]: <debug> [1496036144.4804] auth:
call[4094]: CheckAuthorization succeeded: (is_authorized=1, is_challenge=0)
May 29 07:35:44 jasmine NetworkManager[25846]: <debug> [1496036144.4810]
device[0x295c850] (wlp58s0): add_pending_action (2): 'scan'
May 29 07:35:48 jasmine NetworkManager[25846]: <debug> [1496036148.2093]
device[0x295c850] (wlp58s0): remove_pending_action (1): 'scan'
May 29 07:35:59 jasmine NetworkManager[25846]: <debug> [1496036159.4782] auth:
call[4095]: CheckAuthorization(org.freedesktop.NetworkManager.network-control),
subject=unix-process[pid=18492, uid=1000, start=6647646]
May 29 07:35:59 jasmine NetworkManager[25846]: <debug> [1496036159.4846] auth:
call[4095]: CheckAuthorization succeeded: (is_authorized=1, is_challenge=0)
May 29 07:35:59 jasmine NetworkManager[25846]: <debug> [1496036159.4852]
device[0x295c850] (wlp58s0): add_pending_action (2): 'scan'
May 29 07:36:01 jasmine NetworkManager[25846]: <debug> [1496036161.1575]
device[0x295c850] (wlp58s0): remove_pending_action (1): 'scan'
May 29 07:36:14 jasmine NetworkManager[25846]: <debug> [1496036174.4763] auth:
call[4096]: CheckAuthorization(org.freedesktop.NetworkManager.network-control),
subject=unix-process[pid=18492, uid=1000, start=6647646]
May 29 07:36:14 jasmine NetworkManager[25846]: <debug> [1496036174.4836] auth:
call[4096]: CheckAuthorization succeeded: (is_authorized=1, is_challenge=0)
May 29 07:36:14 jasmine NetworkManager[25846]: <debug> [1496036174.4842]
device[0x295c850] (wlp58s0): add_pending_action (2): 'scan'
May 29 07:36:16 jasmine NetworkManager[25846]: <debug> [1496036176.2041]
device[0x295c850] (wlp58s0): remove_pending_action (1): 'scan'
May 29 07:36:29 jasmine NetworkManager[25846]: <debug> [1496036189.4743] auth:
call[4097]: CheckAuthorization(org.freedesktop.NetworkManager.network-control),
subject=unix-process[pid=18492, uid=1000, start=6647646]
May 29 07:36:29 jasmine NetworkManager[25846]: <debug> [1496036189.4774] auth:
call[4097]: CheckAuthorization succeeded: (is_authorized=1, is_challenge=0)
May 29 07:36:29 jasmine NetworkManager[25846]: <debug> [1496036189.4778]
device[0x295c850] (wlp58s0): add_pending_action (2): 'scan'
May 29 07:36:31 jasmine NetworkManager[25846]: <debug> [1496036191.1111]
device[0x295c850] (wlp58s0): remove_pending_action (1): 'scan'

versions:
libkf5networkmanagerqt6                        
5.34.0+p16.04+git20170514.2208-0
libnm0:amd64                                    1.2.6-0ubuntu0.16.04.1         
libopenconnect5:amd64                           7.06-2build2                   
network-manager                                 1.2.6-0ubuntu0.16.04.1         
network-manager-openconnect                     1.2.0-0ubuntu0.16.04.1         
network-manager-pptp                            1.1.93-1ubuntu1                
openconnect                                     7.06-2build2                   
plasma-nm                                      
4:5.10.0+p16.04+git20170526.1746-0         
vpnc-scripts                                    0.1~git20160829-1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to