You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd still like to having caching around getting new S3 credentials since it can be pretty slow (several seconds) but the top-level @lru_cache we have now isn't the right approach to caching.
The text was updated successfully, but these errors were encountered:
I tried to download some granules in a Python session that had been up for a while (over an hour)
and got this error due to the temporary S3 credentials that
earthaccess
was using being expired (full traceback further below):Full traceback:
IIUC this has to do with me adding this
@lru_cache
a while ago for performance reasons without thinking about how these credentials can expire:earthaccess/earthaccess/store.py
Line 185 in 7db2e59
I'd still like to having caching around getting new S3 credentials since it can be pretty slow (several seconds) but the top-level
@lru_cache
we have now isn't the right approach to caching.The text was updated successfully, but these errors were encountered: