Hi @maleksandrov,
Thank you for your advice.
I managed to save the log and I’m observing an exponential increase in wait time, which leads to the client not being able to proceed.
The problem could be related to the fact that I’m asking for LandSat data for many years (from 2000 to 2017) over different bbox polygons. When testing one bbox at a time, I had issues with the resolution setting and ended up leaving the function default (i.e., I’m not providing any resolution variable as input to the aggregation function).
Here is the log (I replaced some codes with XXX, not knowing which ones were account secrets):
DEBUG:sentinelhub.download.session:ThreadPoolExecutor-0_0:Creating a new authentication session with Sentinel Hub service
DEBUG:requests_oauthlib.oauth2_session:ThreadPoolExecutor-0_0:Encoding `client_id` "XXXXXXXXXXXXXXX" with `client_secret` as Basic auth credentials.
DEBUG:requests_oauthlib.oauth2_session:ThreadPoolExecutor-0_0:Requesting url https://services.sentinel-hub.com/oauth/token using method POST.
DEBUG:requests_oauthlib.oauth2_session:ThreadPoolExecutor-0_0:Supplying headers {'Accept': 'application/json', 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'} and data {'grant_type': 'client_credentials'}
DEBUG:requests_oauthlib.oauth2_session:ThreadPoolExecutor-0_0:Passing through key word arguments {'timeout': None, 'auth': <requests.auth.HTTPBasicAuth object at 0x0000014B06474D48>, 'verify': True, 'proxies': None, 'cert': None}.
DEBUG:urllib3.connectionpool:ThreadPoolExecutor-0_0:Starting new HTTPS connection (1): services.sentinel-hub.com:443
DEBUG:urllib3.connectionpool:ThreadPoolExecutor-0_0:https://services.sentinel-hub.com:443 "POST /oauth/token HTTP/1.1" 200 931
DEBUG:requests_oauthlib.oauth2_session:ThreadPoolExecutor-0_0:Request to fetch token completed with status 200.
DEBUG:requests_oauthlib.oauth2_session:ThreadPoolExecutor-0_0:Request url was https://services.sentinel-hub.com/oauth/token
DEBUG:requests_oauthlib.oauth2_session:ThreadPoolExecutor-0_0:Request headers were {'User-Agent': 'python-requests/2.27.1', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8', 'Content-Length': '29', 'Authorization': 'Basic XXXXXXXXXXXXXXXXXXXXXXXXXXXXX'}
DEBUG:requests_oauthlib.oauth2_session:ThreadPoolExecutor-0_0:Request body was grant_type=client_credentials
DEBUG:requests_oauthlib.oauth2_session:ThreadPoolExecutor-0_0:Response headers were {'Date': 'Thu, 21 Apr 2022 09:10:01 GMT', 'Content-Type': 'application/json', 'Content-Length': '931', 'Connection': 'keep-alive', 'cache-control': 'no-cache', 'set-cookie': 'shs1=XXXXXXXXXXXXXXXXXXXfab;Version=1;Domain=services.sentinel-hub.com;Path=/oauth/;Secure;HttpOnly;SameSite=None', 'access-control-allow-origin': '*', 'access-control-allow-headers': 'origin,content-type,accept,accept-crs,authorization,cache-control', 'access-control-allow-credentials': 'true', 'access-control-allow-methods': 'GET, POST, PUT, DELETE, OPTIONS, HEAD, PATCH', 'access-control-max-age': '3600'} and content {"access_token":"ABCXXXXXXXXX","expires_in":3599}.
DEBUG:requests_oauthlib.oauth2_session:ThreadPoolExecutor-0_0:Invoking 0 token response hooks.
DEBUG:requests_oauthlib.oauth2_session:ThreadPoolExecutor-0_0:Obtained token {'access_token': 'ABCXXXXXXXXXXXXXXXXXXXXXXXXXXX', 'expires_in': 3599, 'expires_at': 1650535802.3620963}.
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_2:Sending POST request to https://services-uswest2.sentinel-hub.com/api/v1/statistics. Hash of sent request is 05b12fea7b798020624dc0fd9bc9d035
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_3:Request needs to wait. Sleeping for 0.05
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_4:Request needs to wait. Sleeping for 0.04
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_1:Request needs to wait. Sleeping for 0.04
DEBUG:urllib3.connectionpool:ThreadPoolExecutor-0_0:Starting new HTTPS connection (1): services-uswest2.sentinel-hub.com:443
DEBUG:urllib3.connectionpool:ThreadPoolExecutor-0_2:Starting new HTTPS connection (1): services-uswest2.sentinel-hub.com:443
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_1:Sending POST request to https://services-uswest2.sentinel-hub.com/api/v1/statistics. Hash of sent request is ddf91a9af4a7b5d59c21327144e0b008
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_3:Request needs to wait. Sleeping for 0.05
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_4:Request needs to wait. Sleeping for 0.05
DEBUG:urllib3.connectionpool:ThreadPoolExecutor-0_1:Starting new HTTPS connection (1): services-uswest2.sentinel-hub.com:443
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_4:Sending POST request to https://services-uswest2.sentinel-hub.com/api/v1/statistics. Hash of sent request is 8f85019c6d15d1395906f36b00ed63d9
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_3:Request needs to wait. Sleeping for 0.05
DEBUG:urllib3.connectionpool:ThreadPoolExecutor-0_4:Starting new HTTPS connection (1): services-uswest2.sentinel-hub.com:443
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_3:Sending POST request to https://services-uswest2.sentinel-hub.com/api/v1/statistics. Hash of sent request is 1ccaa8bee8ea03a03cb18da8668f497e
DEBUG:urllib3.connectionpool:ThreadPoolExecutor-0_3:Starting new HTTPS connection (1): services-uswest2.sentinel-hub.com:443
DEBUG:urllib3.connectionpool:ThreadPoolExecutor-0_4:https://services-uswest2.sentinel-hub.com:443 "POST /api/v1/statistics HTTP/1.1" 429 293
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_4:Request needs to wait. Sleeping for 89.22
DEBUG:urllib3.connectionpool:ThreadPoolExecutor-0_3:https://services-uswest2.sentinel-hub.com:443 "POST /api/v1/statistics HTTP/1.1" 429 293
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_3:Request needs to wait. Sleeping for 89.18
DEBUG:urllib3.connectionpool:ThreadPoolExecutor-0_0:https://services-uswest2.sentinel-hub.com:443 "POST /api/v1/statistics HTTP/1.1" 429 296
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_0:Request needs to wait. Sleeping for 11952.99
DEBUG:urllib3.connectionpool:ThreadPoolExecutor-0_1:https://services-uswest2.sentinel-hub.com:443 "POST /api/v1/statistics HTTP/1.1" 429 296
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_1:Request needs to wait. Sleeping for 11943.50
DEBUG:urllib3.connectionpool:ThreadPoolExecutor-0_2:https://services-uswest2.sentinel-hub.com:443 "POST /api/v1/statistics HTTP/1.1" 429 296
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_2:Request needs to wait. Sleeping for 12597.55
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_4:Request needs to wait. Sleeping for 12529.09
DEBUG:sentinelhub.download.sentinelhub_client:ThreadPoolExecutor-0_3:Request needs to wait. Sleeping for 12529.05