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
Occasionally, we are not able to fetch measurements from web3.storage because of an internal server error:
Error: Response was not ok: 500 Internal Server Error - Check for { "ok": false } on the Response object before calling .files
at Response.files (file:///app/node_modules/web3.storage/src/lib.js:540:15)
at fetchMeasurements (file:///app/lib/preprocess.js:56:27)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async preprocess (file:///app/lib/preprocess.js:14:24)
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 show 500 Internal Server Error.
The text was updated successfully, but these errors were encountered:
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
.The text was updated successfully, but these errors were encountered: