Public bug reported:

Description:    Ubuntu 18.04 LTS
Release:        18.04

openconnect:
  Instalado: 7.08-3
  Candidato: 7.08-3
  Tabela de versão:
 *** 7.08-3 500
        500 http://ubuntu-archive.locaweb.com.br/ubuntu bionic/universe amd64 
Packages
        100 /var/lib/dpkg/status

network-manager-openconnect-gnome:
  Instalado: 1.2.4-1
  Candidato: 1.2.4-1
  Tabela de versão:
 *** 1.2.4-1 500
        500 http://ubuntu-archive.locaweb.com.br/ubuntu bionic/universe amd64 
Packages
        100 /var/lib/dpkg/status

network-manager-openconnect:
  Instalado: 1.2.4-1
  Candidato: 1.2.4-1
  Tabela de versão:
 *** 1.2.4-1 500
        500 http://ubuntu-archive.locaweb.com.br/ubuntu bionic/universe amd64 
Packages
        100 /var/lib/dpkg/status


In networking-manager getting this error:

May 27 12:46:09 DESKTOP NetworkManager[7192]: <info>  [1527435969.0734] 
vpn-connection[0x559b831841c0,b195924f-67ab-4fc9-bfa7-aa0bc5dd1306,"INEX",0]: 
VPN plugin: state changed: starting (3)
May 27 12:46:09 DESKTOP NetworkManager[7192]: AVISO: Essa versão do openconnect 
é v7.08-3, mas
May 27 12:46:09 DESKTOP NetworkManager[7192]:          a biblioteca 
libopenconnect é v7.08-231-g9937e7d6
May 27 12:46:09 DESKTOP systemd-udevd[21756]: Process '/bin/chmod 0666 ' failed 
with exit code 1.
May 27 12:46:09 DESKTOP systemd-udevd[21756]: message repeated 2 times: [ 
Process '/bin/chmod 0666 ' failed with exit code 1.]
May 27 12:46:09 DESKTOP NetworkManager[7192]: Conectado a 179.191.125.46:443
May 27 12:46:09 DESKTOP NetworkManager[7192]: Negociação SSL com 179.191.125.46
May 27 12:46:09 DESKTOP NetworkManager[7192]: <info>  [1527435969.0801] devices 
added (path: /sys/devices/virtual/net/vpn0, iface: vpn0)
May 27 12:46:09 DESKTOP NetworkManager[7192]: <info>  [1527435969.0801] device 
added (path: /sys/devices/virtual/net/vpn0, iface: vpn0): no ifupdown 
configuration found.
May 27 12:46:09 DESKTOP systemd-udevd[21756]: Process '/bin/chmod 0666 ' failed 
with exit code 1.
May 27 12:46:09 DESKTOP systemd-udevd[21772]: Process '/bin/chmod 0666 ' failed 
with exit code 1.
May 27 12:46:09 DESKTOP systemd-udevd[21756]: Process '/bin/chmod 0666 ' failed 
with exit code 1.
May 27 12:46:09 DESKTOP systemd-udevd[21772]: Process '/bin/chmod 0666 ' failed 
with exit code 1.
May 27 12:46:09 DESKTOP systemd-udevd[21756]: Process '/bin/chmod 0666 ' failed 
with exit code 1.
May 27 12:46:09 DESKTOP systemd-udevd[21772]: Process '/bin/chmod 0666 ' failed 
with exit code 1.
May 27 12:46:09 DESKTOP NetworkManager[7192]: Verificação do certificado do 
servidor falhou: assinado não encontrado
May 27 12:46:09 DESKTOP NetworkManager[7192]: Conectado a HTTPS em 
179.191.125.46
May 27 12:46:09 DESKTOP NetworkManager[7192]: Obteve resposta HTTP CONNECT 
inapropriável: HTTP/1.1 401 Unauthorized
May 27 12:46:09 DESKTOP NetworkManager[7192]: A criação da conexão SSL falhou
May 27 12:46:09 DESKTOP charon: 12[KNL] interface vpn0 deleted

In openconnect shell works fine:

POST https://vpn.inexsoft.com.br/
Tentando conectar ao servidor 179.191.125.46:443
Conectado a 179.191.125.46:443
Negociação SSL com vpn.inexsoft.com.br
Verificação do certificado do servidor falhou: assinado não encontrado
Conectado a HTTPS em vpn.inexsoft.com.br
> POST / HTTP/1.1
> Host: vpn.inexsoft.com.br
> User-Agent: Open AnyConnect VPN Agent v7.08-231-g9937e7d6
> Accept: */*
> Accept-Encoding: identity
> X-Transcend-Version: 1
> X-Aggregate-Auth: 1
> X-AnyConnect-Platform: linux-64
> X-Support-HTTP-Auth: true
> X-Pad: 00000000000000000000000000000
> Content-Type: application/x-www-form-urlencoded
> Content-Length: 227
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <config-auth client="vpn" type="init"><version 
> who="vpn">v7.08-231-g9937e7d6</version><device-id>linux-64</device-id><group-access>https://vpn.inexsoft.com.br</group-access></config-auth>
Obteve resposta HTTP: HTTP/1.0 302 Object Moved
Content-Type: text/html; charset=utf-8
Content-Length: 0
Cache-Control: no-cache
Pragma: no-cache
Connection: Close
Date: Sun, 27 May 2018 14:44:59 GMT
X-Frame-Options: SAMEORIGIN
Location: /+webvpn+/index.html
Set-Cookie: tg=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure
Corpo de HTTP length:  (0)
GET https://vpn.inexsoft.com.br/
Tentando conectar ao servidor 179.191.125.46:443
Conectado a 179.191.125.46:443
Negociação SSL com vpn.inexsoft.com.br
Verificação do certificado do servidor falhou: assinado não encontrado
Conectado a HTTPS em vpn.inexsoft.com.br
> GET / HTTP/1.1
> Host: vpn.inexsoft.com.br
> User-Agent: Open AnyConnect VPN Agent v7.08-231-g9937e7d6
> Accept: */*
> Accept-Encoding: identity
> X-Transcend-Version: 1
> X-Support-HTTP-Auth: true
> 
Obteve resposta HTTP: HTTP/1.0 302 Object Moved
Content-Type: text/html; charset=utf-8
Content-Length: 0
Cache-Control: no-cache
Pragma: no-cache
Connection: Close
Date: Sun, 27 May 2018 14:44:59 GMT
X-Frame-Options: SAMEORIGIN
Location: /+webvpn+/index.html
Set-Cookie: tg=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure
Corpo de HTTP length:  (0)
GET https://vpn.inexsoft.com.br/+webvpn+/index.html
Negociação SSL com vpn.inexsoft.com.br
Verificação do certificado do servidor falhou: assinado não encontrado
Conectado a HTTPS em vpn.inexsoft.com.br
> GET /+webvpn+/index.html HTTP/1.1
> Host: vpn.inexsoft.com.br
> User-Agent: Open AnyConnect VPN Agent v7.08-231-g9937e7d6
> Accept: */*
> Accept-Encoding: identity
> X-Transcend-Version: 1
> X-Support-HTTP-Auth: true
> 
Obteve resposta HTTP: HTTP/1.1 200 OK
Transfer-Encoding: chunked
Content-Type: text/xml
Cache-Control: max-age=0
Set-Cookie: webvpn=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure
Set-Cookie: webvpnc=; expires=Thu, 01 Jan 1970 22:00:00 GMT; path=/; secure
Set-Cookie: webvpnlogin=1; secure
X-Frame-Options: SAMEORIGIN
X-Transcend-Version: 1
Corpo de HTTP chunked (-2)
< <?xml version="1.0" encoding="UTF-8"?>

** Affects: network-manager-openconnect (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1773668

Title:
  Openconnect VPN cannot start in network-manager / shell works fine

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1773668/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to