TypeError: Failed to fetch

(Sorry for the screenshotted terminal, copy-paste is broken for me right now)

Logs: files.catbox.moe/b0bv7k.png (i can’t include links for some reason)

I am on a fresh install of Anki with no plugins. Clicking pretty much anything, (reviewing a deck, options, etc…) with the exception of Qt only pages gives a blank white page, and sometimes a TypeError error popup.

I’ve tried curl-ing the URLs in the error message, and they return the expected JS bundle, so it’s not that the server is unreachable

Update: I’ve installed the AnkiWebView Inspector addon. It looks like requests are failing with ERR_INSUFFICIENT_RESOURCES. This is weird, because CPU is only at 20% and memory at 40%. I doubt it’s because of performance, since in addition to resource utilization being low, other JS requests in the network tab are completing successfully.

I also tried doing await (await fetch(url)).text() on one of the URLs that gave an error in the console, and it completes fine.

Including terminal output as text is certainly more useful, but I’ve attached your screenshot.

  • Have you tried everything on the Troubleshooting Checklist? Troubleshooting - Anki Manual

  • You don’t say what OS you’re using, which is generally helpful for a fresh-install startup failure issue.

Including terminal output as text is certainly more useful, but I’ve attached your screenshot.

As I mentioned, copy-paste is broken for me currently.

  • Have you tried everything on the Troubleshooting Checklist?

Yes

You don’t say what OS you’re using, which is generally helpful for a fresh-install startup failure issue.

Ubuntu 22.04.05 LTS

tThank you for your help

Does the same thing happen with an older anki release, say 24.11?

1 Like

The same error (ERR_INSUFFICIENT_RESOURCES) happens on 24.11 too.

1 Like