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

Error msg "The API key is not speicied. Please refer to the documentation." #1671

Closed takkaneko closed 4 years ago

takkaneko commented 4 years ago

Algo running on: Ubuntu 18.04.3 LTS (Virtualized: kvm) Created from git clone. Last commit: b66c9f5 Update CHANGELOG.md Python 3.6.9 Runtime variables: algo_provider "vultr" algo_ondemand_cellular "False" algo_ondemand_wifi "False" algo_ondemand_wifi_exclude "X251bGw=" algo_dns_adblocking "True" algo_ssh_tunneling "False" wireguard_enabled "True" dns_encryption "True"

The output at the end of the ansible playbook run is the following:

================ TASK [cloud-vultr : Upload the SSH key] ***** fatal: [localhost]: FAILED! => {"changed": false, "msg": "The API key is not speicied. Please refer to the documentation."} included: /home/takumi/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=33 changed=5 unreachable=0 failed=1 skipped=1 rescued=1 ignored=0

davidemyers commented 4 years ago

Clearly the problem is that you didn't speicie your API key. You must always speicie the key. :smiley:

But seriously, have you tried recreating your vultr.ini file (per the documentation)? Maybe there's a typo in the file.