zenhack / simp_le

Simple Let's Encrypt client
GNU General Public License v3.0
223 stars 38 forks source link

Unhandled TimeoutError #145

Open VojtechMyslivec opened 3 years ago

VojtechMyslivec commented 3 years ago

Hello,

I had encountered this error two days ago:

2020-08-17 11:26:03,871:INFO:simp_le:1411: Reusing existing certificate private key
Traceback (most recent call last):
  File "/opt/simp_le/simp_le.py", line 1565, in main
    return main_with_exceptions(cli_args)
  File "/opt/simp_le/simp_le.py", line 1549, in main_with_exceptions
    persist_new_data(args, existing_data)
  File "/opt/simp_le/simp_le.py", line 1443, in persist_new_data
    order = finalize_order(client, order)
  File "/opt/simp_le/simp_le.py", line 1370, in finalize_order
    finalized_order = client.poll_and_finalize(order)
  File "/opt/simp_le/venv/lib/python3.5/site-packages/acme/client.py", line 711, in poll_and_finalize
    orderr = self.poll_authorizations(orderr, deadline)
  File "/opt/simp_le/venv/lib/python3.5/site-packages/acme/client.py", line 727, in poll_authorizations
    raise errors.TimeoutError()
acme.errors.TimeoutError

Unhandled error has happened, traceback is above

Debugging tips: -v improves output verbosity. Help is available under --help.

It's not a big deal, certificates were renewed a day after and I just want to report it. It would be nice to catch this exception and exit with some pretty error message.

Vojtech

BTW: Thanks for maintaining this awesome tool :+1:

zenhack commented 3 years ago

Thanks for the report. Yeah, we should probably catch this and print an error.

Quoting Vojtěch Myslivec (2020-08-19 16:31:37)

Hello,

I had encountered this error two days ago: 2020-08-17 11:26:03,871:INFO:simp_le:1411: Reusing existing certificate private key Traceback (most recent call last): File "/opt/simp_le/simp_le.py", line 1565, in main return main_with_exceptions(cli_args) File "/opt/simp_le/simp_le.py", line 1549, in main_with_exceptions persist_new_data(args, existing_data) File "/opt/simp_le/simp_le.py", line 1443, in persist_new_data order = finalize_order(client, order) File "/opt/simp_le/simp_le.py", line 1370, in finalize_order finalized_order = client.poll_and_finalize(order) File "/opt/simp_le/venv/lib/python3.5/site-packages/acme/client.py", line 711, in poll_and_finalize orderr = self.poll_authorizations(orderr, deadline) File "/opt/simp_le/venv/lib/python3.5/site-packages/acme/client.py", line 727, in poll_authorizations raise errors.TimeoutError() acme.errors.TimeoutError

Unhandled error has happened, traceback is above

Debugging tips: -v improves output verbosity. Help is available under --help.

It's not a big deal, certificates were renewed a day after and I just want to report it. It would be nice to catch this exception and exit with some pretty error message.

Vojtech

BTW: Thanks for maintaining this awesome tool �

-- You are receiving this because you are subscribed to this thread. Reply to this email directly, [1]view it on GitHub, or [2]unsubscribe.

Verweise

  1. https://github.com/zenhack/simp_le/issues/145
  2. https://github.com/notifications/unsubscribe-auth/AAGXYPTDORD2EMZ4HP3RTLTSBQZCTANCNFSM4QFKQZBA