trailofbits / algo

Set up a personal VPN in the cloud
https://blog.trailofbits.com/2016/12/12/meet-algo-the-vpn-that-works/
GNU Affero General Public License v3.0
28.98k stars 2.32k forks source link

Issue after running ./algo #1818

Closed Hababala closed 4 years ago

Hababala commented 4 years ago

Hi all,

I am very new to all this.

I am running ./algo and I get following error output (tried couple times now). Am I doing something wrong?

Hid ipv4 with xxxxx

TASK [Wait 600 seconds for target connection to become reachable/usable] **** failed: [localhost -> xxxxx] (item=xxxxx) => {"ansible_loopvar": "item", "changed": false, "elapsed": 778, "item": "xxxxx", "msg": "timed out waiting for ping module test success: Failed to connect to the host via ssh: Warning: Permanently added 'xxxxx_' (ECDSA) to the list of known hosts.\r\nroot@167.71.143.154: Permission denied (publickey,password)."} included: /root/algo/playbooks/rescue.yml for localhost

TASK [debug] **** ok: [localhost] => { "fail_hint": [ "Sorry, but something went wrong!", "Please check the troubleshooting guide.", "https://trailofbits.github.io/algo/troubleshooting.html" ] }

TASK [Fail the installation] **** fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed as requested from task"}

PLAY RECAP ** localhost : ok=31 changed=2 unreachable=0 failed=1 skipped=11 rescued=1 ignored=0

davidemyers commented 4 years ago

Please post the block of output immediately below the line which says:

--> Please include the following block of text when reporting issues:
Hababala commented 4 years ago

Algo running on: Ubuntu 20.04 LTS (Virtualized: kvm) Created from git clone. Last commit: 3f86ae0 Few cosmetic change to readme (#1813) Python 3.8.2 Runtime variables: algo_provider "local" algo_ondemand_cellular "False" algo_ondemand_wifi "False" algo_ondemand_wifi_exclude "X251bGw=" algo_dns_adblocking "False" algo_ssh_tunneling "True" wireguard_enabled "True" dns_encryption "True"

TASK [Display the invocation environment] *** changed: [localhost -> localhost]

TASK [Install the requirements] ***** ok: [localhost -> localhost] [local : pause] Enter the IP address of your server: (or use localhost for local installation): [localhost] : xxxxx^M TASK [local : pause] **** ok: [localhost]

TASK [local : Set the facts] **** ok: [localhost] [local : pause] What user should we use to login on the server? (note: passwordless login required, or ignore if you're deploying to localhost) [root] : ^M TASK [local : pause] **** ok: [localhost]

TASK [local : Set the facts] **** ok: [localhost] [local : pause] Enter the public IP address or domain name of your server: (IMPORTANT! This is used to verify the certificate) [xxxxx] :

TASK [local : pause] **** ok: [localhost]

TASK [local : Set the facts] **** ok: [localhost]

TASK [Set subjectAltName as a fact] ***** ok: [localhost]

TASK [Add the server to an inventory group] ***** changed: [localhost]

TASK [Wait until SSH becomes ready...] ** ok: [localhost]

TASK [debug] **** ok: [localhost] => { "IP_subject_alt_name": "xxxxx" }

TASK [Wait 600 seconds for target connection to become reachable/usable] **** failed: [localhost -> xxxxx] (item=xxxxx) => {"ansible_loop_var": "item", "changed": false, "elapsed": 778, "item": "xxxxx", "msg": "timed out waiting for ping module test success: Failed to connect to the host via ssh: Warning: Permanently added 'xxxxx' (ECDSA) to the list of known hosts.\r\nroot@xxxxx: Permission denied (publickey,password)."} included: /root/algo/playbooks/rescue.yml for localhost

TASK [debug] **** ok: [localhost] => { "fail_hint": [ "Sorry, but something went wrong!", "Please check the troubleshooting guide.", "https://trailofbits.github.io/algo/troubleshooting.html" ] }

TASK [Fail the installation] **** fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed as requested from task"}

PLAY RECAP ** localhost : ok=31 changed=2 unreachable=0 failed=1 skipped=11 rescued=1 ignored=0

(.env) root@demovpnserver:~/algo# ^C (.env) root@demovpnserver:~/algo# ^C (.env) root@demovpnserver:~/algo#

davidemyers commented 4 years ago

Are you trying to configure demovpnserver as your VPN server? If so, don't enter an IP address at the prompt:

Enter the IP address of your server: (or use localhost for local installation):
Hababala commented 4 years ago

Thanks I solved the issue like this!