Jump to content


Photo

Alternative AirVPN client with provider-independent double-hop support (GNU/Linux)

doublehop client python Linux openvpn firewall airvpn

  • Please log in to reply
178 replies to this topic

#161 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 209 posts

Posted 17 December 2018 - 07:38 PM

1) your procedure to import the key doesn't work

 

I'll look into it, I don't quite understand yet why Qomui would import the servers but not the keys - the download should fail altogether in that case. But that's why Qomui can't connect to any OpenVPN server. Do the respective directories and files such as '/usr/share/qomui/certs/ca.crt' actually exist on your machine?

 

2) I override that, and install ┬źnew┬╗ .deb ,and I get new dependencies !!!!! (cgroup-tools, cgroupfs-mount, and libcgroup1) For THE SAME VERSION !!!!! How iS  that possible ! The progamme 5 minutes earlier worked without those dependencies !

 

Those dependencies are optional - they are only needed if you want to you use "bypass". But depending on whether you are installing from the deb directly or adding the repository via apt recommended dependencies are automatically installed or not.

 

I think I'll stay with eddie for a while, maybe ...

 

I'm sorry that Qomui doesn't work for you (yet).



#162 pjnsmb

pjnsmb

    Advanced Member

  • Members2
  • PipPipPip
  • 30 posts

Posted 18 December 2018 - 06:31 AM

 

 

 

@pjnsmb: what distribution are you using? Could you try using the DEB directly, i.e. install via gdebi?

 

 

@corrado : I am using siduction -debian unstable and I have tried both methods without success and the same error message.  


regards

pjnsmb


#163 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 209 posts

Posted 22 December 2018 - 12:16 PM

@corrado : I am using siduction -debian unstable and I have tried both methods without success and the same error message.

 

Sorry for the late answer: You could try the following:

sudo apt purge qomui 
sudo apt clean
sudo apt update
sudo apt install qomui

 

Alternative, download the release from github directly, install all dependencies manually and run:

 

python3 setup.py install qomui-0.8.0.tar.gz



#164 pjnsmb

pjnsmb

    Advanced Member

  • Members2
  • PipPipPip
  • 30 posts

Posted 24 December 2018 - 07:56 AM

@corrado : I am using siduction -debian unstable and I have tried both methods without success and the same error message.

 

Sorry for the late answer: You could try the following:

sudo apt purge qomui 
sudo apt clean
sudo apt update
sudo apt install qomui

 

Alternative, download the release from github directly, install all dependencies manually and run:

 

>python3 setup.py install qomui-0.8.0.tar.gz

 

 

 

 

 

Sorry same result as before


regards

pjnsmb


#165 M3AtAirVPN

M3AtAirVPN

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 26 December 2018 - 08:11 PM

I can't add airvpn servers, log:

2018-12-26 20:59:55,374 - INFO - Qomui version 0.8.0

2018-12-26 20:59:55,375 - WARNING - [Errno 2] No existe el fichero o el directorio: '/usr/share/qomui/config.json': Could not open /usr/share/qomui/config.json

2018-12-26 20:59:55,376 - WARNING - [Errno 2] No existe el fichero o el directorio: '/home/luser/.qomui/protocol.json': Could not open /home/luser/.qomui/protocol.json

2018-12-26 20:59:55,376 - WARNING - [Errno 2] No existe el fichero o el directorio: '/home/luser/.qomui/bypass_apps.json': Could not open /home/luser/.qomui/bypass_apps.json

2018-12-26 20:59:55,377 - WARNING - [Errno 2] No existe el fichero o el directorio: '/home/luser/.qomui/profile.json': Could not open /home/luser/.qomui/profile.json

2018-12-26 20:59:55,377 - INFO - Loading default configuration

2018-12-26 20:59:55,378 - INFO - Total number of server: 0

2018-12-26 20:59:55,421 - ERROR - Could not identify default gateway for ipv6 - no network connectivity

2018-12-26 20:59:55,422 - INFO - Detected new network connection

2018-12-26 20:59:55,452 - INFO - Deleted cgroup

2018-12-26 21:00:06,688 - INFO - iptables: adding exception for DNS requests

2018-12-26 21:00:09,734 - ERROR - Command '['dig', '+time=2', '+tries=1', 'www.airvpn.org', '+short']' returned non-zero exit status 9: Could not resolve www.airvpn.org

2018-12-26 21:00:09,950 - INFO - Airvpn: Request failed - aborting

2018-12-26 21:00:24,375 - INFO - iptables: adding exception for DNS requests

2018-12-26 21:00:27,398 - ERROR - Command '['dig', '+time=2', '+tries=1', 'www.airvpn.org', '+short']' returned non-zero exit status 9: Could not resolve www.airvpn.org

2018-12-26 21:00:28,163 - INFO - Airvpn: Request failed - aborting

 

Please help, I want to try double hop.



#166 kah0922

kah0922

    Member

  • Members2
  • PipPip
  • 23 posts

Posted 30 December 2018 - 06:56 AM

I can't add airvpn servers, log:

2018-12-26 20:59:55,374 - INFO - Qomui version 0.8.0

2018-12-26 20:59:55,375 - WARNING - [Errno 2] No existe el fichero o el directorio: '/usr/share/qomui/config.json': Could not open /usr/share/qomui/config.json

2018-12-26 20:59:55,376 - WARNING - [Errno 2] No existe el fichero o el directorio: '/home/luser/.qomui/protocol.json': Could not open /home/luser/.qomui/protocol.json

2018-12-26 20:59:55,376 - WARNING - [Errno 2] No existe el fichero o el directorio: '/home/luser/.qomui/bypass_apps.json': Could not open /home/luser/.qomui/bypass_apps.json

2018-12-26 20:59:55,377 - WARNING - [Errno 2] No existe el fichero o el directorio: '/home/luser/.qomui/profile.json': Could not open /home/luser/.qomui/profile.json

2018-12-26 20:59:55,377 - INFO - Loading default configuration

2018-12-26 20:59:55,378 - INFO - Total number of server: 0

2018-12-26 20:59:55,421 - ERROR - Could not identify default gateway for ipv6 - no network connectivity

2018-12-26 20:59:55,422 - INFO - Detected new network connection

2018-12-26 20:59:55,452 - INFO - Deleted cgroup

2018-12-26 21:00:06,688 - INFO - iptables: adding exception for DNS requests

2018-12-26 21:00:09,734 - ERROR - Command '['dig', '+time=2', '+tries=1', 'www.airvpn.org', '+short']' returned non-zero exit status 9: Could not resolve www.airvpn.org

2018-12-26 21:00:09,950 - INFO - Airvpn: Request failed - aborting

2018-12-26 21:00:24,375 - INFO - iptables: adding exception for DNS requests

2018-12-26 21:00:27,398 - ERROR - Command '['dig', '+time=2', '+tries=1', 'www.airvpn.org', '+short']' returned non-zero exit status 9: Could not resolve www.airvpn.org

2018-12-26 21:00:28,163 - INFO - Airvpn: Request failed - aborting

 

Please help, I want to try double hop.

I am getting the same error as well on OpenSUSE Tumbleweed.



#167 greerd

greerd

    Advanced Member

  • Members2
  • PipPipPip
  • 53 posts

Posted 30 December 2018 - 01:01 PM

Hi corrado,

 

Qomui 0.8 will not download airvpn's data, system notification says that perhaps I'm using the wrong credentials and the log shows ' INFO - OpenVPN:Options error: --tls-crypt fails with '/usr/share/qomui/certs/tls-crypt.key': No such file or directory (errno=2) ' which confirms that the keys aren't downloading.

 

I've retried this multiple times and am sure my credentials are correct. Also pia downloaded and works as expected.

 

This is on Mint 19.1 cinnamon after purging, cleaning, updating and reinstalling Qomui 0.8

 

Seasons Greetings!

 

 



#168 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 209 posts

Posted 30 December 2018 - 01:55 PM

Sorry same result as before

 

I'll install Debian Siduction and try to find out what's going wrong.

 

@kah0922&M3AtAirvpn&greerd: There is an issue with Airvpn auto-download at the moment, the new implementation had some hardcoded parameters that are simply not flexible enough (unfortunately I only have one account to test with). Thanks for letting me know & expect an update very soon!



#169 Staff

Staff

    Advanced Member

  • Staff
  • PipPipPip
  • 7757 posts

Posted 30 December 2018 - 02:20 PM

Sorry same result as before

 

I'll install Debian Siduction and try to find out what's going wrong.

 

@kah0922&M3AtAirvpn&greerd: There is an issue with Airvpn auto-download at the moment, the new implementation had some hardcoded parameters that are simply not flexible enough (unfortunately I only have one account to test with). Thanks for letting me know & expect an update very soon!

 

Hello!

 

Please open a ticket and ask for some additional test account and other info, our support team will be glad to help.

 

Kind regards



#170 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 209 posts

Posted 05 January 2019 - 11:37 PM

Qomui 0.8.1 is out and it should fix the Airvpn auto-download feature. Here's the full changelog:

 

- [change] option to restart qomui-service from gui if it crashes
- [change] added exceptions for all DBus calls
- [change] improved support for non-systemd distributions
- [change] detecting and closing simultaneously running instances
- [bugfix] Airvpn auto-download fixed

 

Please open a ticket and ask for some additional test account and other info, our support team will be glad to help.

 

Thanks, a lot! I'll do that, this would really help :-)

 

@pjnsmb: I did a fresh install of Debian Siduction in a VM and could install Qomui without any issues. Only thing to be aware of: You have to choose a release that matches your Python version. The latest Ubuntu package worked fine for me. But this wouldn't explain the dpkg error you are getting. Maybe something's wrong with your dpkg configuration.



#171 win8

win8

    Advanced Member

  • Members2
  • PipPipPip
  • 68 posts

Posted 13 January 2019 - 03:22 AM

Linux Mint 18.3 Mate doesn't work either v 0.74 nor 0.81
 
$ qomui-gui
Traceback (most recent call last):
  File "/usr/bin/qomui-gui", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2927, in <module>
    @_call_aside
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2913, in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 635, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 943, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 829, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'qomui==0.7.4' distribution was not found and is required by the application
 
 
If i install 0.74 first i receive above on cmd prompt.
If i install 0.81 over it, i receive complaint about qomuui service not found.
If i install 0.81 directly i receive on cmd prompt similiar to 0.74.
 
IN ESSENCE your app doesn't work on my box :(


#172 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 209 posts

Posted 13 January 2019 - 09:15 AM

@win8: Since version 0.7.4 I have switched to OpenSuse Build Service to publish packages. Depending on the distribution, this may conflict with the previously released deb-packages. In essence, a clean upgrade may not be possible. To resolve this, please remove Qomui entirely first:

sudo apt purge qomui

Afterwards, you should be able to perform a clean installation of Qomui by using the deb-package or adding the repository. Linux Mint 18.3 is based on Ubuntu 16.04 to my knowledge, so make sure you choose the correct package.



#173 win8

win8

    Advanced Member

  • Members2
  • PipPipPip
  • 68 posts

Posted 13 January 2019 - 12:59 PM

1. How hard can it be to download the right distri pack? Here: Packages for xUbuntu 16.04

2. My system was ofc clean. Nevertheless i did ...

$ sudo apt purge qomui

[sudo] password xxxxxxxxxxxx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package qomui
 

3, Tried to run your prog from console

 

 $ qomui-gui
QLayout: Attempting to add QLayout "" to QomuiGui "Form", which already has a layout
Traceback (most recent call last):
  File "/usr/bin/qomui-gui", line 9, in <module>
    load_entry_point('qomui==0.8.1', 'gui_scripts', 'qomui-gui')()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 2743, in main
    ex = QomuiGui()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 147, in __init__
    self.systemtray()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1112, in systemtray
    self.pop_tray_menu()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1123, in pop_tray_menu
    self.visibility_action = QtWidgets.QAction()
TypeError: arguments did not match any overloaded call:
  QAction(QObject): not enough arguments
  QAction(str, QObject): not enough arguments
  QAction(QIcon, str, QObject): not enough arguments
 
Doesn't work ...
 
 
4. Clicking qomui icon on menu
For a split second a window starts and disappears
 
Doesn't work ...


#174 win8

win8

    Advanced Member

  • Members2
  • PipPipPip
  • 68 posts

Posted 13 January 2019 - 01:07 PM

Next I tried Install method II (For xUbuntu 16.04 run the following:)

 

1. purge again

2. install

 

3. result:

 

 qomui-gui

QLayout: Attempting to add QLayout "" to QomuiGui "Form", which already has a layout
Traceback (most recent call last):
  File "/usr/bin/qomui-gui", line 9, in <module>
    load_entry_point('qomui==0.8.1', 'gui_scripts', 'qomui-gui')()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 2743, in main
    ex = QomuiGui()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 147, in __init__
    self.systemtray()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1112, in systemtray
    self.pop_tray_menu()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1123, in pop_tray_menu
    self.visibility_action = QtWidgets.QAction()
TypeError: arguments did not match any overloaded call:
  QAction(QObject): not enough arguments
  QAction(str, QObject): not enough arguments
  QAction(QIcon, str, QObject): not enough arguments
 
Doesn't work!
 
 
PS: On 18.04 I had 0.74 running ... go figure :)


#175 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 209 posts

Posted 14 January 2019 - 03:47 PM

@win8: Can you post the output of:

 

pip list | grep PyQt5

 



#176 win8

win8

    Advanced Member

  • Members2
  • PipPipPip
  • 68 posts

Posted 15 January 2019 - 01:18 AM

$ qomui-gui
QLayout: Attempting to add QLayout "" to QomuiGui "Form", which already has a layout
Traceback (most recent call last):
  File "/usr/bin/qomui-gui", line 11, in <module>
    load_entry_point('qomui==0.8.1', 'gui_scripts', 'qomui-gui')()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 2743, in main
    ex = QomuiGui()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 147, in __init__
    self.systemtray()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1112, in systemtray
    self.pop_tray_menu()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1123, in pop_tray_menu
    self.visibility_action = QtWidgets.QAction()
TypeError: arguments did not match any overloaded call:
  QAction(QObject): not enough arguments
  QAction(str, QObject): not enough arguments
  QAction(QIcon, str, QObject): not enough arguments
 
$ pip list | grep PyQt5
/home/mint/.local/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py:83: RequestsDependencyWarning: Old version of cryptography ([1, 2, 3]) may cause slowdown.
  warnings.warn(warning, RequestsDependencyWarning)


#177 greerd

greerd

    Advanced Member

  • Members2
  • PipPipPip
  • 53 posts

Posted 15 January 2019 - 01:33 AM

I've run into the same (or similar) in that when I uninstalled qomui, the  /usr/lib/python3.5/dist-packages/qomui/ directory was still there. Deleting the  /usr/lib/python3.5/dist-packages/qomu directory would work for me. The fresh install uses python3 instead I think or at least I have a /usr/lib/python3/dist-packages/qomui directory. 



#178 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 209 posts

Posted 15 January 2019 - 08:42 AM

 $ qomui-gui
QLayout: Attempting to add QLayout "" to QomuiGui "Form", which already has a layout
Traceback (most recent call last):
  File "/usr/bin/qomui-gui", line 9, in <module>
    load_entry_point('qomui==0.8.1', 'gui_scripts', 'qomui-gui')()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 2743, in main
    ex = QomuiGui()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 147, in __init__
    self.systemtray()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1112, in systemtray
    self.pop_tray_menu()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1123, in pop_tray_menu
    self.visibility_action = QtWidgets.QAction()
TypeError: arguments did not match any overloaded call:
  QAction(QObject): not enough arguments
  QAction(str, QObject): not enough arguments
  QAction(QIcon, str, QObject): not enough arguments

 

@win8: This error has nothing to do with a corrupt or incomplete installation. It's rather an issue with an older version of PyQt5 I suspect. I have an idea how to fix that, but I need to do some testing. In any case, this will require an update. I'll get back to you soon. Thanks a lot for sharing this with me!



#179 win8

win8

    Advanced Member

  • Members2
  • PipPipPip
  • 68 posts

Posted 15 January 2019 - 11:47 PM

I've run into the same (or similar) in that when I uninstalled qomui, the  /usr/lib/python3.5/dist-packages/qomui/ directory was still there. Deleting the  /usr/lib/python3.5/dist-packages/qomu directory would work for me. The fresh install uses python3 instead I think or at least I have a /usr/lib/python3/dist-packages/qomui directory. 

 

I just did the purge of qomui and looked. Sorry, i have no residual after  /usr/lib/python3.5/  with the names you mentioned

 

 

 

 

 $ qomui-gui
QLayout: Attempting to add QLayout "" to QomuiGui "Form", which already has a layout
Traceback (most recent call last):
  File "/usr/bin/qomui-gui", line 9, in <module>
    load_entry_point('qomui==0.8.1', 'gui_scripts', 'qomui-gui')()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 2743, in main
    ex = QomuiGui()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 147, in __init__
    self.systemtray()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1112, in systemtray
    self.pop_tray_menu()
  File "/usr/lib/python3.5/dist-packages/qomui/qomui_gui.py", line 1123, in pop_tray_menu
    self.visibility_action = QtWidgets.QAction()
TypeError: arguments did not match any overloaded call:
  QAction(QObject): not enough arguments
  QAction(str, QObject): not enough arguments
  QAction(QIcon, str, QObject): not enough arguments

 

@win8: This error has nothing to do with a corrupt or incomplete installation. It's rather an issue with an older version of PyQt5 I suspect. I have an idea how to fix that, but I need to do some testing. In any case, this will require an update. I'll get back to you soon. Thanks a lot for sharing this with me!

 

I'm glad to be of any help!







1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Servers online. Online Sessions: 13918 - BW: 44477 Mbit/sYour IP: 54.205.211.87Guest Access.