Can't Connect to Azure VPN

Post Reply
jfernandez
OpenVpn Newbie
Posts: 1
Joined: Fri Apr 17, 2020 5:01 am

Can't Connect to Azure VPN

Post by jfernandez » Fri Apr 17, 2020 5:13 am

Hi,

I'm trying to connect to azure ovpn but it only loops into restarting connection. Below is the details and my openvpnas log.

Details:
OS: Ubuntu 14
OpenVPN Version: 2.4.8

Log:

Code: Select all

2020-04-23 12:54:43+0800 [-] *** MEMORY usage: 53652 objects, counts=(263, 9, 4)
2020-04-23 12:54:43+0800 [-] (14615, <type 'function'>)
2020-04-23 12:54:43+0800 [-] (7930, <type 'dict'>)
2020-04-23 12:54:43+0800 [-] (7516, <type 'tuple'>)
2020-04-23 12:54:43+0800 [-] (4157, <type 'weakref'>)
2020-04-23 12:54:43+0800 [-] (3419, <type 'list'>)
2020-04-23 12:54:43+0800 [-] (1690, <type 'getset_descriptor'>)
2020-04-23 12:54:43+0800 [-] (1584, <type 'type'>)
2020-04-23 12:54:43+0800 [-] (1328, <type 'wrapper_descriptor'>)
2020-04-23 12:54:43+0800 [-] (1250, <type 'builtin_function_or_method'>)
2020-04-23 12:54:43+0800 [-] (1235, <type 'set'>)
2020-04-23 12:54:43+0800 [-] (917, <type 'instance'>)
2020-04-23 12:54:43+0800 [-] (893, <type 'method_descriptor'>)
2020-04-23 12:54:43+0800 [-] (722, <type 'module'>)
2020-04-23 12:54:43+0800 [-] (594, <type 'cell'>)
2020-04-23 12:54:43+0800 [-] (560, <type 'classobj'>)
2020-04-23 12:54:43+0800 [-] (422, <type 'classmethod'>)
2020-04-23 12:54:43+0800 [-] (379, <class 'zope.interface.interface.Method'>)
2020-04-23 12:54:43+0800 [-] (345, <type 'instancemethod'>)
2020-04-23 12:54:43+0800 [-] (338, <type 'member_descriptor'>)
2020-04-23 12:54:43+0800 [-] (314, <type 'property'>)
2020-04-23 12:54:43+0800 [-] *** GARBAGE usage: 0 objects, counts=(263, 9, 4)
2020-04-23 18:25:04+0800 [-] (Port None Closed)
2020-04-23 18:25:07+0800 [-] (Port None Closed)
2020-04-23 18:25:07+0800 [-] (Port None Closed)
2020-04-23 18:25:13+0800 [-] Received SIGTERM, shutting down.
2020-04-23 18:25:13+0800 [-] Main loop terminated.
2020-04-23 18:25:13+0800 [-] Server Shut Down.
2020-04-24 06:32:15+0800 [-] Log opened.
2020-04-24 06:32:15+0800 [-] twistd 9.0.0 (/usr/local/openvpn_as/bin/python 2.7.11) starting up.
2020-04-24 06:32:15+0800 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2020-04-24 06:32:15+0800 [-] rmdir /usr/local/openvpn_as/etc/db_push
2020-04-24 06:32:20+0800 [-] ACCESS SERVER starting, version=2.5.2
2020-04-24 06:32:20+0800 [-] Max open files set to (4096, 4096)
2020-04-24 06:32:21+0800 [-] /etc/resolv.conf changed, reparsing
2020-04-24 06:32:44+0800 [-] /usr/local/openvpn_as/lib/python2.7/site-packages/zope.interface-4.4.3-py2.7-linux-x86_64.egg/zope/interface/interface.py:522: exceptions.UserWarning: Hashing uninitialized InterfaceClass instance
2020-04-24 06:32:53+0800 [-] twisted.web.server.Site starting on "u'/usr/local/openvpn_as/etc/sock/sagent'"
2020-04-24 06:32:53+0800 [-] twisted.web.server.Site starting on "u'/usr/local/openvpn_as/etc/sock/sagent.localroot'"
2020-04-24 06:32:53+0800 [-] twisted.web.server.Site starting on "u'/usr/local/openvpn_as/etc/sock/sagent.api'"
2020-04-24 06:32:54+0800 [-] LOCAL_ADDR wlp18s0b1 : bad local address name or interface is not up; must be 'all', 'localhost', a local IP address, or an interface name: util/cdict:298,net/net:449,net/net:527,sagent/sagent_entry:14,sagent/sagent_entry:11,util/daemon:28,util/daemon:69,application/app:423,scripts/_twistd_unix:202,application/app:445,application/app:348,internet/base:1166,internet/base:1175,internet/base:779,util/defer:195,svc/svc:484,svc/svc:345,svc/svc:318,svc/svc:801,sagent/vpnsvc:47,sagent/vpnconfig:130,sagent/vpnconfig:138,sagent/vpnconfig:122,util/cdict:330,util/cdict:322,util/cdict:282,util/cdict:191,sagent/vpnconfig:23,util/cdict:330,util/cdict:322,util/cdict:298,net/net:449,net/net:527,util/error:61,util/error:44 (vpn.daemon.0.listen.ip_address) (vpn.daemon.0.listen)
2020-04-24 06:32:54+0800 [-] LOCAL_ADDR wlp18s0b1 : bad local address name or interface is not up; must be 'all', 'localhost', a local IP address, or an interface name: util/cdict:298,net/net:449,net/net:527,util/daemon:28,util/daemon:69,application/app:423,scripts/_twistd_unix:202,application/app:445,application/app:348,internet/base:1166,internet/base:1175,internet/base:779,util/defer:195,svc/svc:484,svc/svc:378,svc/svc:448,svc/svc:457,svc/svc:318,svc/svc:801,sagent/vpnsvc:47,sagent/vpnconfig:130,sagent/vpnconfig:138,sagent/vpnconfig:122,util/cdict:330,util/cdict:322,util/cdict:282,util/cdict:191,sagent/vpnconfig:23,util/cdict:330,util/cdict:322,util/cdict:298,net/net:449,net/net:527,util/error:61,util/error:44 (vpn.daemon.0.listen.ip_address) (vpn.daemon.0.listen)
2020-04-24 06:32:54+0800 [-] OpenVPNDataDir: using shared dir: '/run/openvpn_as/tmp'
2020-04-24 06:32:54+0800 [-] OpenVPNDataDir: using shared dir: '/run/openvpn_as/dev'
2020-04-24 06:32:54+0800 [-] /bin/mknod -m 0666 /run/openvpn_as/dev/null c 1 3
2020-04-24 06:32:54+0800 [-] /bin/mknod -m 0666 /run/openvpn_as/dev/random c 1 8
2020-04-24 06:32:54+0800 [-] /bin/mknod -m 0444 /run/openvpn_as/dev/urandom c 1 9
2020-04-24 06:32:55+0800 [-] *** MyError.report ***
2020-04-24 06:32:55+0800 [-] Stack Traceback
2020-04-24 06:32:55+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:32:55+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/cqsvc.py', 186, 'start', None)
2020-04-24 06:32:55+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 138, 'daemon_dict', None)
2020-04-24 06:32:55+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:32:55+0800 [-] 'ip_address': svc/svc:631,sagent/cqsvc:186,sagent/vpnconfig:138,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:32:55+0800 [-] *** MyError.report ***
2020-04-24 06:32:55+0800 [-] Stack Traceback
2020-04-24 06:32:55+0800 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py', 323, '_runCallbacks', 'self.result = callback(self.result, *args, **kw)')
2020-04-24 06:32:55+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/ipts.py', 145, 'parse_validate', None)
2020-04-24 06:32:55+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/iptvpn.py', 139, 'parse_validate', None)
2020-04-24 06:32:55+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:32:55+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:32:55+0800 [-] Service deferred error: 'ip_address': internet/defer:323,sagent/ipts:145,sagent/iptvpn:139,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:32:55+0800 [-] Server agent initialization failed (1/6 attempts) because the following network resources are unavailable: set(['wlp18s0b1'])
2020-04-24 06:33:05+0800 [-] LOCAL_ADDR wlp18s0b1 : bad local address name or interface is not up; must be 'all', 'localhost', a local IP address, or an interface name: util/cdict:298,net/net:449,net/net:527,internet/base:1175,internet/base:779,sagent/svcset:700,internet/defer:102,sagent/runxml:161,internet/defer:190,internet/defer:181,internet/defer:323,sagent/runxml:86,sagent/runxml:41,sagent/runxml:60,sagent/runxml:41,svc/svc:255,svc/svc:560,svc/svc:318,svc/svc:801,sagent/vpnsvc:47,sagent/vpnconfig:130,sagent/vpnconfig:138,sagent/vpnconfig:122,util/cdict:330,util/cdict:322,util/cdict:282,util/cdict:191,sagent/vpnconfig:23,util/cdict:330,util/cdict:322,util/cdict:298,net/net:449,net/net:527,util/error:61,util/error:44 (vpn.daemon.0.listen.ip_address) (vpn.daemon.0.listen)
2020-04-24 06:33:05+0800 [-] *** MyError.report ***
2020-04-24 06:33:05+0800 [-] Stack Traceback
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/cqsvc.py', 186, 'start', None)
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 138, 'daemon_dict', None)
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:05+0800 [-] 'ip_address': svc/svc:631,sagent/cqsvc:186,sagent/vpnconfig:138,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:05+0800 [-] *** MyError.report ***
2020-04-24 06:33:05+0800 [-] Stack Traceback
2020-04-24 06:33:05+0800 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py', 323, '_runCallbacks', 'self.result = callback(self.result, *args, **kw)')
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/ipts.py', 145, 'parse_validate', None)
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/iptvpn.py', 139, 'parse_validate', None)
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:05+0800 [-] Service deferred error: 'ip_address': internet/defer:323,sagent/ipts:145,sagent/iptvpn:139,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:05+0800 [-] *** MyError.report ***
2020-04-24 06:33:05+0800 [-] Stack Traceback
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/wpsvc.py', 182, 'start', None)
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/iptlive.py', 57, 'parse_validate_callback', None)
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:05+0800 [-] 'ip_address': svc/svc:631,sagent/wpsvc:182,sagent/iptlive:57,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:05+0800 [-] *** MyError.report ***
2020-04-24 06:33:05+0800 [-] Stack Traceback
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/usersvc.py', 1148, 'start', None)
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:33:05+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:05+0800 [-] 'ip_address': svc/svc:631,sagent/usersvc:1148,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:05+0800 [-] Server agent initialization failed (2/6 attempts) because the following network resources are unavailable: set(['wlp18s0b1'])
2020-04-24 06:33:12+0800 [-] License Info {'apc': False, 'concurrent_connections': 2}
2020-04-24 06:33:15+0800 [-] LOCAL_ADDR wlp18s0b1 : bad local address name or interface is not up; must be 'all', 'localhost', a local IP address, or an interface name: util/cdict:298,net/net:449,net/net:527,internet/base:1175,internet/base:779,sagent/svcset:700,internet/defer:102,sagent/runxml:161,internet/defer:190,internet/defer:181,internet/defer:323,sagent/runxml:86,sagent/runxml:41,sagent/runxml:60,sagent/runxml:41,svc/svc:255,svc/svc:560,svc/svc:318,svc/svc:801,sagent/vpnsvc:47,sagent/vpnconfig:130,sagent/vpnconfig:138,sagent/vpnconfig:122,util/cdict:330,util/cdict:322,util/cdict:282,util/cdict:191,sagent/vpnconfig:23,util/cdict:330,util/cdict:322,util/cdict:298,net/net:449,net/net:527,util/error:61,util/error:44 (vpn.daemon.0.listen.ip_address) (vpn.daemon.0.listen)
2020-04-24 06:33:15+0800 [-] *** MyError.report ***
2020-04-24 06:33:15+0800 [-] Stack Traceback
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/cqsvc.py', 186, 'start', None)
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 138, 'daemon_dict', None)
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:15+0800 [-] 'ip_address': svc/svc:631,sagent/cqsvc:186,sagent/vpnconfig:138,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:15+0800 [-] *** MyError.report ***
2020-04-24 06:33:15+0800 [-] Stack Traceback
2020-04-24 06:33:15+0800 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py', 323, '_runCallbacks', 'self.result = callback(self.result, *args, **kw)')
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/ipts.py', 145, 'parse_validate', None)
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/iptvpn.py', 139, 'parse_validate', None)
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:15+0800 [-] Service deferred error: 'ip_address': internet/defer:323,sagent/ipts:145,sagent/iptvpn:139,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:15+0800 [-] *** MyError.report ***
2020-04-24 06:33:15+0800 [-] Stack Traceback
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/wpsvc.py', 182, 'start', None)
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/iptlive.py', 57, 'parse_validate_callback', None)
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:15+0800 [-] 'ip_address': svc/svc:631,sagent/wpsvc:182,sagent/iptlive:57,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:15+0800 [-] *** MyError.report ***
2020-04-24 06:33:15+0800 [-] Stack Traceback
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/usersvc.py', 1148, 'start', None)
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:33:15+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:15+0800 [-] 'ip_address': svc/svc:631,sagent/usersvc:1148,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:15+0800 [-] Server agent initialization failed (3/6 attempts) because the following network resources are unavailable: set(['wlp18s0b1'])
2020-04-24 06:33:25+0800 [-] LOCAL_ADDR wlp18s0b1 : bad local address name or interface is not up; must be 'all', 'localhost', a local IP address, or an interface name: util/cdict:298,net/net:449,net/net:527,internet/base:1175,internet/base:779,sagent/svcset:700,internet/defer:102,sagent/runxml:161,internet/defer:190,internet/defer:181,internet/defer:323,sagent/runxml:86,sagent/runxml:41,sagent/runxml:60,sagent/runxml:41,svc/svc:255,svc/svc:560,svc/svc:318,svc/svc:801,sagent/vpnsvc:47,sagent/vpnconfig:130,sagent/vpnconfig:138,sagent/vpnconfig:122,util/cdict:330,util/cdict:322,util/cdict:282,util/cdict:191,sagent/vpnconfig:23,util/cdict:330,util/cdict:322,util/cdict:298,net/net:449,net/net:527,util/error:61,util/error:44 (vpn.daemon.0.listen.ip_address) (vpn.daemon.0.listen)
2020-04-24 06:33:25+0800 [-] *** MyError.report ***
2020-04-24 06:33:25+0800 [-] Stack Traceback
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/cqsvc.py', 186, 'start', None)
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 138, 'daemon_dict', None)
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:25+0800 [-] 'ip_address': svc/svc:631,sagent/cqsvc:186,sagent/vpnconfig:138,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:25+0800 [-] *** MyError.report ***
2020-04-24 06:33:25+0800 [-] Stack Traceback
2020-04-24 06:33:25+0800 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py', 323, '_runCallbacks', 'self.result = callback(self.result, *args, **kw)')
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/ipts.py', 145, 'parse_validate', None)
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/iptvpn.py', 139, 'parse_validate', None)
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:25+0800 [-] Service deferred error: 'ip_address': internet/defer:323,sagent/ipts:145,sagent/iptvpn:139,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:25+0800 [-] *** MyError.report ***
2020-04-24 06:33:25+0800 [-] Stack Traceback
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/wpsvc.py', 182, 'start', None)
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/iptlive.py', 57, 'parse_validate_callback', None)
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:25+0800 [-] 'ip_address': svc/svc:631,sagent/wpsvc:182,sagent/iptlive:57,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:25+0800 [-] *** MyError.report ***
2020-04-24 06:33:25+0800 [-] Stack Traceback
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/usersvc.py', 1148, 'start', None)
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:33:25+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:25+0800 [-] 'ip_address': svc/svc:631,sagent/usersvc:1148,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:25+0800 [-] Server agent initialization failed (4/6 attempts) because the following network resources are unavailable: set(['wlp18s0b1'])
2020-04-24 06:33:35+0800 [-] LOCAL_ADDR wlp18s0b1 : bad local address name or interface is not up; must be 'all', 'localhost', a local IP address, or an interface name: util/cdict:298,net/net:449,net/net:527,internet/base:1175,internet/base:779,sagent/svcset:700,internet/defer:102,sagent/runxml:161,internet/defer:190,internet/defer:181,internet/defer:323,sagent/runxml:86,sagent/runxml:41,sagent/runxml:60,sagent/runxml:41,svc/svc:255,svc/svc:560,svc/svc:318,svc/svc:801,sagent/vpnsvc:47,sagent/vpnconfig:130,sagent/vpnconfig:138,sagent/vpnconfig:122,util/cdict:330,util/cdict:322,util/cdict:282,util/cdict:191,sagent/vpnconfig:23,util/cdict:330,util/cdict:322,util/cdict:298,net/net:449,net/net:527,util/error:61,util/error:44 (vpn.daemon.0.listen.ip_address) (vpn.daemon.0.listen)
2020-04-24 06:33:35+0800 [-] *** MyError.report ***
2020-04-24 06:33:35+0800 [-] Stack Traceback
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/cqsvc.py', 186, 'start', None)
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 138, 'daemon_dict', None)
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:35+0800 [-] 'ip_address': svc/svc:631,sagent/cqsvc:186,sagent/vpnconfig:138,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:35+0800 [-] *** MyError.report ***
2020-04-24 06:33:35+0800 [-] Stack Traceback
2020-04-24 06:33:35+0800 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py', 323, '_runCallbacks', 'self.result = callback(self.result, *args, **kw)')
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/ipts.py', 145, 'parse_validate', None)
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/iptvpn.py', 139, 'parse_validate', None)
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:35+0800 [-] Service deferred error: 'ip_address': internet/defer:323,sagent/ipts:145,sagent/iptvpn:139,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:35+0800 [-] *** MyError.report ***
2020-04-24 06:33:35+0800 [-] Stack Traceback
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/wpsvc.py', 182, 'start', None)
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/iptlive.py', 57, 'parse_validate_callback', None)
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:35+0800 [-] 'ip_address': svc/svc:631,sagent/wpsvc:182,sagent/iptlive:57,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:35+0800 [-] *** MyError.report ***
2020-04-24 06:33:35+0800 [-] Stack Traceback
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/usersvc.py', 1148, 'start', None)
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:33:35+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:35+0800 [-] 'ip_address': svc/svc:631,sagent/usersvc:1148,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:35+0800 [-] Server agent initialization failed (5/6 attempts) because the following network resources are unavailable: set(['wlp18s0b1'])
2020-04-24 06:33:45+0800 [-] LOCAL_ADDR wlp18s0b1 : bad local address name or interface is not up; must be 'all', 'localhost', a local IP address, or an interface name: util/cdict:298,net/net:449,net/net:527,internet/base:1175,internet/base:779,sagent/svcset:700,internet/defer:102,sagent/runxml:161,internet/defer:190,internet/defer:181,internet/defer:323,sagent/runxml:86,sagent/runxml:41,sagent/runxml:60,sagent/runxml:41,svc/svc:255,svc/svc:560,svc/svc:318,svc/svc:801,sagent/vpnsvc:47,sagent/vpnconfig:130,sagent/vpnconfig:138,sagent/vpnconfig:122,util/cdict:330,util/cdict:322,util/cdict:282,util/cdict:191,sagent/vpnconfig:23,util/cdict:330,util/cdict:322,util/cdict:298,net/net:449,net/net:527,util/error:61,util/error:44 (vpn.daemon.0.listen.ip_address) (vpn.daemon.0.listen)
2020-04-24 06:33:45+0800 [-] *** MyError.report ***
2020-04-24 06:33:45+0800 [-] Stack Traceback
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/cqsvc.py', 186, 'start', None)
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 138, 'daemon_dict', None)
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:45+0800 [-] 'ip_address': svc/svc:631,sagent/cqsvc:186,sagent/vpnconfig:138,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:45+0800 [-] *** MyError.report ***
2020-04-24 06:33:45+0800 [-] Stack Traceback
2020-04-24 06:33:45+0800 [-] ('/usr/local/openvpn_as/lib/python2.7/site-packages/Twisted-9.0.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py', 323, '_runCallbacks', 'self.result = callback(self.result, *args, **kw)')
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/ipts.py', 145, 'parse_validate', None)
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/iptvpn.py', 139, 'parse_validate', None)
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:45+0800 [-] Service deferred error: 'ip_address': internet/defer:323,sagent/ipts:145,sagent/iptvpn:139,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:45+0800 [-] *** MyError.report ***
2020-04-24 06:33:45+0800 [-] Stack Traceback
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/wpsvc.py', 182, 'start', None)
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/iptlive.py', 57, 'parse_validate_callback', None)
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:45+0800 [-] 'ip_address': svc/svc:631,sagent/wpsvc:182,sagent/iptlive:57,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:45+0800 [-] *** MyError.report ***
2020-04-24 06:33:45+0800 [-] Stack Traceback
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/svc/svc.py', 631, '_walk', None)
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/usersvc.py', 1148, 'start', None)
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 248, 'daemon_dict_port_forward', None)
2020-04-24 06:33:45+0800 [-] ('build/bdist.linux-x86_64/egg/pyovpn/sagent/vpnconfig.py', 123, 'server_daemon_parms', None)
2020-04-24 06:33:45+0800 [-] 'ip_address': svc/svc:631,sagent/usersvc:1148,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)
2020-04-24 06:33:45+0800 [-] Server agent initialization failed (6/6 attempts) because the following network resources are unavailable: set(['wlp18s0b1'])
2020-04-24 06:33:45+0800 [-] Server Agent is inactive due to the following errors: {'errors': {'admin_ui.https.ip_address': [('error', "LOCAL_ADDR wlp18s0b1 : bad local address name or interface is not up; must be 'all', 'localhost', a local IP address, or an interface name: util/cdict:298,net/net:449,net/net:527,sagent/sagent_entry:14,sagent/sagent_entry:11,util/daemon:28,util/daemon:69,application/app:423,scripts/_twistd_unix:202,application/app:445,application/app:348,internet/base:1166,internet/base:1175,internet/base:779,sagent/svcset:700,internet/defer:102,sagent/runxml:161,internet/defer:190,internet/defer:181,internet/defer:323,sagent/runxml:86,sagent/runxml:41,sagent/runxml:60,sagent/runxml:41,svc/svc:255,svc/svc:631,sagent/websvc:300,sagent/websvc:171,sagent/websvc:88,util/cdict:263,util/cdict:298,net/net:449,net/net:527,util/error:61,util/error:44")], 'web': [('error', 'service failed to validate')], 'iptables_openvpn': [('error', "Service deferred error: 'ip_address': internet/defer:323,sagent/ipts:145,sagent/iptvpn:139,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)")], 'cs.https.ip_address': [('error', "LOCAL_ADDR wlp18s0b1 : bad local address name or interface is not up; must be 'all', 'localhost', a local IP address, or an interface name: util/cdict:298,net/net:449,net/net:527,sagent/sagent_entry:14,sagent/sagent_entry:11,util/daemon:28,util/daemon:69,application/app:423,scripts/_twistd_unix:202,application/app:445,application/app:348,internet/base:1166,internet/base:1175,internet/base:779,sagent/svcset:700,internet/defer:102,sagent/runxml:161,internet/defer:190,internet/defer:181,internet/defer:323,sagent/runxml:86,sagent/runxml:41,sagent/runxml:60,sagent/runxml:41,svc/svc:255,svc/svc:631,sagent/websvc:300,sagent/websvc:171,sagent/websvc:86,util/cdict:260,util/cdict:298,net/net:449,net/net:527,util/error:61,util/error:44")], 'client_query': [('error', "'ip_address': svc/svc:631,sagent/cqsvc:186,sagent/vpnconfig:138,sagent/vpnconfig:123 (exceptions.KeyError)")], 'user': [('error', "'ip_address': svc/svc:631,sagent/usersvc:1148,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)")], 'vpn.daemon.0.listen.ip_address': [('error', "LOCAL_ADDR wlp18s0b1 : bad local address name or interface is not up; must be 'all', 'localhost', a local IP address, or an interface name: util/cdict:298,net/net:449,net/net:527,internet/base:779,sagent/svcset:700,internet/defer:102,sagent/runxml:161,internet/defer:190,internet/defer:181,internet/defer:323,sagent/runxml:86,sagent/runxml:41,sagent/runxml:60,sagent/runxml:41,svc/svc:255,svc/svc:664,internet/defer:190,internet/defer:181,internet/defer:323,svc/svc:631,sagent/cqsvc:186,sagent/vpnconfig:138,sagent/vpnconfig:122,util/cdict:330,util/cdict:322,util/cdict:282,util/cdict:191,sagent/vpnconfig:23,util/cdict:330,util/cdict:322,util/cdict:298,net/net:449,net/net:527,util/error:61,util/error:44"), ('error', "LOCAL_ADDR wlp18s0b1 : bad local address name or interface is not up; must be 'all', 'localhost', a local IP address, or an interface name: util/cdict:298,net/net:449,net/net:527,internet/defer:323,sagent/runxml:86,sagent/runxml:41,sagent/runxml:60,sagent/runxml:41,svc/svc:255,svc/svc:664,internet/defer:190,internet/defer:181,internet/defer:323,svc/svc:631,sagent/ipts:198,sagent/ipts:136,internet/defer:190,internet/defer:181,internet/defer:323,sagent/ipts:145,sagent/iptvpn:139,sagent/vpnconfig:248,sagent/vpnconfig:122,util/cdict:330,util/cdict:322,util/cdict:282,util/cdict:191,sagent/vpnconfig:23,util/cdict:330,util/cdict:322,util/cdict:298,net/net:449,net/net:527,util/error:61,util/error:44"), ('error', "LOCAL_ADDR wlp18s0b1 : bad local address name or interface is not up; must be 'all', 'localhost', a local IP address, or an interface name: util/cdict:298,net/net:449,net/net:527,internet/defer:181,internet/defer:323,sagent/runxml:86,sagent/runxml:41,sagent/runxml:60,sagent/runxml:41,svc/svc:255,svc/svc:664,internet/defer:190,internet/defer:181,internet/defer:323,svc/svc:664,internet/defer:190,internet/defer:181,internet/defer:323,svc/svc:631,sagent/wpsvc:182,sagent/iptlive:57,sagent/vpnconfig:248,sagent/vpnconfig:122,util/cdict:330,util/cdict:322,util/cdict:282,util/cdict:191,sagent/vpnconfig:23,util/cdict:330,util/cdict:322,util/cdict:298,net/net:449,net/net:527,util/error:61,util/error:44"), ('error', "LOCAL_ADDR wlp18s0b1 : bad local address name or interface is not up; must be 'all', 'localhost', a local IP address, or an interface name: util/cdict:298,net/net:449,net/net:527,internet/defer:190,internet/defer:181,internet/defer:323,sagent/runxml:86,sagent/runxml:41,sagent/runxml:60,sagent/runxml:41,svc/svc:255,svc/svc:664,internet/defer:190,internet/defer:181,internet/defer:323,svc/svc:664,internet/defer:190,internet/defer:181,internet/defer:323,svc/svc:631,sagent/usersvc:1148,sagent/vpnconfig:248,sagent/vpnconfig:122,util/cdict:330,util/cdict:322,util/cdict:282,util/cdict:191,sagent/vpnconfig:23,util/cdict:330,util/cdict:322,util/cdict:298,net/net:449,net/net:527,util/error:61,util/error:44")], 'iptables_live': [('error', "'ip_address': svc/svc:631,sagent/wpsvc:182,sagent/iptlive:57,sagent/vpnconfig:248,sagent/vpnconfig:123 (exceptions.KeyError)")]}, 'service_status': {'bridge': 'off', 'log': 'off', 'license': 'off', 'iptables_web': 'off', 'iptables_openvpn': 'off', 'ip6tables_openvpn': 'off', 'auth': 'off', 'ip6tables_live': 'off', 'client_query': 'off', 'api': 'off', 'daemon_pre': 'off', 'web': 'off', 'db_push': 'off', 'iptables_live': 'off', 'crl': 'off', 'user': 'off'}}
2020-04-24 11:19:56+0800 [-] (Port None Closed)
2020-04-24 11:19:57+0800 [-] (Port None Closed)
2020-04-24 11:19:57+0800 [-] (Port None Closed)
2020-04-24 11:19:57+0800 [-] Received SIGTERM, shutting down.
2020-04-24 11:19:57+0800 [-] Main loop terminated.
2020-04-24 11:19:57+0800 [-] Server Shut Down.
Thanks in advance for the help.
Last edited by Pippin on Fri Apr 17, 2020 2:22 pm, edited 1 time in total.
Reason: Formatting

Post Reply