Linux client: D-bus error

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
slyoctopus
OpenVpn Newbie
Posts: 2
Joined: Mon Jul 12, 2021 6:55 pm

Linux client: D-bus error

Post by slyoctopus » Mon Jul 12, 2021 7:45 pm

I don't see a forum section for Linux so I hope it's okay to post this here.

I have an issue where I can connect to the OpenVPN server just fine with Windows but not Ubuntu 20.04. When I connect using Ubuntu, I get this error right after I enter the Google Authenticator code:

Code: Select all

session-start: ** ERROR ** Failed to start new session: Failed calling D-Bus method Connect: Timeout was reached
The following shows in syslog:

Code: Select all

Jul 12 12:05:48 00001000 net.openvpn.v3.log[514823]: {tag:11329375862403044999} Session Manager !! CRITICAL !!: Failed communicating with VPN backend: Failed calling D-Bus method Connect: Timeout was reached
Here are the commands I ran (from https://community.openvpn.net/openvpn/w ... nVPN3Linux ) to install and run:

Code: Select all

sudo apt install apt-transport-https
wget https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub
sudo apt-key add openvpn-repo-pkg-key.pub
sudo wget -O /etc/apt/sources.list.d/openvpn3.list https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-focal.list
sudo apt update
sudo apt install openvpn3
sudo openvpn3 session-start --config client.ovpn
Here is the output of the last command:

Code: Select all

sudo openvpn3 session-start --config client.ovpn
Using configuration profile from file: client.ovpn
Session path: /net/openvpn/v3/sessions/[...]
Auth User name: user
Auth Password: 
Enter Authenticator Code: <code>
session-start: ** ERROR ** Failed to start new session: Failed calling D-Bus method Connect: Timeout was reached
Can anyone help me solve this?

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Linux client: D-bus error

Post by TinCanTech » Tue Jul 13, 2021 2:56 pm

Sorry, we don't have an Openvpn-3 board here .. yet ..
and nobody can decide what the board would be called or where it would go ..

You can try here if you have a github account: https://github.com/OpenVPN/openvpn3-linux/issues

slyoctopus
OpenVpn Newbie
Posts: 2
Joined: Mon Jul 12, 2021 6:55 pm

Re: Linux client: D-bus error

Post by slyoctopus » Wed Jul 14, 2021 4:51 pm

UPDATE: I was able to solve this issue by downgrading openvpn3 from v14_beta to v13_beta.

Code: Select all

openvpn3 version # In my case, the output showed v14_beta
sudo apt remove openvpn3
apt-cache policy openvpn3 # Optional - use this to show the versions available for install
sudo apt install openvpn3=13~beta-1+focal
openvpn3 version # Should now show v13_beta

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Linux client: D-bus error

Post by TinCanTech » Wed Jul 14, 2021 4:59 pm

There were some bugs found in version 14 and there is now a version 15-beta available for testing.

Post Reply