acmesh-official / acme.sh

A pure Unix shell script implementing ACME client protocol
https://acme.sh
GNU General Public License v3.0
39.33k stars 4.97k forks source link

acme.sh don't have dnspod domain_id #2934

Open aabababb opened 4 years ago

aabababb commented 4 years ago

Steps to reproduce

Debug log

acme.sh  --issue .....   --debug 2

[Sat May 16 12:14:52 CST 2020] POST
[Sat May 16 12:14:52 CST 2020] _post_url='https://api.dnspod.com/Domain.Info'
[Sat May 16 12:14:52 CST 2020] body='user_token=10000,59fbdcf366c000000000000000000000&format=json&domain=net'
[Sat May 16 12:14:52 CST 2020] _postContentType
[Sat May 16 12:14:52 CST 2020] Http already initialized.
[Sat May 16 12:14:52 CST 2020] _CURL='curl -L --silent --dump-header /root/.acme.sh/http.header  --trace-ascii /tmp/tmp.lOlIR5gJrl  -g '
[Sat May 16 12:14:52 CST 2020] _ret='0'
[Sat May 16 12:14:52 CST 2020] response='{"status":{"code":"-1","message":"Login fail, please check login info","created_at":"2020-05-16 04:14:52"}}'
[Sat May 16 12:14:52 CST 2020] invalid domain
[Sat May 16 12:14:52 CST 2020] Error add txt for domain:_acme-challenge.test.net
[Sat May 16 12:14:52 CST 2020] _on_issue_err
[Sat May 16 12:14:52 CST 2020] Please add '--debug' or '--log' to check more details.
[Sat May 16 12:14:52 CST 2020] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh

this curl work. curl -X POST https://api.dnspod.com/Domain.Info -d 'user_token=10000,59fbdcf366c000000000000000000000&format=json&domain_id=2440599'

acme.sh don't have dnspod domain_id,will get the error....

auto-comment[bot] commented 4 years ago

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 不会得到任何解答.

aabababb commented 4 years ago

中文的? api.dnspod.com出错的? 用curl就可以登陆。。。