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

DNS API for Exoscale Deprecated #5165

Open
FMorsbach opened this issue Jun 3, 2024 · 2 comments
Open

DNS API for Exoscale Deprecated #5165

FMorsbach opened this issue Jun 3, 2024 · 2 comments

Comments

@FMorsbach
Copy link

The DNS API mode for Exoscale does not work anymore, as by 1st May 2024 they deprecated their v1 of their API (ref: Deprecation Notice)

Error log

# acme.sh --renew-all
[Mon Jun  3 11:33:06 AM CEST 2024] Renew: 'XXX'
[Mon Jun  3 11:33:07 AM CEST 2024] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Mon Jun  3 11:33:07 AM CEST 2024] Single domain='XXX'
[Mon Jun  3 11:33:07 AM CEST 2024] Getting domain auth token for each domain
[Mon Jun  3 11:33:09 AM CEST 2024] Getting webroot for domain='XXX'
[Mon Jun  3 11:33:09 AM CEST 2024] Adding txt value: XXX for domain:  _acme-challenge.XXX
[Mon Jun  3 11:33:09 AM CEST 2024] invalid domain
[Mon Jun  3 11:33:09 AM CEST 2024] Error add txt for domain:_acme-challenge.XXX
[Mon Jun  3 11:33:09 AM CEST 2024] Please check log file for more details: /root/.acme.sh/acme.sh.log
[Mon Jun  3 11:33:10 AM CEST 2024] Error renew XXX.

Additional information

In dnsapi/dns_exoscale.sh the API is set to EXOSCALE_API=https://api.exoscale.com/dns/v1, which by now is deprecated. Needs to be updated to v2 (ref: V2 API Doc). However, I haven't checked if only changing the endpoint is sufficient or whether the API itself also changed.

Copy link

github-actions bot commented Jun 3, 2024

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

@ManuellHo
Copy link

Hey, same issue here. I've upgraded to the latest version, the issue still exists. I think the reason is that the dnsapi file "dns_exoscale.sh" is using the deprecated Exoscale v1 API and therefore no dns-entries can be set and the renewal fails. See Log output:

[Tue Jun 4 12:58:35 CEST 2024] d='xxx'
[Tue Jun 4 12:58:35 CEST 2024] _d_alias='xxx'
[Tue Jun 4 12:58:35 CEST 2024] txtdomain='_acme-challenge.xxx'
[Tue Jun 4 12:58:35 CEST 2024] txt='L_vocY9eiw2-ae644L6tee9e1WD2gEes2pJTFkEKscY'
[Tue Jun 4 12:58:35 CEST 2024] d_api='/opt/acmesh/dnsapi/dns_exoscale.sh'
[Tue Jun 4 12:58:35 CEST 2024] dns_entry='xxx,_acme-challenge.xxx,_acme-challenge.xxx,dns_exoscale,L_vocY9eiw2-ae644L6tee9e1WD2gEes2pJTFkEKscY,/opt/acmesh/dnsapi/dns_exoscale.sh'
[Tue Jun 4 12:58:35 CEST 2024] Found domain api file: /opt/acmesh/dnsapi/dns_exoscale.sh
[Tue Jun 4 12:58:35 CEST 2024] Adding txt value: L_vocY9eiw2-ae644L6tee9e1WD2gEes2pJTFkEKscY for domain: _acme-challenge.xxx
[Tue Jun 4 12:58:35 CEST 2024] First detect the root zone
[Tue Jun 4 12:58:35 CEST 2024] domains
[Tue Jun 4 12:58:35 CEST 2024] GET
[Tue Jun 4 12:58:35 CEST 2024] url='https://api.exoscale.com/dns/v1/domains/domains'
[Tue Jun 4 12:58:35 CEST 2024] timeout=
[Tue Jun 4 12:58:35 CEST 2024] Http already initialized.
[Tue Jun 4 12:58:35 CEST 2024] _CURL='curl --silent --dump-header /opt/acmesh/data/http.header -L --trace-ascii /tmp/tmp.cFs5WcVsWW -g '
[Tue Jun 4 12:58:35 CEST 2024] ret='0'
[Tue Jun 4 12:58:35 CEST 2024] response='{"errorresponse":{"errorcode":403,"cserrorcode":9999,"errortext":"This API is deprecated. See https://changelog.exoscale.com/en#feature54957866 for more informations.","uuidList":[]}}'
[Tue Jun 4 12:58:35 CEST 2024] h='xxx'
[Tue Jun 4 12:58:35 CEST 2024] h='net'
[Tue Jun 4 12:58:35 CEST 2024] h
[Tue Jun 4 12:58:35 CEST 2024] invalid domain
[Tue Jun 4 12:58:35 CEST 2024] Error add txt for domain:_acme-challenge.xxx
[Tue Jun 4 12:58:35 CEST 2024] _on_issue_err

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

2 participants