Open davidoesch opened 1 day ago
When copying locally data to PROD gdrive
vfs cache: failed to upload try #1, will retry in 10s: vfs cache: failed to transfer file from cache to remote: googleapi: Error 403: User rate limit exceeded., userRateLimitExceeded
maybe this is the issue, accorindg to https://forum.rclone.org/t/failed-to-move-googleapi-error-403-user-rate-limit-exceeded-userratelimitexceeded/44068/2 there might be a daily limit on gdrive
Describe the bug On production in GithubAction we have the following errors since 7-11-2024, it seems to be an issue when accesing the STAC API ( not as initially thought related to gdrive) it hangs in https://github.com/swisstopo/topo-satromo/blob/2f06e5e45f4997bd2b817986b775e1ae7c444e27/main_functions/main_publish_stac_fsdi.py#L537
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
https://github.com/swisstopo/topo-satromo/actions/runs/11715976429/job/32633284773#step:9:372File "/home/runner/work/topo-satromo/topo-satromo/main_functions/main_publish_stac_fsdi.py", line 537, in upload_asset Fri, 08 Nov 2024 04:38:35 GMT response.json()['urls'][0]['url'], data=data, headers=***'Content-MD5': md5***) Fri, 08 Nov 2024 04:38:35 GMT KeyError: 'urls'
https://github.com/swisstopo/topo-satromo/actions/runs/11735443612/job/32693135080#step:9:2703.Sat, 09 Nov 2024 03:21:00 GMT
File "/home/runner/work/topo-satromo/topo-satromo/main_functions/main_publish_stac_fsdi.py", line 537, in upload_asset Sat, 09 Nov 2024 03:21:00 GMT response.json()['urls'][0]['url'], data=data, headers=***'Content-MD5': md5***) Sat, 09 Nov 2024 03:21:00 GMT KeyError: 'urls'
https://github.com/swisstopo/topo-satromo/actions/runs/11752851798/job/32744992770#step:9:37observation
Possible cause
To Reproduce Steps to reproduce the behavior:
Expected behavior Runs as on dev