title: NuGet package restore fails for several packages on AppHarbor
body: <p>My app deploys fine locally and on Azure but fails on AppHarbor for no apparent reason. Nuget can't find most of the packages.</p>
  
  <p>Here is a the build log:</p>
  
  <blockquote>
    <p>GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.Razor',Version='3.2.3')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.WebApi.Core',Version='5.0.0')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.WebApi',Version='5.0.0')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.WebHelpers',Version='3.2.3')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'jQuery',Version='1.10.2')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.Mvc',Version='5.2.3')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'jQuery.Validation',Version='1.11.1')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'itextsharp.xmlworker',Version='5.5.5')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.WebApi.WebHost',Version='5.0.0')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.WebApi.Client',Version='5.0.0')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'iTextSharp',Version='5.5.5')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.WebPages',Version='3.2.3')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.WebPages.Data',Version='3.2.3')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.WebPages.WebData',Version='3.2.3')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.jQuery.Unobtrusive.Ajax',Version='3.2.3')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.jQuery.Unobtrusive.Validation',Version='3.0.0')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.Web.Infrastructure',Version='1.0.0.0')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'MvcRazorToPdf',Version='1.0.2')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'MySql.Data',Version='6.9.6')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'MySql.Data.Entity',Version='6.9.6')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'MySql.Web',Version='6.9.6')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Newtonsoft.Json',Version='5.0.6')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.Razor',Version='3.2.3.0')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.WebHelpers',Version='3.2.3.0')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'RazorPDF',Version='1.0.0')
    Installing 'jQuery.Validation 1.11.1'. GET
    <a href="https://www.nuget.org/api/v2/package/jQuery.Validation/1.11.1" rel="nofollow">https://www.nuget.org/api/v2/package/jQuery.Validation/1.11.1</a> GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'itextsharp.xmlworker',Version='5.5.5.0')
    Installing 'Microsoft.AspNet.WebApi.Core 5.0.0'. GET
    <a href="https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi.Core/5.0.0" rel="nofollow">https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi.Core/5.0.0</a>
    Installing 'jQuery 1.10.2'. GET
    <a href="https://www.nuget.org/api/v2/package/jQuery/1.10.2" rel="nofollow">https://www.nuget.org/api/v2/package/jQuery/1.10.2</a> Installing
    'Microsoft.AspNet.WebApi.Client 5.0.0'. GET
    <a href="https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi.Client/5.0.0" rel="nofollow">https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi.Client/5.0.0</a>
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.Mvc',Version='5.2.3.0')
    Installing 'Microsoft.AspNet.WebApi 5.0.0'. GET
    <a href="https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi/5.0.0" rel="nofollow">https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi/5.0.0</a>
    Installing 'Microsoft.AspNet.WebApi.WebHost 5.0.0'. GET
    <a href="https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi.WebHost/5.0.0" rel="nofollow">https://www.nuget.org/api/v2/package/Microsoft.AspNet.WebApi.WebHost/5.0.0</a>
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'MvcRazorToPdf',Version='1.0.2.0')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.WebPages',Version='3.2.3.0')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.WebPages.WebData',Version='3.2.3.0')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.jQuery.Unobtrusive.Ajax',Version='3.2.3.0')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'iTextSharp',Version='5.5.5.0')
    Installing 'Microsoft.Web.Infrastructure 1.0.0.0'. GET
    <a href="https://www.nuget.org/api/v2/package/Microsoft.Web.Infrastructure/1.0.0" rel="nofollow">https://www.nuget.org/api/v2/package/Microsoft.Web.Infrastructure/1.0.0</a>
    Successfully installed 'jQuery.Validation 1.11.1'. Successfully
    installed 'jQuery 1.10.2'. GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'MySql.Data.Entity',Version='6.9.6.0')
    Successfully installed 'Microsoft.AspNet.WebApi.Client 5.0.0'.
    Installing 'Microsoft.jQuery.Unobtrusive.Validation 3.0.0'. GET
    <a href="https://www.nuget.org/api/v2/package/Microsoft.jQuery.Unobtrusive.Validation/3.0.0" rel="nofollow">https://www.nuget.org/api/v2/package/Microsoft.jQuery.Unobtrusive.Validation/3.0.0</a>
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'Microsoft.AspNet.WebPages.Data',Version='3.2.3.0')
    GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'MySql.Data',Version='6.9.6.0')
    Successfully installed 'Microsoft.jQuery.Unobtrusive.Validation
    3.0.0'. Successfully installed 'Microsoft.AspNet.WebApi.WebHost 5.0.0'. Installing 'Newtonsoft.Json 5.0.6'. GET <a href="https://www.nuget.org/api/v2/package/Newtonsoft.Json/5.0.6" rel="nofollow">https://www.nuget.org/api/v2/package/Newtonsoft.Json/5.0.6</a> GET
    <a href="https://www.nuget.org/api/v2/Packages(Id=" rel="nofollow">https://www.nuget.org/api/v2/Packages(Id=</a>'MySql.Web',Version='6.9.6.0')
    Successfully installed 'Microsoft.AspNet.WebApi.Core 5.0.0'.
    Successfully installed 'Newtonsoft.Json 5.0.6'. Installing 'RazorPDF
    1.0.0'. GET <a href="https://www.nuget.org/api/v2/package/RazorPDF/1.0.0" rel="nofollow">https://www.nuget.org/api/v2/package/RazorPDF/1.0.0</a> Successfully installed 'Microsoft.AspNet.WebApi 5.0.0'. Successfully
    installed 'RazorPDF 1.0.0'. Successfully installed
    'Microsoft.Web.Infrastructure 1.0.0.0'.</p>
    
    <p>System.InvalidOperationException: Unable to find version '5.5.5' of
    package 'iTextSharp'.    at
    NuGet.PackageHelper.ResolvePackage(IPackageRepository repository,
    String packageId, SemanticVersion version)    at
    NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem
    packagesFolderFileSystem, String packageId, SemanticVersion version,
    Boolean packageRestoreConsent, ConcurrentQueue<code>1 satellitePackages)<br>
    at
    NuGet.Commands.RestoreCommand.&lt;&gt;c__DisplayClass5.&lt;&gt;c__DisplayClass7.&lt;ExecuteInParallel&gt;b__2()
    at System.Threading.Tasks.Task</code>1.InnerInvoke()    at
    System.Threading.Tasks.Task.Execute()
    System.InvalidOperationException: Unable to find version '5.5.5' of
    package 'itextsharp.xmlworker'.    at
    NuGet.PackageHelper.ResolvePackage(IPackageRepository repository,
    String packageId, SemanticVersion version)    at
    NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem
    packagesFolderFileSystem, String packageId, SemanticVersion version,
    Boolean packageRestoreConsent, ConcurrentQueue<code>1 satellitePackages)<br>
    at
    NuGet.Commands.RestoreCommand.&lt;&gt;c__DisplayClass5.&lt;&gt;c__DisplayClass7.&lt;ExecuteInParallel&gt;b__2()
    at System.Threading.Tasks.Task</code>1.InnerInvoke()    at
    System.Threading.Tasks.Task.Execute()
    System.InvalidOperationException: Unable to find version '5.2.3' of
    package 'Microsoft.AspNet.Mvc'.    at
    NuGet.PackageHelper.ResolvePackage(IPackageRepository repository,
    String packageId, SemanticVersion version)    at
    NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem
    packagesFolderFileSystem, String packageId, SemanticVersion version,
    Boolean packageRestoreConsent, ConcurrentQueue<code>1 satellitePackages)<br>
    at
    NuGet.Commands.RestoreCommand.&lt;&gt;c__DisplayClass5.&lt;&gt;c__DisplayClass7.&lt;ExecuteInParallel&gt;b__2()
    at System.Threading.Tasks.Task</code>1.InnerInvoke()    at
    System.Threading.Tasks.Task.Execute()
    System.InvalidOperationException: Unable to find version '3.2.3' of
    package 'Microsoft.AspNet.Razor'.    at
    NuGet.PackageHelper.ResolvePackage(IPackageRepository repository,
    String packageId, SemanticVersion version)    at
    NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem
    packagesFolderFileSystem, String packageId, SemanticVersion version,
    Boolean packageRestoreConsent, ConcurrentQueue<code>1 satellitePackages)<br>
    at
    NuGet.Commands.RestoreCommand.&lt;&gt;c__DisplayClass5.&lt;&gt;c__DisplayClass7.&lt;ExecuteInParallel&gt;b__2()
    at System.Threading.Tasks.Task</code>1.InnerInvoke()    at
    System.Threading.Tasks.Task.Execute()
    System.InvalidOperationException: Unable to find version '3.2.3' of
    package 'Microsoft.AspNet.WebHelpers'.    at
    NuGet.PackageHelper.ResolvePackage(IPackageRepository repository,
    String packageId, SemanticVersion version)    at
    NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem
    packagesFolderFileSystem, String packageId, SemanticVersion version,
    Boolean packageRestoreConsent, ConcurrentQueue<code>1 satellitePackages)<br>
    at
    NuGet.Commands.RestoreCommand.&lt;&gt;c__DisplayClass5.&lt;&gt;c__DisplayClass7.&lt;ExecuteInParallel&gt;b__2()
    at System.Threading.Tasks.Task</code>1.InnerInvoke()    at
    System.Threading.Tasks.Task.Execute()
    System.InvalidOperationException: Unable to find version '3.2.3' of
    package 'Microsoft.AspNet.WebPages'.    at
    NuGet.PackageHelper.ResolvePackage(IPackageRepository repository,
    String packageId, SemanticVersion version)    at
    NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem
    packagesFolderFileSystem, String packageId, SemanticVersion version,
    Boolean packageRestoreConsent, ConcurrentQueue<code>1 satellitePackages)<br>
    at
    NuGet.Commands.RestoreCommand.&lt;&gt;c__DisplayClass5.&lt;&gt;c__DisplayClass7.&lt;ExecuteInParallel&gt;b__2()
    at System.Threading.Tasks.Task</code>1.InnerInvoke()    at
    System.Threading.Tasks.Task.Execute()
    System.InvalidOperationException: Unable to find version '3.2.3' of
    package 'Microsoft.AspNet.WebPages.Data'.    at
    NuGet.PackageHelper.ResolvePackage(IPackageRepository repository,
    String packageId, SemanticVersion version)    at
    NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem
    packagesFolderFileSystem, String packageId, SemanticVersion version,
    Boolean packageRestoreConsent, ConcurrentQueue<code>1 satellitePackages)<br>
    at
    NuGet.Commands.RestoreCommand.&lt;&gt;c__DisplayClass5.&lt;&gt;c__DisplayClass7.&lt;ExecuteInParallel&gt;b__2()
    at System.Threading.Tasks.Task</code>1.InnerInvoke()    at
    System.Threading.Tasks.Task.Execute()
    System.InvalidOperationException: Unable to find version '3.2.3' of
    package 'Microsoft.AspNet.WebPages.WebData'.    at
    NuGet.PackageHelper.ResolvePackage(IPackageRepository repository,
    String packageId, SemanticVersion version)    at
    NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem
    packagesFolderFileSystem, String packageId, SemanticVersion version,
    Boolean packageRestoreConsent, ConcurrentQueue<code>1 satellitePackages)<br>
    at
    NuGet.Commands.RestoreCommand.&lt;&gt;c__DisplayClass5.&lt;&gt;c__DisplayClass7.&lt;ExecuteInParallel&gt;b__2()
    at System.Threading.Tasks.Task</code>1.InnerInvoke()    at
    System.Threading.Tasks.Task.Execute()
    System.InvalidOperationException: Unable to find version '3.2.3' of
    package 'Microsoft.jQuery.Unobtrusive.Ajax'.    at
    NuGet.PackageHelper.ResolvePackage(IPackageRepository repository,
    String packageId, SemanticVersion version)    at
    NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem
    packagesFolderFileSystem, String packageId, SemanticVersion version,
    Boolean packageRestoreConsent, ConcurrentQueue<code>1 satellitePackages)<br>
    at
    NuGet.Commands.RestoreCommand.&lt;&gt;c__DisplayClass5.&lt;&gt;c__DisplayClass7.&lt;ExecuteInParallel&gt;b__2()
    at System.Threading.Tasks.Task</code>1.InnerInvoke()    at
    System.Threading.Tasks.Task.Execute()
    System.InvalidOperationException: Unable to find version '1.0.2' of
    package 'MvcRazorToPdf'.    at
    NuGet.PackageHelper.ResolvePackage(IPackageRepository repository,
    String packageId, SemanticVersion version)    at
    NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem
    packagesFolderFileSystem, String packageId, SemanticVersion version,
    Boolean packageRestoreConsent, ConcurrentQueue<code>1 satellitePackages)<br>
    at
    NuGet.Commands.RestoreCommand.&lt;&gt;c__DisplayClass5.&lt;&gt;c__DisplayClass7.&lt;ExecuteInParallel&gt;b__2()
    at System.Threading.Tasks.Task</code>1.InnerInvoke()    at
    System.Threading.Tasks.Task.Execute()
    System.InvalidOperationException: Unable to find version '6.9.6' of
    package 'MySql.Data'.    at
    NuGet.PackageHelper.ResolvePackage(IPackageRepository repository,
    String packageId, SemanticVersion version)    at
    NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem
    packagesFolderFileSystem, String packageId, SemanticVersion version,
    Boolean packageRestoreConsent, ConcurrentQueue<code>1 satellitePackages)<br>
    at
    NuGet.Commands.RestoreCommand.&lt;&gt;c__DisplayClass5.&lt;&gt;c__DisplayClass7.&lt;ExecuteInParallel&gt;b__2()
    at System.Threading.Tasks.Task</code>1.InnerInvoke()    at
    System.Threading.Tasks.Task.Execute()
    System.InvalidOperationException: Unable to find version '6.9.6' of
    package 'MySql.Data.Entity'.    at
    NuGet.PackageHelper.ResolvePackage(IPackageRepository repository,
    String packageId, SemanticVersion version)    at
    NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem
    packagesFolderFileSystem, String packageId, SemanticVersion version,
    Boolean packageRestoreConsent, ConcurrentQueue<code>1 satellitePackages)<br>
    at
    NuGet.Commands.RestoreCommand.&lt;&gt;c__DisplayClass5.&lt;&gt;c__DisplayClass7.&lt;ExecuteInParallel&gt;b__2()
    at System.Threading.Tasks.Task</code>1.InnerInvoke()    at
    System.Threading.Tasks.Task.Execute()
    System.InvalidOperationException: Unable to find version '6.9.6' of
    package 'MySql.Web'.    at
    NuGet.PackageHelper.ResolvePackage(IPackageRepository repository,
    String packageId, SemanticVersion version)    at
    NuGet.Commands.RestoreCommand.RestorePackage(IFileSystem
    packagesFolderFileSystem, String packageId, SemanticVersion version,
    Boolean packageRestoreConsent, ConcurrentQueue<code>1 satellitePackages)<br>
    at
    NuGet.Commands.RestoreCommand.&lt;&gt;c__DisplayClass5.&lt;&gt;c__DisplayClass7.&lt;ExecuteInParallel&gt;b__2()
    at System.Threading.Tasks.Task</code>1.InnerInvoke()    at
    System.Threading.Tasks.Task.Execute()</p>
  </blockquote>