I’ve been getting a network error whenever I open a GitHub codespace:
Very annoying, but I figured out that it was a FireFox (maybe just LibreWolf?) specific issue with the “enhanced tracking protection” feature.
Disabled that and everything works fine.