I think this happens when something is blocking Iris, whether that be your country or internet service. Try running the fabric installer from fabricmc.net. If that is successful put sodium and Iris (you can get them from modrinth or curseforge) in your mods folder and launch the fabric profile in the launcher