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

MIAB DNS script TXT record bug #5258

Open
lifeboy opened this issue Aug 21, 2024 · 1 comment
Open

MIAB DNS script TXT record bug #5258

lifeboy opened this issue Aug 21, 2024 · 1 comment

Comments

@lifeboy
Copy link
Contributor

lifeboy commented Aug 21, 2024

acme.sh version 3.0.8
In reference to this issue, here is the debug log

[Wed Aug 21 11:54:24 SAST 2024] Found domain api file: /usr/local/pkg/acme/dnsapi/dns_miab.sh
[Wed Aug 21 11:54:24 SAST 2024] Adding txt value: GqKThu0MkmqsMJv_j3arMTxZNbjg3Q35RoA9giOZI9o for domain:  _acme-challenge.fw.fast.za.net
[Wed Aug 21 11:54:24 SAST 2024] Using miab challange add
[Wed Aug 21 11:54:24 SAST 2024] fulldomain='_acme-challenge.fw.fast.za.net'
[Wed Aug 21 11:54:24 SAST 2024] txtvalue='GqKThu0MkmqsMJv_j3arMTxZNbjg3Q35RoA9giOZI9o'
[Wed Aug 21 11:54:24 SAST 2024] MIAB_Username='[email protected]'
[Wed Aug 21 11:54:24 SAST 2024] MIAB_Password='mypassword'
[Wed Aug 21 11:54:24 SAST 2024] MIAB_Server='box2.gtahardware.co.za'
[Wed Aug 21 11:54:24 SAST 2024] _passed_domain='_acme-challenge.fw.fast.za.net'
[Wed Aug 21 11:54:24 SAST 2024] _data
[Wed Aug 21 11:54:24 SAST 2024] _api_path='zones'
[Wed Aug 21 11:54:24 SAST 2024] _url='https://box2.gtahardware.co.za/admin/dns/zones'
[Wed Aug 21 11:54:24 SAST 2024] _credentails='cm9sYW5kQGd0YWhhcmR3YXJlLmNvLnphOlJnaWF2Z2YyQA=='
[Wed Aug 21 11:54:24 SAST 2024] _httpmethod='GET'
[Wed Aug 21 11:54:24 SAST 2024] GET
[Wed Aug 21 11:54:24 SAST 2024] url='https://box2.gtahardware.co.za/admin/dns/zones'
[Wed Aug 21 11:54:24 SAST 2024] timeout=
[Wed Aug 21 11:54:24 SAST 2024] Http already initialized.
[Wed Aug 21 11:54:24 SAST 2024] _CURL='curl --silent --dump-header /root/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.hsgLYHFiMB  -g '
[Wed Aug 21 11:54:24 SAST 2024] ret='0'
[Wed Aug 21 11:54:24 SAST 2024] response='[
  "gtahardware.co.za",
  "business.za.org",
  "fast.za.net",
  "giesler.za.net",
  "light-living.co.za"
]'
[Wed Aug 21 11:54:24 SAST 2024] _test_domain='fw.fast.za.net'
[Wed Aug 21 11:54:24 SAST 2024] _test_domain='fast.za.net'
[Wed Aug 21 11:54:24 SAST 2024] _sub_domain='_acme-challenge.fw'
[Wed Aug 21 11:54:24 SAST 2024] _domain='fast.za.net'
[Wed Aug 21 11:54:24 SAST 2024] _data='GqKThu0MkmqsMJv_j3arMTxZNbjg3Q35RoA9giOZI9o'
[Wed Aug 21 11:54:24 SAST 2024] _api_path='custom/_acme-challenge.fw.fast.za.net/txt'
[Wed Aug 21 11:54:24 SAST 2024] _url='https://box2.gtahardware.co.za/admin/dns/custom/_acme-challenge.fw.fast.za.net/txt'
[Wed Aug 21 11:54:24 SAST 2024] _credentails='cm9sYW5kQGd0YWhhcmR3YXJlLmNvLnphOlJnaWF2Z2YyQA=='
[Wed Aug 21 11:54:24 SAST 2024] _httpmethod='POST'
[Wed Aug 21 11:54:24 SAST 2024] POST
[Wed Aug 21 11:54:24 SAST 2024] _post_url='https://box2.gtahardware.co.za/admin/dns/custom/_acme-challenge.fw.fast.za.net/txt'
[Wed Aug 21 11:54:24 SAST 2024] body='GqKThu0MkmqsMJv_j3arMTxZNbjg3Q35RoA9giOZI9o'
[Wed Aug 21 11:54:24 SAST 2024] _postContentType
[Wed Aug 21 11:54:24 SAST 2024] Http already initialized.
[Wed Aug 21 11:54:24 SAST 2024] _CURL='curl --silent --dump-header /root/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.hsgLYHFiMB  -g '
[Wed Aug 21 11:54:24 SAST 2024] _ret='0'
[Wed Aug 21 11:54:24 SAST 2024] response='No value for the record provided.'

As noted in the refenced issue, the body='GqKThu0MkmqsMJv_j3arMTxZNbjg3Q35RoA9giOZI9o' in the log above should be of the format body="value=GqKThu0MkmqsMJv_j3arMTxZNbjg3Q35RoA9giOZI9o&ttl=300" or whatever ttl is suitable (but shorter is better here I believe)

Copy link

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.

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

1 participant