polhenarejos / acme_email

ACME Email Client for EmailReply-00 Challenge
https://acme.castle.cloud
GNU General Public License v3.0
46 stars 7 forks source link

Internal Server Error 500 #3

Closed majonez closed 3 years ago

majonez commented 3 years ago

Hi,

I receive internal server error, when trying to make a cert with the interactive authenticator:

2021-07-19 04:27:55,540:DEBUG:urllib3.connectionpool:https://acme.castle.cloud:443 "POST /acme/order/XXXXXXXX/finalize HTTP/1.1" 500 None 2021-07-19 04:27:55,540:DEBUG:acme.client:Received response: HTTP 500 Date: Mon, 19 Jul 2021 02:27:55 GMT Content-Type: text/html Transfer-Encoding: chunked Connection: keep-alive X-Frame-Options: DENY Vary: Cookie X-Content-Type-Options: nosniff Referrer-Policy: same-origin CF-Cache-Status: DYNAMIC Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct" Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=5vVWO5XU%2BFFP7Pt5xHSHnPTFD0DO70p63YVjufQCSpxy0GG7Pz7%2BzCV5zb73cFfMZYAIefLaLSpZ8yiaEh4N3fKghp8QgE7ShEejSIjJ2s2hsrYbX3BcGXoLF6glP11Q365wOQ%3D%3D"}],"group":"cf-nel","max_age":604800} NEL: {"report_to":"cf-nel","max_age":604800} Server: cloudflare CF-RAY: 6710836df9a0bc54-LHR alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400

<!doctype html> <html lang="en"> <head> <title>Server Error (500)</title> </head> <body> <h1>Server Error (500)</h1><p></p> </body> </html>

2021-07-19 04:27:55,541:DEBUG:certbot._internal.log:Exiting abnormally: Traceback (most recent call last): File "/Users/andrew/acme_email/cli.py", line 164, in <module> main(args) File "/Users/andrew/acme_email/cli.py", line 117, in main request_cert(args, config) File "/Users/andrew/acme_email/cli.py", line 89, in request_cert cert_path, chain_path, fullchain_path = certbot_main._csr_get_and_save_cert(config, le_client) File "/usr/local/lib/python3.9/site-packages/certbot-1.17.0-py3.9.egg/certbot/_internal/main.py", line 1354, in _csr_get_and_save_cert cert, chain = le_client.obtain_certificate_from_csr(csr) File "/usr/local/lib/python3.9/site-packages/certbot-1.17.0-py3.9.egg/certbot/_internal/client.py", line 290, in obtain_certificate_from_csr orderr = self.acme.finalize_order(orderr, deadline, File "/usr/local/lib/python3.9/site-packages/acme-1.17.0-py3.9.egg/acme/client.py", line 923, in finalize_order return cast(ClientV2, self.client).finalize_order( File "/usr/local/lib/python3.9/site-packages/acme-1.17.0-py3.9.egg/acme/client.py", line 745, in finalize_order self._post(orderr.body.finalize, wrapped_csr) File "/usr/local/lib/python3.9/site-packages/acme-1.17.0-py3.9.egg/acme/client.py", line 86, in _post return self.net.post(*args, *kwargs) File "/usr/local/lib/python3.9/site-packages/acme-1.17.0-py3.9.egg/acme/client.py", line 1201, in post return self._post_once(args, **kwargs) File "/usr/local/lib/python3.9/site-packages/acme-1.17.0-py3.9.egg/acme/client.py", line 1214, in _post_once response = self._check_response(response, content_type=content_type) File "/usr/local/lib/python3.9/site-packages/acme-1.17.0-py3.9.egg/acme/client.py", line 1077, in _check_response raise errors.ClientError(response) acme.errors.ClientError: <Response [500]> 2021-07-19 04:27:55,547:ERROR:certbot._internal.log:An unexpected error occurred: 2021-07-19 04:27:55,547:ERROR:certbot._internal.log:acme.errors.ClientError: <Response [500]>

polhenarejos commented 3 years ago

Seems fixed in the backend. Reopen if it happens again.

majonez commented 3 years ago

Retried today. Same issue:

2021-08-14 12:26:03,061:DEBUG:urllib3.connectionpool:https://acme.castle.cloud:443 "POST /acme/order/zzf6H4t0o9c/finalize HTTP/1.1" 500 None 2021-08-14 12:26:03,062:DEBUG:acme.client:Received response: HTTP 500 Date: Sat, 14 Aug 2021 10:26:03 GMT Content-Type: text/html Transfer-Encoding: chunked Connection: keep-alive x-frame-options: DENY vary: Cookie x-content-type-options: nosniff referrer-policy: same-origin CF-Cache-Status: DYNAMIC Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct&quot; Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=j5lZkuVzCfz%2F2N6ogjnhLLYsHnUHfEszWszReSD48EVB8Aafiyccm3cw%2FRYz0rIBAbZYH5oT3TRaiqvLl5bP4THCcrSWP0hr5BZBbuepPfXECmvPSyOqoXEtZAJQ%2By0Joeubsw%3D%3D"}],"group":"cf-nel","max_age":604800} NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800} Server: cloudflare CF-RAY: 67e97b904d644e0e-FRA alt-svc: h3-27=":443"; ma=86400, h3-28=":443"; ma=86400, h3-29=":443"; ma=86400, h3=":443"; ma=86400

<!doctype html> <html lang="en"> <head> <title>Server Error (500)</title> </head> <body> <h1>Server Error (500)</h1><p></p> </body> </html>

2021-08-14 12:26:03,062:DEBUG:certbot._internal.log:Exiting abnormally: Traceback (most recent call last): File "/Users/andrew/acme_email/cli.py", line 164, in <module> main(args) File "/Users/andrew/acme_email/cli.py", line 117, in main request_cert(args, config) File "/Users/andrew/acme_email/cli.py", line 89, in request_cert cert_path, chain_path, fullchain_path = certbot_main._csr_get_and_save_cert(config, le_client) File "/usr/local/lib/python3.9/site-packages/certbot/_internal/main.py", line 1354, in _csr_get_and_save_cert cert, chain = le_client.obtain_certificate_from_csr(csr) File "/usr/local/lib/python3.9/site-packages/certbot/_internal/client.py", line 290, in obtain_certificate_from_csr orderr = self.acme.finalize_order(orderr, deadline, File "/usr/local/lib/python3.9/site-packages/acme/client.py", line 934, in finalize_order return cast(ClientV2, self.client).finalize_order( File "/usr/local/lib/python3.9/site-packages/acme/client.py", line 751, in finalize_order self._post(orderr.body.finalize, wrapped_csr) File "/usr/local/lib/python3.9/site-packages/acme/client.py", line 87, in _post return self.net.post(*args, *kwargs) File "/usr/local/lib/python3.9/site-packages/acme/client.py", line 1212, in post return self._post_once(args, **kwargs) File "/usr/local/lib/python3.9/site-packages/acme/client.py", line 1225, in _post_once response = self._check_response(response, content_type=content_type) File "/usr/local/lib/python3.9/site-packages/acme/client.py", line 1088, in _check_response raise errors.ClientError(response) acme.errors.ClientError: <Response [500]> 2021-08-14 12:26:03,064:ERROR:certbot._internal.log:An unexpected error occurred: 2021-08-14 12:26:03,064:ERROR:certbot._internal.log:acme.errors.ClientError: <Response [500]>