Apple Event: May 7th at 7 am PT

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

iTunes, An unknown error occurred (502)

I purchased a couple of albums from iTunes store last night and there are 3 tracks from one of the albums that just wont download and return: 'An unknown error occurred (502)', this is odd because this is supposed to be a connection error while all the other tracks downloaded but these 3 continually gave the error. I tried again this morning and even switched off all the Network barrier software just in case and the same thing happens.

This seems very odd as I mentioned all the other tracks downloaded before and after these problem tracks tried to download, so the issue appears to be these 3 tracks for some reason.


Any suggestions?

MacBook Pro (Retina, 15-inch, Mid 2014), OS X Yosemite (10.10.1)

Posted on Sep 23, 2015 1:06 AM

Reply
21 replies

Feb 11, 2016 11:47 AM in response to Mike B

You could be right, and I can't discount the, ahem, "challenging" nature of iTunes today, but there is much network voodoo going on in the cloud of which even network admins are unaware. For example, accessing a game download, a sign-in to a PSN ID, and various other services from the Playstation Network can work, while only certain demos, and movie rentals will not (personal experience.) There are ports, cached files, reroutes, and mumbo-jumbo at work here that can rarely be explained by 1st and 2nd-tier technical support, and would require deep data center investigation to obtain more information.


9 out of 10 tracks could be hosted at one server in Luxembourg, and the remaining track could be hosted in Alabama. More likely, that one track had some corrupted cache file at your ISP. ISPs do stuff like that so that everyone downloading Bieber's latest album don't have to ALL download it. It just comes from the ISPs cache, or Akamai, or Amazon S2 servers, saving them, and Apple, bandwidth. Be assured that Apple, along with everyone else in the world using cloud services, IS changing settings and configurations on their end which affects many things. This is the nature of the world of software as a service. These things get created, fixed, and altered daily by the network gurus who work there and magically our stuff begins to work again...or not.

Feb 23, 2016 7:18 PM in response to Sinisa_L

I appreciate your corroboration, but turning off the caching service doesn't solve the problem/mystery. You've worked around the problem by disabling a useful service that—for an unknown reason to us, but probably not to Apple—just punishes you, because now you won't benefit from the caching service. Perhaps you don't need it, and can happily re-download OS releases, patches, and apps for all your devices, but this service saves me *hours* of time weekly.

Feb 23, 2016 7:27 PM in response to Matt W (TechnicalMac)

I agree with fact that Caching Service is quite important and in larger network environment essential. Mystery is still there and in my smaller controlled environment I will most likely switch it off every fortnight for as long as iTunes update get in and then switch it back on. On that note I wander if anyone has had same error on El Capitan and OSX Server 5.0.15. Thinking of dedicating this weekend to make a move to "latest and greatest".

Feb 23, 2016 7:51 PM in response to Sinisa_L

Upgrading is, of course, exactly what Apple wants. However, their best intentions do not change the fact that sometimes computers need to remain static and we, as admins, need MUCH more transparency about how and why a service has suddenly decided to stop working so we have the knowledge we need to decide to use a stable, but unsupported system, or move ahead with buggier, but supported systems.


It is interesting to note that while enabled, the caching service's data size has incremented for Mac App Store downloads, but not for iTunes.

Jul 2, 2016 12:17 PM in response to Mike B

I had this error on my Iphone trying to download Google Maps. Turned off the Wi-fi and used the Cellular data instead and the problem went away. I would suspect the average home router has some ports blocked that Itunes tries to use on some downloads. Though I downloaded 2 other apps through the router with no problem.


Suggest trying different networks or go into your router setup and shut off all firewalls and enable all ports. That might fix your problem. And if Apple reads this i might suggest they look at these problem apps and see what they are doing differently from the rest and try a permanent fix at their end.

iTunes, An unknown error occurred (502)

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