Menu

#1485 Iphone music app cannot play audio with privoxy running

3.0.19
closed
5
2012-04-09
2012-04-01
Duc
No

I have posted in the past about privoxy blocking youtube app videos on iphone. The error message 'the server is not configured' would pop up whenever I tried to play a video. I was instructed to add a line to my actions files( i think it was). That fixed the problem.

I noticed the music app on the iphone is giving me the same error. Whenever I tried to play a sample music and or view a sample video, I get 'the server is not configured.' I tried to search for an answer on here but came up empty. If anyone knows how to fix this, please share.

I am running privoxy 3.0.19 on a ubuntu server. Tor is not installed. I haven't got the chance to run a test log. If needed, I will. Thanks.

Discussion

1 2 > >> (Page 1 of 2)
  • Ian Silvester

    Ian Silvester - 2012-04-01

    [This is a canned message:]

    Your support request has been received by the Privoxy team,
    but in order to look into the problem we need more information
    than you provided.

    Please check the following list and add any missing information
    that is applicable to your problem in a new comment to this item:

    * the exact Privoxy version (if you got the source from CVS,
    please also give the date;)
    * if you aren't using an official build that was released by
    the Privoxy Team, you should mention that as well.
    * whether or not you are using Privoxy's default
    configuration (for example if you changed the
    configuration to chain Privoxy with Tor)
    * the operating system and version that you're using
    * the name, version and platform of the browser you were
    using when the problem occurred
    * The URL of the page on which you encountered the
    problem
    * the exact steps that are necessary to reproduce the
    problem. (If it's not reliably reproducible: any other
    information that might be helpful to identify the source
    of the problem, like log or config file excerpts)

    Thanks in advance!

     
  • Ian Silvester

    Ian Silvester - 2012-04-01

    Hi,

    Could you explain more about the setup. Where are the files you're attempting to play stored, and how is the iPhone connected to the network in order to be able to play them? I ask because, by default, the Music app plays content that is stored on the iPhone itself in which case Privoxy (indeed, the network itself) would have no relevance?

    Ian

     
  • Ian Silvester

    Ian Silvester - 2012-04-01
    • assigned_to: nobody --> diem
     
  • Duc

    Duc - 2012-04-01

    My mistake. I meant to say the iTunes music app and not the music app. The app lets you listen to sample music files stored on apple's server before purchasing. I'm connected to my wifi network through iPhone's http proxy setting. If I disabled the proxy, I'm able to listen to the sample files.

     
  • Ian Silvester

    Ian Silvester - 2012-04-02

    Thanks for submitting this support request!

    The issue that you are inquiring about is related
    to Privoxy's site-specific configuration, i.e. to its
    default actions file, as opposed to concerning the
    program itself or its general configuration.

    In order to keep track of and efficiently deal with
    feeback relating to the default actions file, we
    have created an automated feedback system
    and due to our limited development resources
    this is also the only way in which we can accept
    and process such feedback.

    If you drag the feedback bookmarklet from
    http://www.privoxy.org/user-manual/appendix.html#BOOKMARKLETS
    into your browser's personal toolbar, it will
    call and prefill the feedback form for you, which
    is also much more convenient than manually
    creating a support request.

    Thanks for your understanding!

    Hint:
    Since filters are the most common source of
    trouble, adding the site in question to a
    {-filter} section of your user.action file should
    fix you in most cases.

     
  • Ian Silvester

    Ian Silvester - 2012-04-02

    Okay, gotcha. So then the next course of action would be to:

    - enable debug values 1 & 1024 (log all requests let through and all requests blocked - see the documentation for details of how to enable debug logging).
    - note the time and date
    - attempt to play a sample via iTunes on the iPhone.

    Then attach your logfile to this support ticket and note the timestamp when you ran the test - as a first approximation I'm guessing that your ruleset is blocking a request that iTunes depends upon.

    Other questions:
    - what OS is on the computer running Privoxy?
    - are you running it with an external PCRE library? To answer this, go to http://config.privoxy.org/show-status , scroll to the bottom and let us know the value of STATIC_PCRE.

    Cheers,

    Ian

     
  • Ian Silvester

    Ian Silvester - 2012-04-02
    • status: open --> pending
     
  • Duc

    Duc - 2012-04-02

    logfile-itunes-music-app

     
  • Duc

    Duc - 2012-04-02
    • status: pending --> open
     
  • Duc

    Duc - 2012-04-02

    I have attached a log file with the debug values enabled per request. I also tested on some random music and video links via to itunes music app on the iphone.

    The privoxy is running on an Ubuntu server (11.10) and the external PRCE library is set to 'no'.

     
  • Ian Silvester

    Ian Silvester - 2012-04-02
    • labels: 210415 --> actions files
    • status: open --> pending
     
  • Ian Silvester

    Ian Silvester - 2012-04-02

    Great - so that log file tells us that there are two servers for which requests are being blocked; the lines that begin 'Crunch' are either requesting from metrics.apple.com or a1.mzstatic.com. For the latter, the URLs contain the word "ad" which is for sure why they're being blocked. Either way, take one example of each request and plug it in on this page:

    http://config.privoxy.org/show-url-info

    This'll tell you which of your rules is/are blocking the URL, and from there you can work out how to unblock it. The easiest way would be to put both domain names in a generic -block section of your config file.

    Let us know how you get on,

    Ian

     
  • Ian Silvester

    Ian Silvester - 2012-04-02

    I think this is a manifestation of the "100% CPU" problem. What
    happens is some site has massive amounts of whitespace in their
    HTML that you don't ultimately see, but Privoxy spends a lot of
    time trying to filter it all. The interim solution is to keep
    Privoxy from filtering that particular site in the user.action
    file. Of course, once Privoxy starts spinning, it'll need to be
    killed and restarted.

    The problem is in the js-annoyances and the unsolicited-popups
    filters. If you turn those off in general (or for your problem
    site(s) in particular) I think you'll have better luck. Can you
    please give that a try?

     
  • Duc

    Duc - 2012-04-02

    logfile-rules-being-block-to-itunes-music-app

     
  • Duc

    Duc - 2012-04-02
    • status: pending --> open
     
  • Duc

    Duc - 2012-04-02

    I have tried the second method by deleting the two rules mentioned but I still cannot cannot to the links.

    The two links you provided shows me the rules being blocked. However, I do not know how to unblock them from provixy. I have enclosed a text file of the rules being blocked to itunes.

     
  • Ian Silvester

    Ian Silvester - 2012-04-02
    • status: open --> pending
     
  • Ian Silvester

    Ian Silvester - 2012-04-02

    Hi,

    I note that you have implemented a +block rule explicitly for metrics.apple.com in order to block mobile ads. You might find that it is this very rule that prevents the sample audio from playing - try temporarily removing this rule and see if that solves the issue.

    If not, then it seems that the other URL is the problem one. You could add an explicit -block entry for a1.mzstatic.com and see if that solves things.

    Fundamentally the idea is to add special-case unblocking (or other, less strong filter disabling) for certain specific URLs that are getting blocked.

    Ian

     
  • Duc

    Duc - 2012-04-03

    Hi. I tried adding 'a1.mzstatic.com' to my whitelist.action and remove the other link from my mobilead.action. It didn't work.

     
  • Duc

    Duc - 2012-04-03
    • status: pending --> open
     
  • Ian Silvester

    Ian Silvester - 2012-04-03

    All I can suggest is that you generate a new log file, see which URLs are still getting blocked, tweak your rules to let those URLs through, then repeat until no URLs are shown as blocked in the log output. There's no magic to it!

    If you get to that point (no URLs blocked) and you _still_ get the error then something more complex is going on, but whilst URLs remain blocked that is the most likely cause of the failure.

     
  • Ian Silvester

    Ian Silvester - 2012-04-03
    • status: open --> pending
     
  • Duc

    Duc - 2012-04-03

    Thank you for the tips. I finally got it. I needed to filter these two links as '{-filter -deanimate-gifs}' and not {-block}
    .phobos.apple.com
    .mzstatic.com

    For anyone having the same issue where iphone youtube.app AND itunes.music store.app are not playing with privoxy enabled. Paste this filter in your whitelist.action file.

    {-filter -deanimate-gifs}
    .googlevideo.com/videoplayback
    .youtube.com/videoplayback
    .phobos.apple.com
    .mzstatic.com

     
  • Duc

    Duc - 2012-04-03
    • status: pending --> open
     
  • Ian Silvester

    Ian Silvester - 2012-04-03
    • status: open --> closed
     
1 2 > >> (Page 1 of 2)

Log in to post a comment.

MongoDB Logo MongoDB