Runtime Error - Simple setup (or so I thought)
Posted: Tue May 18, 2021 9:46 am
Windows 10 machine was beyond easy. Pasted the URL (IPv4 minus the "admin). And downloaded the desktop app which in turn pulled down a connection profile.
Ubuntu 20, cloud VM: I followed the instructions to install OpenVPN3 https://community.openvpn.net/openvpn/w ... nVPN3Linux and all seems good.
I tried to download the config file by doing this: https://github.com/OpenVPN/openvpn3-lin ... 3-as.1.rst. I received the following return:
[oconf=]sudo openvpn3-as https://Hidden/
OpenVPN Access Server Username: UserName
OpenVPN Access Server Password: **********
Traceback (most recent call last):
File "/usr/bin/openvpn3-as", line 231, in <module>
cfgobj = cfgmgr.Import(profile_name, profile, False, not opts.impersistent)
File "/usr/lib/python3/dist-packages/openvpn3/ConfigManager.py", line 248, in Import
self.__ping()
File "/usr/lib/python3/dist-packages/openvpn3/ConfigManager.py", line 326, in __ping
raise RuntimeError("Could not establish contact with the Configuration Manager")
RuntimeError: Could not establish contact with the Configuration Manager[/oconf]
I confirmed the credentials I was using are good by logging into the admin portal with them. I tried again adding and removing "admin" from the URL & and I also tried with the same user account I used when installing the client on the Win10 pc.
I've spent a couple of hours just reading.. learned a BUNCH of stuff... but nothing that jumped out at me concerning why I can't download the needed connection profile. I am going to get on the VPN server and try to copy/push the file but I'd really rather not have to go through all the manual Key config and profile config. I THOUGHT this whole setup would take 15 minutes. That was hours ago.
Ubuntu 20, cloud VM: I followed the instructions to install OpenVPN3 https://community.openvpn.net/openvpn/w ... nVPN3Linux and all seems good.
I tried to download the config file by doing this: https://github.com/OpenVPN/openvpn3-lin ... 3-as.1.rst. I received the following return:
[oconf=]sudo openvpn3-as https://Hidden/
OpenVPN Access Server Username: UserName
OpenVPN Access Server Password: **********
Traceback (most recent call last):
File "/usr/bin/openvpn3-as", line 231, in <module>
cfgobj = cfgmgr.Import(profile_name, profile, False, not opts.impersistent)
File "/usr/lib/python3/dist-packages/openvpn3/ConfigManager.py", line 248, in Import
self.__ping()
File "/usr/lib/python3/dist-packages/openvpn3/ConfigManager.py", line 326, in __ping
raise RuntimeError("Could not establish contact with the Configuration Manager")
RuntimeError: Could not establish contact with the Configuration Manager[/oconf]
I confirmed the credentials I was using are good by logging into the admin portal with them. I tried again adding and removing "admin" from the URL & and I also tried with the same user account I used when installing the client on the Win10 pc.
I've spent a couple of hours just reading.. learned a BUNCH of stuff... but nothing that jumped out at me concerning why I can't download the needed connection profile. I am going to get on the VPN server and try to copy/push the file but I'd really rather not have to go through all the manual Key config and profile config. I THOUGHT this whole setup would take 15 minutes. That was hours ago.