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
A 429 response to a get tile request should be attempted 5 times before failing. According to this test result, this is not the case:
29 Oct 10:12:28 WARN [geotrellissentinelhub.DefaultProcessApi] - Scheduled retry within PT1S because of 429 response in context: getTile sentinel-2-l2a 2022-09-19T00:00Z
29 Oct 10:12:29 ERROR [geotrellissentinelhub.DefaultProcessApi] - Not attempting to retry unrecoverable error in context: getTile sentinel-2-l2a 2022-09-19T00:00Z
org.openeo.geotrellissentinelhub.SentinelHubException: Sentinel Hub returned an error
response: HTTP/1.1 429 Too Many Requests with body: {"error":{"status":429,"reason":"Too Many Requests","message":"You have exceeded your rate limit","code":"RATE_LIMIT_EXCEEDED"}}
The text was updated successfully, but these errors were encountered:
Usually when I get this issue, it happens after running CI again.
In this example the retry seems to work correctly till it fails
Maybe the retry is too fast, making the rate filing limit worse (I see: 1s, 1s, 2s, 2s, 2s, 4s, 5s, 6s, 8s).
Maybe not relevant for this ticket, but other error that might need a retry:
net.jodah.failsafe.FailsafeException: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake
at net.jodah.failsafe.FailsafeExecutor.call(FailsafeExecutor.java:385)
at net.jodah.failsafe.FailsafeExecutor.get(FailsafeExecutor.java:68)
at org.openeo.geotrellissentinelhub.package$.withRetries(package.scala:58)
at org.openeo.geotrellissentinelhub.DefaultCatalogApi.search(CatalogApi.scala:185)
A 429 response to a get tile request should be attempted 5 times before failing. According to this test result, this is not the case:
The text was updated successfully, but these errors were encountered: