Open pfoppe opened 4 years ago
Possible fix is to add the following code to ArcGIS_saml_auth.py at line 275:
# Unable to parse JSON data due to a memory error. Requestor could ask for a large payload that is not JSON response. Throw away exception for now and assume the token was still valid.
except OverflowError:
pass
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.
The URL call where this failed reported a content-length of 2578621883