Error getting response stream (Write: The authentication or decryption has failed.): SendFailure

Topics: General
Nov 3, 2013 at 9:48 PM
I am trying to restore my NuGet packages via the command line (in TeamCity) with Mono 3.0.7 on CentOS.

The command I am running is:

mono --runtime=v4.0.30319 ../.nuget/nuget.exe install "../src/Web/packages.config" -o "../packages"

which results in the following:

[Step 4/5] WARNING: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure
[19:01:29][Step 4/5] Unable to find version '4.3.1.13153' of package 'DotNetOpenAuth.Ultimate'.


However, when I try to run the same command (without Mono) on my Windows machine, it works just fine. I have no idea what to try, and am open to suggestions.
Nov 27, 2013 at 10:18 AM
I just had the same issue and found the solution.

Run the following command on your Linux machine:
mozroots --import --sync
And then try again.