Skip to content

atlassian-python-api "Retry-After" header too large #1593

@yajatgrover9

Description

@yajatgrover9
loader.confluence.get_page_by_id(PAGE_TITLE)
.venv\Lib\site-packages\atlassian\confluence\__init__.py", line 385, in get_page_by_id
    response = self.get(url, `params=params)`
 .venv\Lib\site-packages\atlassian\rest_client.py", line 561, in get
    response = self.request(
               ^^^^^^^^^^^^^
.venv\Lib\site-packages\atlassian\rest_client.py", line 437, in request
    continue_retries = retry_handler(response)
                       ^^^^^^^^^^^^^^^^^^^^^^^
 \.venv\Lib\site-packages\atlassian\rest_client.py", line 309, in _handle
    time.sleep(int(response.headers["Retry-After"]))
OverflowError: timestamp too large to convert to C _PyTime_t

Confluence Loader failing because of too larger "Retry-After" header returned by atlassian, kindly fix it ASAP!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions