Page MenuHomeVyOS Platform

openvpn: 'show openvpn client' error
Closed, ResolvedPublic


When we don't have defined remote-port, which is not required, just used default 1194.

set interfaces openvpn vtun0 mode 'client'
set interfaces openvpn vtun0 remote-host 'x.x.x.x'
set interfaces openvpn vtun0 tls ca-cert-file '/config/auth/ovpn/ca.crt'
set interfaces openvpn vtun0 tls cert-file '/config/auth/ovpn/branch1.crt'
set interfaces openvpn vtun0 tls key-file '/config/auth/ovpn/branch1.key'
vyos@vyos-rtr01# run show openvpn client 
Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/", line 166, in <module>
    client['remote'] = str(remote_host[0]) + ':' + remote_port
TypeError: Can't convert 'NoneType' object to str implicitly


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

Dmitry changed the task status from Open to In progress.Sep 14 2019, 8:51 PM
Dmitry triaged this task as Normal priority.
Dmitry created this task.
Dmitry created this object in space S1 VyOS Public.
c-po closed this task as Resolved.Sep 15 2019, 8:52 AM
c-po added a project: VyOS 1.3 Equuleus.
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.Oct 13 2019, 3:02 PM