Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 7, 2012, 01:38 PM   #1
IscariotJ
macrumors 6502a
 
Join Date: Jan 2004
Location: UK
Caching Service

I've just upgraded to Server 2.2, and thought I'd give the Caching Service a whirl, however, it's currently refusing to start saying that it can't be run on a public network. I've checked system.log, and the only thing that stands out is:

Request for registration from https://lcdn-registration.apple.com/lcdn/register failed:
HTTP response 400, body "INVALID_LOCAL_ADDRESS"

I'm a bit confused on what it's after, as all the other services ( DNS, DHCP, file sharing ) work as expected.

Any ideas?
__________________
32GB iPhone, 64GB iPad
IscariotJ is offline   0 Reply With Quote
Old Dec 7, 2012, 10:58 PM   #2
macuser-1
macrumors newbie
 
Join Date: Jul 2012
Your server has to be behind a NAT for the Caching service (and only the Caching service) to work. That's because you don't want the server to be able to register itself to serve cached updates to other clients on the public internet -- it's intended for private networks only, and the only way to ensure that is to support NAT (non-public IP address ranges).

For more information about the service, in Server.app, go to Help...Server Help. Then the Help Center window, expand "Update Client software", and click on Cache App Store software.
macuser-1 is offline   1 Reply With Quote
Old Dec 10, 2012, 11:28 AM   #3
macfusionuk
macrumors newbie
 
Join Date: Dec 2012
non-public IP address ranges

I've run into this problem, scoured the help in OS X server and am coming to the conclusion that the test Apple use for a NAT'ed network is to check the server's IP to the range 10.0.0.0 - 10.255.255.255, 172.16.0.0 - 172.31.255.255
, 192.168.0.0 - 192.168.255.255.
If anyone has any technical info on how the NAT is detected I'd appreciate a reply.
macfusionuk is offline   0 Reply With Quote
Old Dec 15, 2012, 10:45 PM   #4
pwbeninate
macrumors newbie
 
Join Date: Dec 2012
Quote:
Originally Posted by macfusionuk View Post
If anyone has any technical info on how the NAT is detected I'd appreciate a reply.
What I know:
The Caching Service registers it's outside IP address with Apple. This IP gets reported back to the client. (you can see this exchange in the logs)

What I assume:
If that IP is assigned to a network interface on the server, the registration fails.
pwbeninate is offline   0 Reply With Quote
Old Dec 29, 2013, 05:35 PM   #5
IscariotJ
Thread Starter
macrumors 6502a
 
Join Date: Jan 2004
Location: UK
Apologies for resurrecting an old thread, but I've just got around for fixing this, and thought I'd post it here in case it helps anyone else....

Basically, my problem was due the Mac being multi-homed; I had to configure the Caching Server to listen on one interface:

sudo serveradmin settings caching:Interface = en1

Started the server, and now happily caching....
__________________
32GB iPhone, 64GB iPad
IscariotJ is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > Mac OS X Server, Xserve, and Networking

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Safari is not caching Flash milohuang OS X Mavericks (10.9) 8 Oct 14, 2014 08:11 AM
Caching - not working ^squirrel^ Mac OS X Server, Xserve, and Networking 3 Oct 30, 2013 08:46 AM
Software Update Caching NSNick Mac OS X Server, Xserve, and Networking 1 Nov 14, 2012 03:27 PM
caching UIImage daproject85 iPhone/iPad Programming 11 Nov 5, 2012 06:43 PM
iTunes Match and Caching bwaltens iOS 6 12 Jul 29, 2012 10:19 AM

Forum Jump

All times are GMT -5. The time now is 01:02 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC