NixOS Flakes rebuild "unable to download" errors

I am trying to update my system after it has been off for a few weeks, however I’m getting issues downloading cached binaries after updating my flakes with nix flake update. When I try to rebuild, I get hit with an innumerable number of these errors:

warning: error: unable to download 'https://cache.nixos.org/nar/<abc123>.nar.xz': HTTP error 200 (curl error: Failure when receiving data from the peer); retrying from offset <aaaa> in <bbb> ms
warning: error: unable to download 'https://cache.nixos.org/nar/<abc123>.nar.xz': HTTP error 206 (curl error: Failed sending data to the peer); retrying from offset <aaaa> in <bbb> ms
error: some substitutes for the outputs of derivation '/nix/store/<abc123>-<random package>.drv' failed (usually happens due to networking issues); try '--fallback' to build derivation from source
error: 1 dependencies of derivation '/nix/store/<abc123>-<random target>.drv' failed to build

Suspecting cache issues, I

  1. Reverted my flake.lock to before I updated it with git.
  2. Added nix.settings.substituters = [ "https://aseipp-nix-cache.global.ssl.fastly.net" ]; to try switching to the experimental v2 cache.
  3. Rebuilt my configuration (successfully).
  4. Re-updated my flakes with nix flake update.
  5. Attempted to rebuild my configuration again with nixos-rebuild --flake . switch.

But this had no effect, and the error messages persist still referring to https://cache.nixos.org.

How can I fix this?