Skip to content

Add error handling to the base Endpoint request methods. #18

Closed

Description

@odinuv

Activity

  1. odinuv commented on Aug 28, 2017

    @odinuv
    MemberAuthor

    this includes

    • retry on maintenance
    • retry on transient HTTP errors
  2. added this to the Version 1.0.0 milestone on Aug 28, 2017
  3. jirkasemmler commented on Sep 29, 2026

    @jirkasemmler
    Contributor

    Closing: the requested error handling exists in kbcstorage/retry_requests.py. RetryRequests wraps every GET/POST/PUT/DELETE in the base Endpoint and retries on 5xx responses (which covers maintenance mode as well as transient server errors) with exponential backoff and a configurable max_requests_retries. 4xx responses are raised immediately as requests.HTTPError.

    If there is a specific error code that still needs special treatment, please open a new issue with the concrete case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions