iTunes' clandestine proxy settings

7,510

Solution 1

Found it! iTunes.exe was apparently incorrectly enforcing disabled proxy settings from Mozilla Firefox, but only for iTunes Store connections.

In the affected user's prefs.js, the following was specified:

user_pref("network.proxy.http", "172.31.1.1");
user_pref("network.proxy.http_port", 8080);
user_pref("network.proxy.ssl", "172.31.1.1");
user_pref("network.proxy.ssl_port", 8080);

However, network.proxy.type was implicitly set to its default value of zero, meaning "don't use a proxy." I don't know if iTunes was calling out to the user's default browser (Firefox), partially parsing the prefs.js settings itself, or what.

In any case, I removed these settings via about:config, and all is well.

Thanks for all the suggestions, and thanks most to a sysadmin friend who suggested I search through the filesystem as well, rather than the just the registry.

Solution 2

Have you considered simply... reinstalling it?
You could try using Revo Uninstaller to uninstall it and remove everything left behind (This may include your music, but revo won't delete anything without your explicit permission, so make sure to check over what it's asking you) and then reinstall it. Not sure if you have to go through any special procedure (like telling apple you're going to uninstall it, so to not mess up ownership stuff, or whatever), as I've so far avoided iTunes like the plague, but make sure of that first.

Share:
7,510

Related videos on Youtube

pilcrow
Author by

pilcrow

Updated on September 17, 2022

Comments

  • pilcrow
    pilcrow almost 2 years

    Problem:

    One user's iTunes consults a defunct HTTP proxy, but only for iTunes Store HTTP requests -- other iTunes web requests are unproxied. How do I dismiss this spurious proxy setting?

    Background:

    It's not as easy as Internet Options.

    Years ago my network had a mandatory HTTP proxy at 172.31.1.1:8080. When we switched to the 192.168.1/24 space and eliminated the proxy, this user's iTunes -- the only iTunes user at the time -- could no longer contact the iTunes Store, an operation which fails with "unknown error -9808".

    This has been the case through several iTunes.exe upgrades over the years and prevents, among other things, activation of a new or newly upgraded iPhone.

    wireshark and TCPView confirm that this user's iTunes.exe is attempting to contact the long-defunct http proxy when attempting to reach the iTunes Store, but is otherwise unproxied. Curious details:

    • No other iTunes.exe HTTP traffic for this user is affected -- iTunes can successfully make HTTP chatter at Apple's servers.
    • No other web traffic at all is proxied, whether this user or others, iTunes or browser, etc.

    I cannot find the spurious proxy setting anywhere in the registry nor on disk, though perhaps I haven't thought of every place to look and every format to look for. Other users who have experienced the same error code all seem to have unrelated web configuration problems (certificate validation, for example).

    UPDATE in response to Phoshi's excellent suggestion, reinstallation hasn't done the trick.

    • tcv
      tcv over 14 years
      Does the Internet Options proxy setting contain any proxy defined at all? In other words, is the original proxy there with the box unchecked? Or is it completely clear. Interesting case.
    • tcv
      tcv over 14 years
      Also: I presume that when it was ORIGINALLY installed there was a proxy? And under what user was it installed? Is this a domain system?
    • tcv
      tcv over 14 years
      I'm curious if you've tried resetting IP? support.microsoft.com/kb/299357
    • pilcrow
      pilcrow over 14 years
      @tcv, there is no proxy configured under Internet Options for anyone -- that option is cleared. Yes, there used to be a proxy, and (IIRC) the Administrator account set it under its Internet Options.
    • iconoclast
      iconoclast almost 12 years
      Have you filed a bug report with Apple? It sounds like they're inconsistent in the way they handle proxies, but since this scenario is unlikely to be covered by their test cases during QA, it hasn't been found and fixed by them. You'll do everyone a favor if you can nudge them to fix this.
  • pilcrow
    pilcrow over 14 years
    +1 for the practical suggestion, Phoshi. Sadly, I've tried that twice over the years and it's not worked either time. Same user has same problem.
  • UNK
    UNK over 14 years
    Damn! I'd give it a try with Revo's highest setting, though, just in case it's a setting hiding somewhere in the registry, but if that doesn't work I'm out of ideas (beyond "reformat", but that might be a little OTT :P)
  • pilcrow
    pilcrow over 14 years
    @rodey, good suggestion and, yes, I have. No other user is proxied for any HTTP operation, iTunes or otherwise. However this user himself isn't proxied for any other operation -- even his own iTunes.exe instance makes some unproxied web connections (confirmed by TCPView and wireshark).
  • rodey
    rodey over 14 years
    I thought maybe this old proxy info was stored somewhere in his user profile. If you let that profile recreate itself then maybe you'd get rid of the reference to it.