Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CANNOT SUBMIT SCORES FOR ROUND: TypeError: fetch failed #386

Open
bajtos opened this issue Oct 23, 2024 · 0 comments
Open

CANNOT SUBMIT SCORES FOR ROUND: TypeError: fetch failed #386

bajtos opened this issue Oct 23, 2024 · 0 comments

Comments

@bajtos
Copy link
Member

bajtos commented Oct 23, 2024

See https://space-meridian.slack.com/archives/C06S76341B8/p1729625786622019

Oct 22 19:34:20Z 9b22 vector spark-evaluate CANNOT SUBMIT SCORES FOR ROUND 17748n: TypeError: fetch failed
Oct 22 19:34:20Z 9b22 vector spark-evaluate     at node:internal/deps/undici/undici:12502:13
Oct 22 19:34:20Z 9b22 vector spark-evaluate     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Oct 22 19:34:20Z 9b22 vector spark-evaluate     at async setScores (file:///app/lib/submit-scores.js:11:15)
Oct 22 19:34:20Z 9b22 vector spark-evaluate     at async evaluate (file:///app/lib/evaluate.js:122:5) {
Oct 22 19:34:20Z 9b22 vector spark-evaluate   [cause]: [Error]
Oct 22 19:34:20Z 9b22 vector spark-evaluate }

Unfortunately, the log message does not show any details about the cause, so we cannot tell what exactly happened.

Suggested improvements to consider:

  1. Improve formatting so that the error cause is expanded in the log message (maybe%o will do the trick?) or unwrap the cause from the “fetch failed” error.
  2. Wrap the fetch() call in pRetry to handle intermittent failures

/cc @juliangruber This error happened only once, so the issue is not urgent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant