NuGet/NuGetGallery — Issue #335: NuGet.Exe in mono broken
Author: osbornm
Created: 2011-12-06 22:27:36+00:00
State: open

Reported from the FUBU folks. After our gallery update they are seeing security warning that is stoping NuGet.exe from downloading packages on there CI machine (aka package restore).

http://build.fubu-project.org/viewLog.html?buildId=546&tab=buildLog&buildTypeId=bt15&logTab=all

[19:39:48]: [Execute restore_if_missing] mono --runtime=v4.0.30319 buildsupport/ripple.exe restore
[19:39:48]: [Execute restore_if_missing] Restoring nuget dependencies for solution validation
[19:39:50]: [Execute restore_if_missing] ERROR: System.Net.WebException: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: Invalid certificate received from server. Error code: 0xffffffff800b010a
[19:39:50]: [Execute restore_if_missing] at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.validateCertificates (Mono.Security.X509.X509CertificateCollection certificates) [0x00000] in :0
[19:39:50]: [Execute restore_if_missing] at Mono.Security.Protocol.Tls.Handshake.Client.TlsServerCertificate.ProcessAsTls1 () [0x00000] in :0
[19:39:50]: [Execute restore_if_missing] at Mono.Security.Protocol.Tls.Handshake.HandshakeMessage.Process () [0x00000] in :0
[19:39:50]: [Execute restore_if_missing] at (wrapper remoting-invoke-with-check) Mono.Security.Protocol.Tls.Handshake.HandshakeMessage:Process ()
[19:39:50]: [Execute restore_if_missing] at Mono.Security.Protocol.Tls.ClientRecordProtocol.ProcessHandshakeMessage (Mono.Security.Protocol.Tls.TlsStream handMsg) [0x00000] in :0
[19:39:50]: [Execute restore_if_missing] at Mono.Security.Protocol.Tls.RecordProtocol.InternalReceiveRecordCallback (IAsyncResult asyncResult) [0x00000] in :0
[19:39:50]: [Execute restore_if_missing] --- End of inner exception stack trace ---
[19:39:50]: [Execute restore_if_missing] at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (IAsyncResult asyncResult) [0x00000] in :0
[19:39:50]: [Execute restore_if_missing] --- End of inner exception stack trace ---
[19:39:50]: [Execute restore_if_missing] at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in :0
[19:39:50]: [Execute restore_if_missing] at System.Net.HttpWebRequest.GetResponse () [0x00000] in :0
[19:39:50]: [Execute restore_if_missing] at NuGet.RequestHelper.GetResponse (System.Func`1 createRequest, System.Action`1 prepareRequest, IProxyCache proxyCache, ICredentialCache credentialCache, ICredentialProvider credentialProvider) [0x00000] in :0
[19:39:51]: [Execute restore_if_missing] RuntimeError: Command failed with status (1): [mono --runtime=v4.0.30319 buildsupport/rip...]