Closed bajtos closed 11 months ago
Sentry issue: SPARK-EVALUATE-1BW
I believe this is no longer a problem after https://github.com/filecoin-station/spark-evaluate/pull/70 reworked CID fetching to use a Trustless HTTP Gateway instead of a w3up client SDK.
Occasionally, we are not able to fetch measurements from web3.storage because of an internal server error:
We should fix our code to check for
res.ok
.Even better, we can implement a retry logic to recover from server errors. (Ideally, we should record telemetry about these retries.)
It would be also great to record telemetry about the status codes returned by web3.storage API calls. For example, a recent log was showing
524 Timeout
, but many other logs show500 Internal Server Error
.