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.55k stars 2.31k forks source link

API v1 Gone b'Sorry, all newly created accounts are forbidden from using API v1 #14607

Open xMonologue opened 1 year ago

xMonologue commented 1 year ago

hello! I have no ideas how github works but I followd someordinarygamer's video, I use Vultr to setup my vpn, for whatever reasons I get this error

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Reached API retries limit 5 for URL https://api.vultr.com/v1/firewall/group_list, method GET with data None. Returned 503, with body: HTTP Error 503: API v1 Gone b'Sorry, all newly created accounts are forbidden from using API v1, all other accounts are able to use this deprecated API until June 30, 2023 at which point Vultr API v1 will be sunset. Please use API v2.'", "vultr_api": {"api_account": "default", "api_endpoint": "https://api.vultr.com", "api_retries": 5, "api_retry_max_delay": 12, "api_timeout": 60}, "vultr_firewall_group": {}}

Full error:


fatal: [localhost]: FAILED! => {"changed": false, "msg": "Reached API retries limit 5 for URL https://api.vultr.com/v1/firewall/group_list, method GET with data None. Returned 503, with body: HTTP Error 503: API v1 Gone b'Sorry, all newly created accounts are forbidden from using API v1, all other accounts are able to use this deprecated API until June 30, 2023 at which point Vultr API v1 will be sunset. Please use API v2.'", "vultr_api": {"api_account": "default", "api_endpoint": "https://api.vultr.com", "api_retries": 5, "api_retry_max_delay": 12, "api_timeout": 60}, "vultr_firewall_group": {}}

TASK [include_tasks] ************************************************************************************************************************************************************
included: /home/fiction5348/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=1    unreachable=0    failed=1    skipped=2    rescued=1    ignored=0   

(.env) fiction5348@vultr:~/algo$ ```

I have checked this post right here and it said it was patched, I am confused 
https://github.com/trailofbits/algo/issues/14580

I checked the previous post and this issue was fixed, I am so confused why I cannot link my api key to my vpn servers, what im I doing wrong exactyl? How do I fix it?
louy2 commented 1 year ago

Vultr has deprecated their API v1, so algo has stopped working for new accounts on Vultr, and will stop working for old accounts on Jun 30 too. I don't know if the Vultr adapter algo relies on will update to API v2.

cloudrck commented 5 months ago

I have checked this post right here and it said it was patched, I am confused

It has not been patched yet, there is an open Pull Request to fix it but it has not been merged yet. Still waiting for review