Unable to play youtube videos - using pro…
Imported from the Apple Support Forums via the Wayback Machine 🔗
Youtube videos do not play in my configuration. Most youtube content appears, but attempting to play a video results in a popup message "This movie could not be played". Sorry for the length of the post, but I'm trying to get enough documentation down here to save some time for the next person who runs into this.
My basic network configuration is:
ipod->wireless-router->squid-proxy
->pix->internet
*I am analyzing logfiles from the proxy and the pix, and I have network traces from the proxy.
There are 2 issues so far with proxy access from the youtube application on the fw v2.2 ipod touch. After hitting the first issue, I made a call to tech support who pointed me to an older apple discussion thread about a similar issue which indicated the problem could be fixed by "reconfiguring the proxy server", but no details were given in that discussion thread about exactly what needed to be 'reconfigured'. I believe have figured out what was going wrong, and I document it as issue 1 below in case anyone else runs into it.
Issue 1 (which I managed to get solved) is that the youtube application sends a 'Host:' header pointing to gdata.youtube.com, but the requested url is actually iphone-wu.apple.com. Squid rewrites the 'host' header to iphone-wu.apple.com, and the target server fails the request with a 404. A solution (for squid) is to use a redirector to rewrite these url's to actually go to gdata.youtube.com and to set the 'url
rewrite_hostheader off' value.
Unfortunately, resolving issue #1 was not sufficient to get youtube off the launch pad:
Issue 2 (which seems unsolveable at the moment) is that the youtube application is ignoring proxy settings for some of its content requests. In addition to the proxy requirement, I have egress firewalling and logging set up. I observe the youtube application asking for many url's via the proxy and then I observe the egress firewall deny an attempt at a direct access to port 80 on an external server BYPASSING the proxy settings. Without opening up the egress firewall rules (and thereby disable requirement for a proxy), this makes the youtube application inoperative.
If anyone has some insight on how I can get this working, I'd appreciate it. I will attempt another support call tomorrow with my logfiles in hand...
4 replies
Sign in or join Beachball Help to reply.
- 0
- 0
- 0
- 0