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

未知问题要命 #16

Closed
NaMoCv opened this issue Jun 5, 2024 · 3 comments
Closed

未知问题要命 #16

NaMoCv opened this issue Jun 5, 2024 · 3 comments

Comments

@NaMoCv
Copy link

NaMoCv commented Jun 5, 2024

ERROR: region can't be empty

Configuration failed, use aliyun configure to configure it
ERROR: region can't be empty

Configuration failed, use aliyun configure to configure it

2024-06-05 19:31:55,275:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
File "/usr/local/lib/python3.10/dist-packages/certbot/_internal/main.py", line 1894, in main
return config.func(config, plugins)
File "/usr/local/lib/python3.10/dist-packages/certbot/_internal/main.py", line 1600, in certonly
lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
File "/usr/local/lib/python3.10/dist-packages/certbot/_internal/main.py", line 143, in _get_and_save_cert
lineage = le_client.obtain_and_enroll_certificate(domains, certname)
File "/usr/local/lib/python3.10/dist-packages/certbot/_internal/client.py", line 517, in obtain_and_enroll_certificate
cert, chain, key, _ = self.obtain_certificate(domains)
File "/usr/local/lib/python3.10/dist-packages/certbot/_internal/client.py", line 428, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File "/usr/local/lib/python3.10/dist-packages/certbot/_internal/client.py", line 496, in _get_order_and_authorizations
authzr = self.auth_handler.handle_authorizations(orderr, self.config, best_effort)
File "/usr/local/lib/python3.10/dist-packages/certbot/_internal/auth_handler.py", line 108, in handle_authorizations
self._poll_authorizations(authzrs, max_retries, max_time_mins, best_effort)
File "/usr/local/lib/python3.10/dist-packages/certbot/_internal/auth_handler.py", line 212, in _poll_authorizations
raise errors.AuthorizationError('Some challenges have failed.')
certbot.errors.AuthorizationError: Some challenges have failed.
2024-06-05 19:31:55,275:ERROR:certbot._internal.log:Some challenges have failed.

用pip安装的certbot。
aliyun是已经配置好的
aliyun alidns DescribeDomainRecords --DomainName xxx能运行

@justjavac
Copy link
Owner

区域(region)配置的有问题

@justjavac
Copy link
Owner

参考这个 issue #10

@NaMoCv
Copy link
Author

NaMoCv commented Jun 6, 2024

参考这个 issue #10

好的,谢谢,应该就是要sudo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants