You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding txt value: xxx
Adding record
Added, OK
Let's check each DNS record now. Sleep 20 seconds first.
Checking example.com for _acme-challenge.example.com
Not valid yet, let's wait 10 seconds and check next one.
Let's wait 10 seconds and check again.
Checking example.com for _acme-challenge.example.com
Not valid yet, let's wait 10 seconds and check next one.
...
I can see in debug output that there is a timeout with every attempt when requesting cloudflare dns:
Detect dns server first.
Use cloudflare doh server
GET
url='https://cloudflare-dns.com/dns-query?name=_acme-challenge.api.example.com&type=TXT'
timeout=
_CURL='curl -L --silent --dump-header /home/root/.acme.sh/http.header -g '
ret='0'
Not valid yet, let's wait 10 seconds and check next one.
The request https://cloudflare-dns.com/dns-query?name=_acme-challenge.api.example.com&type=TXT returns error 400
If this is a bug report, please upgrade to the latest code and try again:
如果有 bug, 请先更新到最新版试试: acme.sh --upgrade
please also provide the log with --debug 2.
同时请提供调试输出 --debug 2
see: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
Without --debug 2 log, your issue will NEVER get replied.
没有调试输出, 你的 issue 不会得到任何解答.
I experienced similar issue recently. But actually the root cause was I implemented DoH blocking on my home network. My DoH blocking was done through PiHole DoH block list and Edge Router DoH server IP blocking. Whitelist all acme.sh clients solved the issue.
unmec
changed the title
Unable to issue the cert with Cloudflare API. Possiblely Cloudflare DNS issue
Unable to issue the cert with Cloudflare API. Possibly Cloudflare DNS issue
Apr 8, 2021
Problem: _acme-challenge.example.com never become valid, endless check loop every 10 seconds.
Cloudflare global key => OK
export CF_Key => OK
export CF_Email => OK
I can see in debug output that there is a timeout with every attempt when requesting cloudflare dns:
The request
https://cloudflare-dns.com/dns-query?name=_acme-challenge.api.example.com&type=TXT
returns error 400According to this page: https://developers.cloudflare.com/1.1.1.1/dns-over-https/request-structure/, 400 means "DNS query not specified or too small."
Maybe add param to let user choose a diff dns server / have some automatic fallback mechanism?
Thanks
The text was updated successfully, but these errors were encountered: