plugins icon indicating copy to clipboard operation
plugins copied to clipboard

ACME-Client: Can not find dns api hook for: dns_transip

Open mikelock opened this issue 1 year ago • 1 comments

Important notices Before you add a new report, we ask you kindly to acknowledge the following:

  • [X] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
  • [X] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
  • [X] The title contains the plugin to which this issue belongs

Describe the bug The problem is the acme client in combination with TransIP cannot add/edit the TXT data of my subdomain. I have to copy and paste the command in the terminal with --debug, and cp the TXT data manually. The message that seems to indicate the problem is 'Can not find dns api hook for: dns_transip'. This doesn't show when I add the TXT data manually.

Not sure whether this has ever worked in previous versions, this is my first try.

Relevant log files Acmeclient latest.log:

[Tue Sep  3 21:37:58 CEST 2024] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[Tue Sep  3 21:38:07 CEST 2024] Using CA: https://acme-v02.api.letsencrypt.org/directory
[Tue Sep  3 21:38:07 CEST 2024] Single domain='x.xxx.nl'
[Tue Sep  3 21:38:07 CEST 2024] Getting domain auth token for each domain
[Tue Sep  3 21:38:09 CEST 2024] Getting webroot for domain='x.xxx.nl'
[Tue Sep  3 21:38:09 CEST 2024] Can not find dns api hook for: dns_transip
[Tue Sep  3 21:38:09 CEST 2024] You need to add the txt record manually.
[Tue Sep  3 21:38:09 CEST 2024] Add the following TXT record:
[Tue Sep  3 21:38:09 CEST 2024] Domain: '_acme-challenge.x.xxx.nl'
[Tue Sep  3 21:38:09 CEST 2024] TXT value: 'xxxxxxxxxxxxxxxxxx'
[Tue Sep  3 21:38:09 CEST 2024] Please be aware that you prepend _acme-challenge. before your domain
[Tue Sep  3 21:38:09 CEST 2024] so the resulting subdomain will be: _acme-challenge.x.xxx.nl
[Tue Sep  3 21:38:09 CEST 2024] Please add the TXT records to the domains, and re-run with --renew.
[Tue Sep  3 21:38:09 CEST 2024] Please add '--debug' or '--log' to check more details.
[Tue Sep  3 21:38:09 CEST 2024] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh

Environment Software version used and hardware type if relevant. e.g.:

OPNsense 24.7.3_1-amd64 Intel(R) Celeron(R) J4125 CPU @ 2.00GHz (4 cores, 4 threads) Network Intel® I225-V

mikelock avatar Sep 03 '24 20:09 mikelock

Cannot find dns api hook for:

Although I have not been able to reproduce this, the following patch may fix this issue:

opnsense-patch -c plugins d1ef1f93ce318926c14e14291a50c09ac6421f15

Please apply the patch and report whether or not this fixes the infamous Cannot find dns api hook for: error message.

If this does not fix this error, please use the Acme Client GUI to change Log Level to debug 3 and try again. Afterwards please provide the resulting ACME Log.

fraenki avatar Sep 30 '24 13:09 fraenki

This issue has been automatically timed-out (after 180 days of inactivity).

For more information about the policies for this repository, please read https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md for further details.

If someone wants to step up and work on this issue, just let us know, so we can reopen the issue and assign an owner to it.

OPNsense-bot avatar Mar 02 '25 20:03 OPNsense-bot