Skip to content

Make ACME reset more error tolerant #310

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

Merged
merged 3 commits into from
Jan 21, 2022
Merged

Make ACME reset more error tolerant #310

merged 3 commits into from
Jan 21, 2022

Conversation

emontnemery
Copy link
Contributor

@emontnemery emontnemery commented Jan 20, 2022

Make ACME reset more error tolerant:

  • Don't reraise unknown ACME errors, just log them
  • Make sure we always unlink ACME files

@@ -409,6 +407,7 @@ async def reset_acme(self) -> None:
self._acme_client = None
self._account_jwk = None
self._x509 = None
await self.cloud.run_executor(self._remove_files)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should only with suppress the execution of the function above and run after it this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem is we don't really know what errors we get, isn't it better to log?

@emontnemery emontnemery merged commit 3aa68e9 into master Jan 21, 2022
@delete-merged-branch delete-merged-branch bot deleted the improve_acme_reset branch January 21, 2022 11:01
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

Successfully merging this pull request may close these issues.

2 participants