tag:help.appveyor.com,2012-11-13:/discussions/problems/24515-cache-service-unavailableAppVeyor: Discussion 2019-09-21T21:01:22Ztag:help.appveyor.com,2012-11-13:Comment/474531582019-07-19T22:38:17Z2019-07-19T22:38:17ZCache Service Unavailable<div><p>Hi,</p>
<p>I am trying to enable caching for our project with:<br></p>
<pre>
<code>cache:
- .nuget -> *<em>*.sln, *</em>*.csproj # preserve nuget folder (packages) unless the solution or projects change<br><br>
<br>before_build:
- nuget restore myapp.sln</code>
</pre>
<p>I have also enabled: <code>Save build cache in Pull Requests</code> for our project.</p>
<p>However, rebuilding the PR with the yaml cache change, I get:<br></p>
<pre>
<code>Unable to load build cache items - skipping cache restore
Error making request with Error Code ServiceUnavailable and Http Status Code ServiceUnavailable. No further error information was returned by the service.</code>
</pre>
<p>Any advice?<br>
Thanks,<br>
Raul.</p></div>raultag:help.appveyor.com,2012-11-13:Comment/474531582019-07-22T17:06:59Z2019-07-22T17:06:59ZCache Service Unavailable<div><p>Is this an error you hit consistently?</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/474531582019-07-22T17:34:24Z2019-07-22T17:34:24ZCache Service Unavailable<div><p>Hi Owen,</p>
<p>it was happening consistently on Friday, but I just tried again and the service seems to work now. I can now debug why .nuget does not work (fails to find it in c:\projects\repo).</p>
<p>Thanks,<br>
Raul.</p></div>raultag:help.appveyor.com,2012-11-13:Comment/474531582019-07-22T17:36:07Z2019-07-22T17:36:41ZCache Service Unavailable<div><p>It seems to use the global path C:\Users\appveyor.nuget instead, so I will try '%USERPROFILE%.nuget. But the service does work now.</p></div>raultag:help.appveyor.com,2012-11-13:Comment/474531582019-07-22T18:19:34Z2019-07-22T18:19:34ZCache Service Unavailable<div><p>Thanks for the update. Let us know if you run into it again.</p></div>Owen McDonnell