algo icon indicating copy to clipboard operation
algo copied to clipboard

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

Open xMonologue opened this issue 2 years ago • 2 comments

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?

xMonologue avatar Apr 19 '23 13:04 xMonologue

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.

louy2 avatar Jun 29 '23 12:06 louy2

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

cloudrck avatar Feb 09 '24 00:02 cloudrck