Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2023
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.83 KB | None | 0 0
  1. During handling of the above exception, another exception occurred:
  2.  
  3. Traceback (most recent call last):
  4. File "/opt/certbot/lib/python3.7/site-packages/certbot_dns_godaddy.py", line 109, in del_txt_record
  5. self._find_domain_id(ex.registered_domain)
  6. File "/opt/certbot/lib/python3.7/site-packages/certbot/plugins/dns_common_lexicon.py", line 102, in _find_domain_id
  7. raise result1
  8. certbot.errors.PluginError: Error determining zone identifier for xxx: 401 Client Error: Unauthorized for url: https://api.godaddy.com/v1/domains/xxx.
  9. 2023-10-23 16:52:32,153:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.godaddy.com:443
  10. 2023-10-23 16:52:32,340:DEBUG:urllib3.connectionpool:https://api.godaddy.com:443 "GET /v1/domains/xxx HTTP/1.1" 401 98
  11. 2023-10-23 16:52:32,344:DEBUG:certbot_dns_godaddy:Encountered error finding domain_id during deletion: Error determining zone identifier for xxx: 401 Client Error: Unauthorized for url: https://api.godaddy.com/v1/domains/xxx.
  12. Traceback (most recent call last):
  13. File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 106, in handle_authorizations
  14. self._poll_authorizations(authzrs, max_retries, best_effort)
  15. File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 206, in _poll_authorizations
  16. raise errors.AuthorizationError('Some challenges have failed.')
  17. certbot.errors.AuthorizationError: Some challenges have failed.
  18.  
  19. During handling of the above exception, another exception occurred:
  20.  
  21. Traceback (most recent call last):
  22. File "/opt/certbot/lib/python3.7/site-packages/certbot/plugins/dns_common_lexicon.py", line 95, in _find_domain_id
  23. self.provider.authenticate()
  24. File "/opt/certbot/lib/python3.7/site-packages/lexicon/_private/providers/godaddy.py", line 62, in authenticate
  25. result = self._get(f"/domains/{domain}")
  26. File "/opt/certbot/lib/python3.7/site-packages/lexicon/interfaces.py", line 162, in _get
  27. return self._request("GET", url, query_params=query_params)
  28. File "/opt/certbot/lib/python3.7/site-packages/lexicon/_private/providers/godaddy.py", line 338, in _request
  29. result.raise_for_status()
  30. File "/opt/certbot/lib/python3.7/site-packages/requests/models.py", line 1021, in raise_for_status
  31. raise HTTPError(http_error_msg, response=self)
  32. requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://api.godaddy.com/v1/domains/xxxx
  33.  
  34. During handling of the above exception, another exception occurred:
  35.  
  36. Traceback (most recent call last):
  37. File "/opt/certbot/lib/python3.7/site-packages/certbot_dns_godaddy.py", line 109, in del_txt_record
  38. self._find_domain_id(ex.registered_domain)
  39. File "/opt/certbot/lib/python3.7/site-packages/certbot/plugins/dns_common_lexicon.py", line 102, in _find_domain_id
  40. raise result1
  41. certbot.errors.PluginError: Error determining zone identifier for xxx: 401 Client Error: Unauthorized for url: https://api.godaddy.com/v1/domains/xxxx.
  42. 2023-10-23 16:52:32,347:DEBUG:certbot._internal.log:Exiting abnormally:
  43. Traceback (most recent call last):
  44. File "/usr/bin/certbot", line 8, in <module>
  45. sys.exit(main())
  46. File "/opt/certbot/lib/python3.7/site-packages/certbot/main.py", line 19, in main
  47. return internal_main.main(cli_args)
  48. File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 1744, in main
  49. return config.func(config, plugins)
  50. File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 1591, in certonly
  51. lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
  52. File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/main.py", line 141, in _get_and_save_cert
  53. lineage = le_client.obtain_and_enroll_certificate(domains, certname)
  54. File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/client.py", line 530, in obtain_and_enroll_certificate
  55. cert, chain, key, _ = self.obtain_certificate(domains)
  56. File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/client.py", line 442, in obtain_certificate
  57. orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
  58. File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/client.py", line 510, in _get_order_and_authorizations
  59. authzr = self.auth_handler.handle_authorizations(orderr, self.config, best_effort)
  60. File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 106, in handle_authorizations
  61. self._poll_authorizations(authzrs, max_retries, best_effort)
  62. File "/opt/certbot/lib/python3.7/site-packages/certbot/_internal/auth_handler.py", line 206, in _poll_authorizations
  63. raise errors.AuthorizationError('Some challenges have failed.')
  64. certbot.errors.AuthorizationError: Some challenges have failed.
  65. 2023-10-23 16:52:32,352:ERROR:certbot._internal.log:Some challenges have failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement