I'm facing an issue while trying to restore NuGet packages in Visual Studio. The error message is as follows:Unable to load the service index for source https://api.nuget.org/v3/index.json.An error occurred while sending the request.The underlying connection was closed: An unexpected error occurred on a send.Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.An existing connection was forcibly closed by the remote host.**What I've tried:**
Updated Visual Studio to the latest version.Reinstalled the latest version of Visual Studio completely.Checked my internet connection (which is working fine).Restarted my machine.Disabled antivirus/firewall temporarily.But the issue still persists.
I was creating a blazor web-assembly project but error just popped up not just on my device but on several others too