FranzKafkaYu / x-ui

Lightweight Xray panel with multi-protocol and multi-user on the same port,supports English language and Telegram bot. Easy to use and easy to manage.
GNU General Public License v3.0
7.84k stars 1.57k forks source link

一键申请SSL证书-申请失败 #454

Closed JssDream closed 1 year ago

JssDream commented 1 year ago

Welcome

Description of the problem,screencshot would be good

域名是.link 免费的,dns托管cf的,cf中a.xxx.link 已经解析到服务器ip x-ui 选择16 选择 1 输入域名 a.xxx.link 安装失败,报错:

[Mon Jul 17 07:23:11 UTC 2023] Pending, The CA is processing your order, please just wait. (1/30) [Mon Jul 17 07:23:15 UTC 2023] a.xxx.xxx:Verify error:2606:4700:3031::ac43:80f2: Invalid response from http://a.xxx.xxx/.well-known/acme-challenge/-2bVN7SR3u1sMudbTBqRpkO9kZvrEGgS--AxUSOtVr4: 521 [Mon Jul 17 07:23:15 UTC 2023] Please add '--debug' or '--log' to check more details. [Mon Jul 17 07:23:15 UTC 2023] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh [ERR] 证书申请失败,原因请参见报错信息

Version of x-ui

```console $ x-ui version # Paste output here 面板版本[version]: 0.3.4.3:20230610 ```

x-ui log or xray log

```console # paste log here ``` [Mon Jul 17 07:23:11 UTC 2023] Pending, The CA is processing your order, please just wait. (1/30) [Mon Jul 17 07:23:15 UTC 2023] a.xxx.xxx:Verify error:2606:4700:3031::ac43:80f2: Invalid response from http://a.xxx.xxx/.well-known/acme-challenge/-2bVN7SR3u1sMudbTBqRpkO9kZvrEGgS--AxUSOtVr4: 521 [Mon Jul 17 07:23:15 UTC 2023] Please add '--debug' or '--log' to check more details. [Mon Jul 17 07:23:15 UTC 2023] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh [ERR] 证书申请失败,原因请参见报错信息
FranzKafkaYu commented 1 year ago

@JssDream Invalid response from xxxx:521,从报错信息来看是校验的server offline了,请在其他时间段进行尝试或者使用standalone模式。

donkeykangwang10 commented 11 months ago

我也和楼主一样的问题,最新版本。唯一的不同是x-ui log的错误代码是404,另外使用的是standalone模式,求教了。谢谢

x-ui 面板信息如下: [DEG] 你输入的域名为:.gay,正在进行域名合法性校验... [INF] 域名合法性校验通过... 请输入你所希望使用的端口,如回车将使用默认80端口:443 [INF] 将会使用443进行证书申请,请确保端口处于开放状态... [Fri Oct 20 09:34:33 UTC 2023] Changed default CA to: https://acme-v02.api.letsencrypt.org/directory [Fri Oct 20 09:34:34 UTC 2023] Using CA: https://acme-v02.api.letsencrypt.org/directory [Fri Oct 20 09:34:34 UTC 2023] Standalone mode. [Fri Oct 20 09:34:34 UTC 2023] Creating domain key [Fri Oct 20 09:34:34 UTC 2023] The domain key is here: /root/.acme.sh/.gay_ecc/.gay.key [Fri Oct 20 09:34:34 UTC 2023] Single domain='.gay' [Fri Oct 20 09:34:34 UTC 2023] Getting domain auth token for each domain [Fri Oct 20 09:34:38 UTC 2023] Getting webroot for domain='.gay' [Fri Oct 20 09:34:38 UTC 2023] Verifying: .gay [Fri Oct 20 09:34:39 UTC 2023] Standalone mode server [Fri Oct 20 09:34:44 UTC 2023] Pending, The CA is processing your order, please just wait. (1/30) [Fri Oct 20 09:34:50 UTC 2023] Invalid status, .gay:Verify error detail:xxx.xxx.xxx.xxx: Invalid response from http://.gay/.well-known/acme-challenge/NDcPjtnzC19nGWX0SfXzFXTzrxvz87fgEmaLkV-cJ1Y: 404 [Fri Oct 20 09:34:50 UTC 2023] Please check log file for more details: /root/.acme.sh/acme.sh.log [ERR] 证书申请失败,原因请参见报错信息

FranzKafkaYu commented 11 months ago

我也和楼主一样的问题,最新版本。唯一的不同是x-ui log的错误代码是404,另外使用的是standalone模式,求教了。谢谢

请贴出相应的log日志

donkeykangwang10 commented 11 months ago

我也和楼主一样的问题,最新版本。唯一的不同是x-ui log的错误代码是404,另外使用的是standalone模式,求教了。谢谢

请贴出相应的log日志

补充在楼上了,.gay的域名,VPS的ip以xxx.xxxx.xxx.xxx替代了。谢谢