Apple’s Worldwide Developers Conference to kick off June 10 at 10 a.m. PDT with Keynote address

The Keynote will be available to stream on apple.com, the Apple Developer app, the Apple TV app, and the Apple YouTube channel. On-demand playback will be available after the conclusion of the stream.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mavericks Caching Server Doesn't Work

Hey Everyone,


So I upgraded to 10.9, which is great, purchased the new Server, which is great and no matter what I do I can't get it to work. Which is not so great.


Here's the story:


1) Clean install of 10.9 on 2013 mac mini. Multiple times in fact.


2) Install OS > Configure Network (fixed eth ip) > Disable Wifi > Set Hostname > Configure App Store ID > Download Server > Install Server > Enable Caching.


3) Server is not a gateway and is connected directly to the LAN with a fixed IP (via time capsule). External IP confirmed to be the same between Server logs and the clients. Power saving is disabled (mini is on 24/7). Firewall is disabled.


4) Multiple clients running latest OSX / iOS. All using the same Apple ID as the Server. Tried some clients with a different ID from the same region (US) and from a different region (EU).


5) No matter what I do, the only stuff that's being cached is the system updates (itunes / codecs / etc.). Not a single OSX / iOS app is being cached.


6) Tried a variety of .plist changes, increased the log verbosity. No errors in Debug.log: normal registration, etc. But not a single OSX / iOS app is being cached. Downloading apps on clients doesn't do anything (i.e. doesn't spawn a single line of log), even with logging = verbose. Restarting the services doesn't reveal any issues, just a regular registration every single time.


7) Asked Apple for help, they asked for log files and remain silent since then (couple of days now).


I wasted so much time on this already. I'd be really grateful if anyone pointed me in the right direction (other than a wall with a "bang head here" poster).

Posted on Oct 27, 2013 2:30 AM

Reply
111 replies

Nov 8, 2013 3:00 AM in response to t.pawelek

Thanx for the pointer!

I'm the first to admit I'm a relative noob at this. I've looked at [what I think are] a lot of logs and log files on servers and client machines, some relevant, most not. That's why I'm here, if I dont understand something I'll look for answers, there's nothing I do that hasnt been done before, and people have had the same questions answered.

Nov 14, 2013 6:06 AM in response to t.pawelek

I have made some head way on why the caching server did not work for me and is now working. Here is a short background on my set up. I have a 16 bit subnet NAT address scheme and more than 100 public ip addresses. All the computers, laptops, ipad and etc. leave the school with the same external ip address x.x.x.130 (remember this). The production mac server we use houses two web sites. One site is mapped to ip x.x.x.133 this is also the external ip address the production server use to access the internet. Caching was not working on the production server. So I tried on a test server I have running on a mac mini. The mac mini uses the ip x.x.x.130 to access the internet. Caching works on the mac mini. So the solution is simple the caching server and devices must use the same external ip address to access the internet for caching to work.

Nov 27, 2013 5:58 PM in response to t.pawelek

That would be a major pain! We have a guy from USA in our office in Australia. So, according to this Apple policy his iOS updates should not cache?! As we have four load-balanced ISP ADSL modems and therefore alternative and randomly selected public IP address, I'm holding off my updates until I get home, as I have a caching server at home, which brings up another question.


If the server (at home) has not been awake for 55 minutes when someone updates their Mac, iPhone or iPad, is the server's earlier registered IP still valid, say from yesterday?

Dec 7, 2013 5:15 AM in response to t.pawelek

I'm now finding a problem with the Caching Service. It's tricky sometimes reading this discussion, trying to work out whether a reference to iOS apps being cached or not refers to updating being done from the iOS device itself, or in iTunes on a Mac, but here's my problem:-


I am in the UK and AppleID is registered to same address, so should be no geolocation discrepency.

Everything is on same network, same subnet.

Mac Server that provides Caching Service also provides DNS and DHCP etc.

Single ADSL router to ISP with just the one external IP address which is dynamic but never changes.


I thought it was all working, but in my router I have a handy disagnostic tool that monitors traffic flow across the ADSL link to the Internet (well, ISP in fact of course) which shows the rate of data transfer and the local client it is coming from or to. In this way I can see exactly who has requested the data.


When updating an iOS app for the first time within iTunes on my (client) Mac, I can see there is a big data download to the SERVER, while iTunes states it is downloading the specified app. So this appears to be working perfectly. A conversation between the 3 parties (Mac client, local server and Apple's servers) has ascertained it needs to be downloaded, which is done to my Server, which is simultaneously also passing it on to iTunes on my client Mac. Perfect.


But if I then update that exact same app on an iOS device (no matter which one), the data is again downloaded from the Internet - direct to the iOS device. IOW, iOS 7 appears to be making NO attempt to use the Caching Server.


No matter which way I try it, either as above, or updating first on the iOS device, it is quite clear that iOS is NOT using the Caching Server, but Mavericks does appear to use it correctly.


Use of a Caching Server is supposd to be a 'no configuration required' service, but even so there might be some foibles. However, there just doesn't seem to be anything that can be done to fix this. There is NO configuration available in iOS 7. It should 'just work' and quite patently it does not. Am I missing something or is this simply another case of Apple's ambition exceeding their talent.

Dec 8, 2013 1:08 AM in response to Ed Palma

It defaults to UK, so looks like it is indeed correct.


Surely if it was wrong, it would affect ALL use of my Caching Server, but in my case it is specifically only iOS devices that are ignoring it. Updates etc performed on the Mac are using the Caching Server as they should. It's something to do with iOS 7 not working correctly - or it's something I'm not doing, but since this whole process is supposed to 'just work' without having to do anything, it's looking like another Apple **** up.


Some earlier posts indicated Apple are aware of a problem, but it wasn't made clear exactly what the problem is that they are aware of. Is it to do with iOS issues (i.e. not working) with the Caching Service?

Mavericks Caching Server Doesn't Work

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.