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

Updated to iTunes 12.1, now iTunes crashes every time it attempts to access the internet through our internal proxy - cannot access store!

Hi,


Does anybody have any experience of using iTunes with a web filtering proxy? My home is using the Sophos UTM home edition to provide edge antivirus and content filtering. More information available here: http://www.sophos.com/en-us/products/free-tools/sophos-utm-home-edition.aspx

The proxy settings for the computer is set to use an automatic configuration script "WPAD" and the settings are locked by group policy and cannot be disabled or changed.


Now here's the problem, when launching iTunes, the iTunes prompts me to enter login details for the HTTPS proxy. That's all well and good, so I enter the login details and hit okay. But when I go to the store tab, iTunes crashes with javascriptcore.dll. This makes sense because a WPAD proxy configuration file is pretty much JavaScript code. But this should not happen, as now I cannot access the iTunes store.

Prior to iTunes 12.1, iTunes would sometimes freeze when attempting to access the store but it would eventually work.

The proxy logs are not showing that any iTunes requests were blocked, dropped or otherwise rejected.


Does anybody have any suggestions to get this to work again or at least work around the issue?

NOTE: Disabling the proxy is not an option because the proxy settings on the Windows computers are locked through group policy. I can however, edit the WPAD proxy configuration file and add exceptions to the proxy but I don't know where to start!

I will also post this on the Sophos UTM support forums.

Thanks in advance.

iTunes-OTHER, Windows 7, iTunes version 12.1

Posted on Feb 2, 2015 6:15 AM

Reply
115 replies

Feb 24, 2015 4:34 AM in response to aliceza

For me, it crashes before the store actually displays anything other than a blank page.

Do you know, or have any sort of idea what proxy software/hardware appliance that your network is using?


EDIT: I'm also going to cross-reference this topic, iTunes 12.1 still frequently crashes when accessing store as it appears to be discussing the same problem.

I'll be monitoring both this topic and the referenced one.

Feb 24, 2015 4:39 AM in response to aliceza

Hi, I'm not sure how to clear my Keychain file, I'm not even sure Windows has one...

We used to use Microsoft's Forefront Threat Management Gateway but now that it has been discontinued, we're using a different Web Proxy, but the problem is still affecting both of us, so it probably doesn't matter what proxy software/appliance is used, the problem will still happen. Which pretty much confirms that this is bad coding on Apple's part. This didn't happen in iTunes 11, but that had different issues which still made it unusable for me.

Feb 24, 2015 4:47 AM in response to aliceza

TMG was very flaky for me anyway, although it had a good run, it didn't seem to like me playing Call of Duty or running Steam games...


Thanks for the link, but the directory specified in the linked topic doesn't exist on my PC.


C:\Users\<username>\AppData\Roaming\Apple Computer\ [DIRECTORY ENDS HERE]

Preferences folder does not exist.

The only folder in this directory is "iTunes".
We don't have the iCloud Control Panel installed.

Feb 24, 2015 4:54 AM in response to aliceza

We're using "roaming profiles" which I think means that our roaming AppData folder is actually kept on a server, and a 'lightweight' one is placed on the local PC. So I looked in my roaming AppData folder on the server.


\\<server>\UserProfiles\<username>\AppData\Roaming\Apple Computer


No Preferences folder here either.

I've got "iTunes", "Logs", "MobileSync" and "SyncNotifier".

Do you and your colleague have any other Apple software installed, excluding iTunes (obviously) and Quicktime?

Feb 24, 2015 5:11 AM in response to aliceza

Might be because I've never saved or remembered any passwords, I always respond to the prompt.

Even then, you said it didn't really solve the problem with proxies.

But can you do me a favour? Go to your Control Panel and Internet Options. Choose the Connections tab and then press the LAN settings button.

Ignore the fact that everything is greyed out. Notice how an automatic configuration script has been set. I believe that the problem is caused if either "Automatically detect settings" is ticked AND a WPAD file exists on the network, or if "Use automatic configuration script" is ticked AND a WPAD file has been specified.

If the "Use a proxy server for your LAN" box is ticked and a proxy server is specified explicitly, the problem does not occur. But that makes life difficult because proxy exceptions would need to be set up on each machine, whereas WPAD allows each machine to automatically configure proxy settings from a single file.

User uploaded file

Feb 24, 2015 9:45 PM in response to Someone7272

We are running with auto configuration applied - I've removed it and have manually specified the proxy server details (had to disable the TMG client as this dynamically updates this) and am going to run like this for a bit and see how it behaves.After the initial few minutes things seem to behaving themselves. I'll post back here with my feedback later.


Perhaps you could try the same just for a bit to test?

Feb 25, 2015 4:06 PM in response to aliceza

Hi,


I've already tried manually specifying the proxy settings, and when this is applied, iTunes does not crash. This would solve the problem for you.

However, this is not a valid workaround for me because it can only be done on the admin account. My iTunes library is on a regular user account, and as the screenshot shows, these settings are locked. We use auto-proxy configuration because it simplifies proxy exceptions, so manually setting the proxy settings would break countless other programs.


This is clearly a fatal bug which Apple have introduced into the iTunes auto-proxy configuration, and I'm not happy, especially because it never used to happen, which means it's not only shoddy programming on Apple's part, it also means poor or non-existent quality assurance and software testing. It's a disgrace for a company on this magnitude.

I've already given up hope and my iPhone is now back in its box for the foreseeable future because I can't do much now without iTunes crashing.

I will also refuse to spend another penny on the iTunes music store until this is fixed (if ever), [not that I could anyway!] And for now, I'll buy some good old vinyls from my local record shop!

Mar 1, 2015 4:28 PM in response to Someone7272

Update:

Had to send my BlackBerry back due to a screen defect. Spent the last day attempting to set up my iPhone 4S without iTunes crashing.

It seems if you cancel all the prompts where it asks for your Proxy username and password, it would delay the crash. But it's still not long enough for iTunes to be useful, and cancelling the proxy authentication prompts means iTunes Store will not work!

Raised a bug with Apple Bug Reporter. Don't expect them to do much but right now, I'd try anything.User uploaded file

Mar 3, 2015 6:21 AM in response to Someone7272

I have the same issues as described when using iTunes radio. Unfortunately, I am forced to use iTunes to have access to iTunes radio, since Apple has no web access to their radio service. This is a service which I pay for and have become so frustrated with iTunes crashing that I have began using Pandora while listening to the ads. This only happens at my office behind an automatic proxy.

Mar 3, 2015 8:38 AM in response to Someone7272

Thank you for this. This does indeed seem to keep iTunes from crashing. I haven't run it long enough to see if the crashes are completely gone, but I could download app updates from iTunes without the connection constantly reseting or crashing which it usually did.


It's annoying to have to do that though. I wonder if there's a way to have iTunes not use the proxy settings?

Mar 3, 2015 8:55 AM in response to Someone7272

If you want, you can reference my bug report, 18736465, as I included crash dumps and the like (though they are for an older version of iTunes).


You mention that the problem doesn't occur in 12.0.1.26, but I've been having this crash ever since upgrading from 11.4. I've actually found 12.1 crashes less than 12.0.1 did. 12.0.1 would crash within a minute or two of launching. With 12.1 I can sometimes run for about an hour, though not always. I think it depends on what iTunes decided to do in the background as iTunes 12 is a lot more "cloud" integrated than 11 was.


iTunes 12.0.1 is crashing

iTunes 12.0.1 keeps crashing (see my response in post 3)

Updated to iTunes 12.1, now iTunes crashes every time it attempts to access the internet through our internal proxy - cannot access store!

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