Today when I tried to install several nuget packages (Fody addins), I got error "Received an unexpected EOF or 0 bytes from the transport stream". Since I never experienced this error with other packages, I thought that was Fody's issue, so I
raised a bug with Fody:
At the end, the issue was fixed by deleting nuget's cache folder and manually downloading the package from web browser and coping it to the cache folder.
nuget should handle this issue automatically, or at least display a more useful error message like "Oops, something went wrong, we might have some corrupted packages in the cache folder. Please try..."