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

get directory at '': Get "": unsupported protocol scheme "" #417

Closed
ethaniel86 opened this issue Jun 13, 2024 · 7 comments
Closed

get directory at '': Get "": unsupported protocol scheme "" #417

ethaniel86 opened this issue Jun 13, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@ethaniel86
Copy link

Describe the bug
ACME 添加用户报错

问题复现

  1. 证书
  2. 点 'ACME用户'
  3. 点 '提交'
  4. 报错 “get directory at '': Get "": unsupported protocol scheme ""

截图
Screenshot 2024-06-13 at 6 21 57 PM

Info (please complete the following information):

  • Server OS: Ubuntu 22.04
  • Server Arch: x86_64
  • Nginx UI Version: 2.0.0-beta.24 (从2.0.0-beta.8升级上来的)
  • Your Browser: Chrome

Additional context
发通配符证书报错,就尝试加“ACME用户”看能不能解决

Screenshot 2024-06-13 at 6 28 49 PM
@ethaniel86 ethaniel86 added the bug Something isn't working label Jun 13, 2024
@0xJacky
Copy link
Owner

0xJacky commented Jun 13, 2024

应该是两个问题,默认用户会自动创建的,可以等几分钟看一下

@0xJacky
Copy link
Owner

0xJacky commented Jun 14, 2024

Hi, 现在可以看到 System Initial User 了吗

@ethaniel86
Copy link
Author

《ACME 用户》 页面还是空的,没数据。

@0xJacky
Copy link
Owner

0xJacky commented Jun 14, 2024

重启一下,看看日志

journalctl -u nginx-ui

@0xJacky
Copy link
Owner

0xJacky commented Jun 14, 2024

正常情况下,网络正常,邮件没有被封,ip 没有触发限流,首次启动会注册默认用户

image

@ethaniel86
Copy link
Author

Jun 14 12:25:59 LS-108582-37600 nginx-ui[3140634]: 2024-06-14 12:25:59 ERROR cert/logger.go:30 AutoCert issue cert get acme user error: get default user error: record not found
Jun 14 12:25:59 LS-108582-37600 nginx-ui[3140634]: 2024-06-14 12:25:59 INFO cert/auto_cert.go:27 AutoCert Worker End
Jun 14 12:26:00 LS-108582-37600 nginx-ui[3140634]: 2024-06-14 12:26:00 INFO cert/register.go:50 ACME Default User registered

WhatsApp Image 2024-06-14 at 12 29 33_027393f9

重启后就有了。
这台机器有51个域名。有没有办法有效解决限流的问题?

@0xJacky
Copy link
Owner

0xJacky commented Jun 14, 2024

这个和域名的数量关系不是很大,beta19 的时候,针对注册、签发、续期的续期做了优化,现在启动之后只会注册一个用户,之后的限流政策请参考:https://letsencrypt.org/zh-cn/docs/rate-limits/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants