Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"pypia -i" fails with error message "needs an internet connection" #48

Open
gandru2 opened this issue Feb 8, 2022 · 0 comments
Open

Comments

@gandru2
Copy link

gandru2 commented Feb 8, 2022

Hi,

Description

Trying to use pypia on ubuntu. Download does work but pypia -i command fails
PIA VPN configurations were not able to be downloaded.This script needs an internet connection to be able to fetch them automatically. Exiting.
whereas i have an internet connection up and working

$ ping google.fr
PING google.fr (142.250.201.163) 56(84) bytes of data.
64 bytes from 142.250.201.163: icmp_seq=1 ttl=116 time=30.0 ms

Steps

  • install pypia : sucess
  • setup pypia : fail

Distribution

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"

Traces

$ id
uid=0(root) gid=0(root) groups=0(root)

$ pip install pypia
Collecting pypia
  Downloading pypia-0.3.7.tar.gz (21 kB)
Building wheels for collected packages: pypia
  Building wheel for pypia (setup.py) ... done
  Created wheel for pypia: filename=pypia-0.3.7-py3-none-any.whl size=19642 sha256=99f25d6c7b91c360f80e18893fcf567ba684a6bb8cc3f5fd08d0760ce8f25fff
  Stored in directory: /root/.cache/pip/wheels/ea/5c/dd/85ad8b94b9c2c51c4a800952b25df1a663d0d71d76257d1b6a
Successfully built pypia
Installing collected packages: pypia
Successfully installed pypia-0.3.7

$ pypia -i
Your distro appears to be UBUNTU.
Installing network-manager-openvpn. OK? (y/n): y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
network-manager-openvpn is already the newest version (1.8.12-1).
The following packages were automatically installed and are no longer required:
  ca-certificates-mono cli-common libc-ares2 libchromaprint-tools libdiscid0 libgdiplus
  libmono-accessibility4.0-cil libmono-btls-interface4.0-cil libmono-corlib4.5-cil libmono-i18n-west4.0-cil
  libmono-i18n4.0-cil libmono-posix4.0-cil libmono-security4.0-cil libmono-system-configuration4.0-cil
  libmono-system-core4.0-cil libmono-system-data4.0-cil libmono-system-drawing4.0-cil
  libmono-system-enterpriseservices4.0-cil libmono-system-numerics4.0-cil
  libmono-system-runtime-serialization-formatters-soap4.0-cil libmono-system-security4.0-cil
  libmono-system-transactions4.0-cil libmono-system-windows-forms4.0-cil libmono-system-xml4.0-cil
  libmono-system4.0-cil libmono-webbrowser4.0-cil libqt5multimedia5-plugins libqt5multimediagsttools5
  libsmi2ldbl libspandsp2 libwireshark-data libwireshark13 libwiretap10 libwsutil11 mono-4.0-gac mono-gac
  mono-runtime mono-runtime-common mono-runtime-sgen python3-libdiscid python3-mutagen wireshark-common
  wireshark-qt xsel
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
Installing curl. OK? (y/n): y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
curl is already the newest version (7.68.0-1ubuntu2.7).
The following packages were automatically installed and are no longer required:
  ca-certificates-mono cli-common libc-ares2 libchromaprint-tools libdiscid0 libgdiplus
  libmono-accessibility4.0-cil libmono-btls-interface4.0-cil libmono-corlib4.5-cil libmono-i18n-west4.0-cil
  libmono-i18n4.0-cil libmono-posix4.0-cil libmono-security4.0-cil libmono-system-configuration4.0-cil
  libmono-system-core4.0-cil libmono-system-data4.0-cil libmono-system-drawing4.0-cil
  libmono-system-enterpriseservices4.0-cil libmono-system-numerics4.0-cil
  libmono-system-runtime-serialization-formatters-soap4.0-cil libmono-system-security4.0-cil
  libmono-system-transactions4.0-cil libmono-system-windows-forms4.0-cil libmono-system-xml4.0-cil
  libmono-system4.0-cil libmono-webbrowser4.0-cil libqt5multimedia5-plugins libqt5multimediagsttools5
  libsmi2ldbl libspandsp2 libwireshark-data libwireshark13 libwiretap10 libwsutil11 mono-4.0-gac mono-gac
  mono-runtime mono-runtime-common mono-runtime-sgen python3-libdiscid python3-mutagen wireshark-common
  wireshark-qt xsel
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.

WARNING: There may have been an issue with certificate verification to the PIA server info page. Trying to bypass cert check that python performs since PEP 476.


PIA VPN configurations were not able to be downloaded.This script needs an internet connection to be able to fetch them automatically. Exiting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant