Skip to content

OverflowError in 64-bit python when response payload is large #38

Description

@pfoppe

The authentication handler attempts to check the response for an expired token to re-generate if needed.
If the response content is large, python may throw an "OverflowError" which suggests a memory related issue.

File ... arcgis_saml_auth.py line 255, in _handle_response
if resp.json().get("error") is not None:
...
File ... sjisprober.py, line 54 in feed
for i in range(0, aLen):
OverflowError: range() result has too many items

The URL call where this failed reported a content-length of 2578621883

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