Errors¶
ACME errors.
-
exception
acme.errors.Error[source]¶ Bases:
exceptions.ExceptionGeneric ACME error.
-
exception
acme.errors.SchemaValidationError[source]¶ Bases:
acme.jose.errors.DeserializationErrorJSON schema ACME object validation error.
-
exception
acme.errors.ClientError[source]¶ Bases:
acme.errors.ErrorNetwork error.
-
exception
acme.errors.UnexpectedUpdate[source]¶ Bases:
acme.errors.ClientErrorUnexpected update error.
-
exception
acme.errors.NonceError[source]¶ Bases:
acme.errors.ClientErrorServer response nonce error.
-
exception
acme.errors.BadNonce(nonce, error, *args, **kwargs)[source]¶ Bases:
acme.errors.NonceErrorBad nonce error.
-
exception
acme.errors.MissingNonce(response, *args, **kwargs)[source]¶ Bases:
acme.errors.NonceErrorMissing nonce error.
According to the specification an “ACME server MUST include an Replay-Nonce header field in each successful response to a POST it provides to a client (...)”.
Variables: response (requests.Response) – HTTP Response
-
exception
acme.errors.PollError(waiting, updated)[source]¶ Bases:
acme.errors.ClientErrorGeneric error when polling for authorization fails.
This might be caused by either timeout (
waitingwill be non-empty) or by some authorization being invalid.Variables: - waiting – Priority queue with
datetime.datatime(based onRetry-After) as key, and originalAuthorizationResourceas value. - updated – Mapping from original
AuthorizationResourceto the most recently updated one
-
timeout¶ Was the error caused by timeout?
- waiting – Priority queue with