Check with a different network connection [Different WiFi network or a LAN connection] and try again. Also, disable VPN if you have connected any.
Clear your temp folder and try again.
Restart the Network related services.
- Open Services (Press Windows key + R then type in services.msc then click OK)
-Look for WLAN Autoconfig and WWAN Autoconfig> Right-Click Properties and set it to automatic (If it's already set to automatic, right-click then click stop then start it again)
-Restart PC and check
Even if the issue still persists, try downloading offline installer.