Open tjuy opened 1 year ago
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.
olanfei.buzz:Verify error:104.168.242.73: Fetching http://olanfei.buzz/.well-known/acme-challenge/8iOmrDKOA2oFefJsh-1GHfw0C1RynrPiJ9NIWuUdpPw: Connection refused [Sat Apr 8 02:15:09 UTC 2023] Debug: get token url. [Sat Apr 8 02:15:09 UTC 2023] GET [Sat Apr 8 02:15:09 UTC 2023] url='http://olanfei.buzz/.well-known/acme-challenge/8iOmrDKOA2oFefJsh-1GHfw0C1RynrPiJ9NIWuUdpPw' [Sat Apr 8 02:15:09 UTC 2023] timeout=1 [Sat Apr 8 02:15:09 UTC 2023] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g --connect-timeout 1' [Sat Apr 8 02:15:09 UTC 2023] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 7 [Sat Apr 8 02:15:09 UTC 2023] ret='7' [Sat Apr 8 02:15:09 UTC 2023] Debugging, skip removing: /var/www/html/.well-known [Sat Apr 8 02:15:09 UTC 2023] pid [Sat Apr 8 02:15:09 UTC 2023] No need to restore nginx, skip. [Sat Apr 8 02:15:09 UTC 2023] _clearupdns [Sat Apr 8 02:15:09 UTC 2023] dns_entries [Sat Apr 8 02:15:09 UTC 2023] skip dns. [Sat Apr 8 02:15:09 UTC 2023] _on_issue_err [Sat Apr 8 02:15:09 UTC 2023] Please check log file for more details: /root/.acme.sh/acme.sh.log [Sat Apr 8 02:15:09 UTC 2023] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/217610151547/bOdZqw' [Sat Apr 8 02:15:09 UTC 2023] payload='{}' [Sat Apr 8 02:15:09 UTC 2023] POST [Sat Apr 8 02:15:09 UTC 2023] _post_url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/217610151547/bOdZqw' [Sat Apr 8 02:15:09 UTC 2023] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g ' [Sat Apr 8 02:15:10 UTC 2023] _ret='0' [Sat Apr 8 02:15:10 UTC 2023] code='400' [Sat Apr 8 02:15:10 UTC 2023] socat doesn't exist. [Sat Apr 8 02:15:10 UTC 2023] Diagnosis versions:
浏览器登录下域名,看看什么提示,再查看 /var/log/nginx/error.log 日志,如果是 权限问题的化,修改 vi /etc/nginx/nginx.conf
第一行的 user 参数值 www-data 为你的账户 权限即可
解决了吗?遇到相同的问题
olanfei.buzz:Verify error:104.168.242.73: Fetching http://olanfei.buzz/.well-known/acme-challenge/8iOmrDKOA2oFefJsh-1GHfw0C1RynrPiJ9NIWuUdpPw: Connection refused [Sat Apr 8 02:15:09 UTC 2023] Debug: get token url. [Sat Apr 8 02:15:09 UTC 2023] GET [Sat Apr 8 02:15:09 UTC 2023] url='http://olanfei.buzz/.well-known/acme-challenge/8iOmrDKOA2oFefJsh-1GHfw0C1RynrPiJ9NIWuUdpPw' [Sat Apr 8 02:15:09 UTC 2023] timeout=1 [Sat Apr 8 02:15:09 UTC 2023] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g --connect-timeout 1' [Sat Apr 8 02:15:09 UTC 2023] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 7 [Sat Apr 8 02:15:09 UTC 2023] ret='7' [Sat Apr 8 02:15:09 UTC 2023] Debugging, skip removing: /var/www/html/.well-known [Sat Apr 8 02:15:09 UTC 2023] pid [Sat Apr 8 02:15:09 UTC 2023] No need to restore nginx, skip. [Sat Apr 8 02:15:09 UTC 2023] _clearupdns [Sat Apr 8 02:15:09 UTC 2023] dns_entries [Sat Apr 8 02:15:09 UTC 2023] skip dns. [Sat Apr 8 02:15:09 UTC 2023] _on_issue_err [Sat Apr 8 02:15:09 UTC 2023] Please check log file for more details: /root/.acme.sh/acme.sh.log [Sat Apr 8 02:15:09 UTC 2023] url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/217610151547/bOdZqw' [Sat Apr 8 02:15:09 UTC 2023] payload='{}' [Sat Apr 8 02:15:09 UTC 2023] POST [Sat Apr 8 02:15:09 UTC 2023] _post_url='https://acme-v02.api.letsencrypt.org/acme/chall-v3/217610151547/bOdZqw' [Sat Apr 8 02:15:09 UTC 2023] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g ' [Sat Apr 8 02:15:10 UTC 2023] _ret='0' [Sat Apr 8 02:15:10 UTC 2023] code='400' [Sat Apr 8 02:15:10 UTC 2023] socat doesn't exist. [Sat Apr 8 02:15:10 UTC 2023] Diagnosis versions: