Iphone4s and iCloud/Apple Movie Trailers app stuck in loop using battery on wifi

This one is a long story and took me a day or so of looking around to figure out.  I don't know if it causes all the battery drain issues, but it was at times causing some usage on my 4s.
Background:
I use my mac as an iTunes server - always running - so AppleTV can reach it etc via homesharing.  I have a TimeCapsule too and a neat feature is wake on demand proxy where if the the mac is set for wake on demand and it is a sleep, the AppleTV will wake it via the proxy.   Works great.  Even the iOS remote apps will wake it.  Anything requesting a bonjour service that is active on that sleeping mac will wake it.  All was good.
Then one day, I noticed it waking in the middle of the night - whenever the iPhone turned on with a notification.  I thought that was weird.  I quit the apps. hard reset, etc.  Still occured.  I could put the mac to sleep and just turn on my iPhone and it would wake.  Note I have an iPad and it did not exhibit this behavior.  I gave up for a few days.  Mac would go back to sleep after 10 minutes so no big deal.
Side note  I also have wifi sync OFF.  I had it on for itunes syncing but noticed that iTunes maintained a constant connection to the phone even when not wired so you can drag and drop to the phone etc.    So to be sure that was not draining battery, it turned it back off.  It also would wake on demand when it was enabled so I knew it wasn't that setting causing the issue.
Investigation:
I started with netstat and my airport logs.  I found my mac address, ip address, and then found when I turned on the phone a connection established everytime to port 49166 on the phone.   It would create a connection everytime the phone turned on.
I used 'sudo lsof -i -P' to find the process opening the host port on the mac to that phone port.  It was 'ubd'.  Looking that up on google, I found it was the Ubiquity process.    I also found that it had a log in '~\Library\Logs\Ubiquity'.  Looking at the log, I found the following occuring whenver I turned on my phone and usually very few minutes while the phone was on:
[ERROR]       99090c4718 [11/11/22 09:50:34.347] {D2650C3E} 264.connect-https://xxxxx-xxxxx-iPhone.local.:49166 parse_cert_challenge:608 signer 0: com.apple.idms.appleid.prd.4243556669426c674b3255694250464d4d41395633513d3d
[ERROR]       9911fa663c [11/11/22 09:50:34.497] {D2650C3E} 264.http_runloop client_received_error:401 client 0x7fa868433850 error The operation couldn’t be completed. (OSStatus error -9801.) userinfo <CFBasicHash 0x7fa86862e5b0 [0x7fff74f3af40]>{type = immutable dict, count = 0,
[ERROR]       9911fa663c [11/11/22 09:50:34.497] {D2650C3E} 264.http_runloop client_received_error:401 entries =>
[ERROR]       9911fa663c [11/11/22 09:50:34.497] {D2650C3E} 264.http_runloop client_received_error:401 }
[ERROR]       9911fa663c [11/11/22 09:50:34.497] {D2650C3E} 264.http_runloop client_received_error:401
[ERROR]       9b655ad834 [11/11/22 09:50:44.486] {D2650C3E} 264.ubd-main-loop save_local_state:5772 NOT saving identity   0: 'com.apple.idms.appleid.prd.4243556669426c674b3255694250464d4d41395633513d3d' of type 2
[ERROR]       9d5e1dfa80 [11/11/22 09:50:52.954] {D2650C3E} 264. shutdown_file_transfers:714 cancelling any pending ftrs from peer 0x0003
I assumed those 401 errors were http errors.  The logging would kick in whenver the phone was turned on.   I figured a loop like that must be using battery at least on wifi.  I don't think it does this on 3g.  I didn't know if this was related to the wake issue but it was the only clue.
I found a macworld article on problems with iCloud/Ubquity causing a hang.  I didn't have a hang but I wondered if there was a file sync of some sort going on.  I remembered reading somewhere that on OSX, documents for sync are kept in '~/Library/Mobile Documents'.  So I looked there.  I found one file called '43LU875E5~com~apple~movietrailer' and a hidden directory called '.ubd'. which has files with names and id's that matched some early parts of the log.
I was at a loss.  Since it was a connection problem, I took Safari on OSX, turned on the phone, and connected to the https address in the log.  Sure enough, I got messages from keychain to add roots and ccerts etc. Did this and eventually got an error returned.  But it did connect which meant the phone was running a web server.  Neat.  And ubd wanted to connect to it and couldn't and was going to keep trying forever.
Since the only clue I had was the movies trailer data file, I went to my iCloud control panel and sure enough there is a movies trailer data file in iCloud (along with my ipad and iphone backups).  So I tried to delete it .  iCloud returned an error and could not delete.  OSX console log showed an http 500 error.  
So, I figure not much else to do, so I delete the app from my phone and my ipad.  It even gives a nice warning when deleting that you have a file in iCloud that you may want to delete.  Unfortunately, I still couldn't.
Final Testing
After deleting the app from the phone, I checked the ubiquity log.  I could turn on and off the phone and it would no longer create the log entries, no netstat connection, no web server running anymore.  I put the mac to sleep, and turned on the phone,  It would not wake it up.  Repeated test.  Passed.  Opened the Remote App and it woke up the Mac as expected.  Everything was back to normal and I no longer had a looping connection between my Mac and my phone.   Note - this occured even when the trailers app was shutdown on the iphone.  This appeared to be an iCloud sync issue.
Final Thoughts
- This did not occur with my iPad and it had the same app.  I deleted it there to be safe.
- I have no clue how much battery this uses.  I have pretty good life most of the time and my assumption is no matter what, it would help to turn this loop off.  It was really the waking the mac all the time that had me bothered. I just stumbled on a bigger issue.
- I doubt the problem is occuring all the time. My ipad did not have the issue, only the iPhone.  It was likely an anomoly that showed up and may or may not occur.  I thought posting the experience and if anyone else is having similar problems this may help.  I am not advocting that everyone remove the app.  Just take a look around if you are using the app and are seeing issues.

Thank you!!! Thank you!!! Thank you!!! Thank you!!!
Hallelujah!!! Thanks for the correction (fat fingers, as you suspected).
Now to the good news. I started Safari, then pasted the URL in and pressed Enter. To my utter amazement the quicktime "Q" logo appeared briefly, then a "screen" box in the window and the movie itself began to load. After a short while it began to play, just like it should!
More good news. The exact same technique worked in Firefox as well!
Now the not-so-good news. When I enter the URL in Quicktime Player "Open URL", the player window opens showing the audio and video controls but no "viewing screen". I let it run for about 5 minutes and nothing ever appeared. I must qualify this by saying that right now my wireless connection is running very slow, so I will try QTP again when things are moving faster.
Believe it or not, this is the very first suggestion I tried that actually made a noticable difference. Of course, this is still a workaround (which I will gladly use). Hope there is a permanent resolution to this somewhere.
BTW, I plan on downloading and re-installing OS X 10.5.2 using the "Combo" package. My original install of both 10.5.1 and .2 were done via "Software Update" and this is the only other suggestion I've seen that might resolve my issue. My plan is to do the re-install only on the G5. If it corrects the problem there, I'll wait a week and then do the same with my MacBook.
In either case I will let you know the results in a follow-up post to this topic.

Similar Messages

  • Movie trailers app has no audio

    I'm not getting any audio from Apple's movie trailers app - unless I'm using headphones. Otherwise, nothing. Anyone else have this issue, as well?

    Am I better off just springing for QuickTime Pro? Can Pro convert the VOB files to an iPod-readable format?

  • Parental Controls / Front Row / Apple Movie Trailers

    I have Parental Controls set up for my children. If they start up Front Row, they have access to the Apple Movie Trailers. Even though these trailers are approved for all audiences, they often contain mature, adult, and disturbing images.
    So, how do I block access to Apple movie trailers? Here is what I've tried:
    1. Remove access to *.apple.com in Parental controls. Didn't work.
    2. Block *.apple.com in SafeEyes (internet filter program). Didn't work.
    3. Uncheck Front Row in Parental Controls. Didn't work.
    Front Row works no matter what Parental Controls says. And the trailers do not seem to be hosted on *.apple.com...
    Any ideas as to what else I can try?
    Thanks in advance!

    "Front Row.app" can be disabled by downloading and installing the "Server Admin Tools" from Apple and using "Workgroup Manager.app", but to avoid the hassle for a one-off like this, try logging in to an "admin" account, launching "/Applications" > "Utilities" > "Terminal.app" and entering a command of the form below, substituting the managed account's "short name" where it says 'username':<pre style="overflow:auto; padding: 5px; width: 500px ; font-size: 10px; border:1">
    /usr/bin/sudo /usr/bin/dscl . -mcxset /users/username com.apple.frontrow PreventActivation always -bool true</pre>
    As an aside, note that the "Front Row.app" in the "/Applications" folder is just a launcher for the actual "Front Row.app" buried in "/System/Library/CoreServices".

  • Apple Movie Trailers Gone In ML?

    Hello Folks,
    I recenlty upgraded from SL to ML. In SL I could press/select command and esc and get an application with Apple Movie trailers to watch.
    I  can no longer do this key command in ML.
    Was this capability removed from ML, or is it still there with different keystrokes?
    Many thanks for any help.

    Thanks for the pointer and link.
    What was a feature in SL was a keystroke combination of command -esc which brought up Apple Trailers. All the trailers were listed in alphabeticlal order with descriptions of each and if clicked on would play.
    It was a really nice feature in SL, and Leopard, used it for years.

  • HT204053 I set up one apple id for icloud on my iphone and another apple id for ipad.  I cannot use icloud to automatically sync the two.

    I set up one apple id for icloud on my iphone and another apple id for ipad.  I cannot use icloud to automatically sync the two.

    How can I delete the incorrect apple id?

  • I have the wrong apple ID on my iPhone 4 for face time and iCloud.  I have the right apple id for iTunes store.  How can I can face time and iCloud apple id?

    I have the wrong apple ID on my iPhone 4 for face time and iCloud. It has my husband's ID because he synced it to his one time.  I do my apple id for iTunes store.  How can I can face time and iCloud apple id?

    iCloud:
    Settings > iCloud > Delete Account then lock in with your Apple ID.
    FaceTime:
    Switch Settings > FaceTime > FaceTime OFF and switch back on with your Apple ID.

  • I updated my Iphone4 and had the m.calendar app with all of my daily temperatures saved, since the update after even after synching the iphone to itunes I have lost months of tracking I am devastated!! can anyone help get it back

    I updated my Iphone4 and had the m.calendar app with all of my daily temperatures saved, since the update after even after synching the iphone to itunes I have lost months of tracking I am devastated!! can anyone help get it back

    I don't understand this answer. What do you mean " your contacts should be in whatever program/service you have selected to sync."? The address book is created on the phone not in Itunes or any other program/service. When Itunes says backing up phone I have to assume it backs up everything on the phone. Most of what's on my phone does not come out of itunes. I download apps directly on the phone. When the software updates it does not bring those apps back. I have to go into the appstore and install them all over again. Itunes music library syncs with whatever is on the device your linked up to BUT the phone book just dissappears after you update the phone. There is no way to save it anywhere else.

  • TS2972 my apple tv devices and other apple devices can access my library but using my library, i cant access any of the apple tv devices through airplay

    my apple tv devices and other apple devices can access my library but using my library, i cant access any of the apple tv devices through airplay

    Home sharing isn't working either
    Which is why you can not use the remote app.  Did you turn on home sharing on your computer and on ATV?
    eve though they have the same Apple ID.
    Did you enter the ApplieID in the home sharing login though?  Or just in for the iTunes store, or iCloud, or photo sharing, or something else?
    Home sharing isn't working either, I can't play or transmit any video from my iPad to the Apple TV because it doesn't recognize it
    That would be AirPlay, not homesharing.  THey are not related.  Did you enable air play on all the devices?
    Have you run the network test tools on ATV?  Can ATV access the iTunes store, Netflix, etc?

  • What do i do when i go to charge my ipod and the apple logo shows up instead of the low-battery icon?

    what do i do when i go to charge my ipod and the apple logo shows up instead of the low-battery icon?

    Try resetting.
    Press and hold the On/Off Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears.

  • ITunes Movie Trailers App for Australians

    I loved Frontrow on my mac.. and when i updated to Lion I lost it... I always go to the Itunes trailer area on itunes... I saw this app yesterday and thought awesome.......
    but guesswhat..... it's like most things ..... Australia is the forgotten ugly duckling.... Books and tv shows and movies which I could buy from the US Itunes store arent availbale here in australia...
    what a joke...
    Its a digital world apple.. and we speak english down here... what ever is available in the  US should be available here
    grrrrrr
    hopefully someone will agree with me ... try downloading I am number 4 book from Ibooks... in the US 100% ok here in Australia nope..
    How can I get iTunes Movie Trailers?
    iTunes Movie Trailers is available in the App Store.
    In which countries is iTunes Movie Trailers available?
    iTunes Movie Trailers is only available in the United States.
    what the??????

    I feel your frustration.  However, this is not Apple's fault, but rather the owners of the rights to TV, Movies, Trailers, Books and so on.  Until a deal is negotated Apple just can't release that stuff world wide.  The same has happened in Canada and the UK (where thye speak English also).
    In a similar way the BBC iPlayer app can't be used outside the UK.

  • Apple TV 'Trailers' App stops starts all other streaming fine, why?

    Hello,
    Just bought an Apple TV (I think that makes it 3rd generation?). Netflix streams fine, movie previews from itunes stream fine but when I use the Trailers app built in to the Apple TV it stops and starts a couple of times through the majority of trailers. Why is this particular app getting it wrong when everything else works? I've not rented a film yet but obviously a 2h hour film isn't comparable to a 2 minute trailer.
    My internet speed clocks at about 9Mb/s
    Anyone any ideas?

    You probbably have it set to use HD resolution, and Trailers are higher quality in genral anyway making them more demanding on your network connection to be able to watch.
    Yes I found that option previously but didn't make the link as it is in the settings menu under 'itunes store' which I presumed was specifically for....the itunes store, plus on the play button in the Trailers app it still says HD regardless of your settings.
    Also not the same thing.  Rentals have to be fully downloaded first, they are not streamed so it does not matter if your connection is slow it will just take longer to download, but you can watch it un-interrupted then.
    Is the Apple TV different from say renting on your laptop? because that gives you the option to start playing the movie prety much straight away without downloading the whole movie.
    I am guessing you are using WiFi.  I would start by trying a wired connection and see if that resolves the problem.
    I will give the wired connection ago at some point, but watching trailers in SD for now is good enough, just need to try renting a film to make sure it works wireless as that i my prefrence. Thanks for your help!

  • Cannot install "iTunes Movie Trailers App" on new iPad

    Hello all,
    I just got the new iPad (3rd Gen.).
    I am trying to install the iTunes Movie Trailer App (http://itunes.apple.com/us/app/itunes-movie-trailers/id471966214?mt=8)
    For some reason, after clicking the install icon, I get an error Pop-up screen that says "Action could not be completed".
    I have installed plenty of other Apps with no issues at all.
    Is this App only for U.S.  users (I am from Canada)?
    I suspect it is something like this because my son also cannot install this App on his iPod touch.
    Any ideas?
    Christian

    I am actually seing it in Canada.
    Nevertheless, it should be able to say "Not available in your region" before I even get the possibility to download.
    Like for example, if I go on the MTV website, I cannot view their videos, they give a proper message.
    For sure they would be able to do the same in a more user-friendly message.
    Another good example, go see this App for the BBC, first thing they say: Exclusive to the UK.
    http://itunes.apple.com/gb/app/bbc-olympics/id538520463?mt=8
    Simple, one line says it all.

  • Apple movie trailers not working

    Hi!
    I have a problem watching any movie trailers on www.apple.com/trailers page.
    If I try to open HD trailer it i get a message that URL is not valid.
    If I try to open normal trailer (not HD) I get quicktime logo with question mark and nothing happens.
    Anybody else got this problem or there is something wrong with my mac?

    That has been discussed ad nauseam in this thread in the Quicktime forum:
    http://discussions.apple.com/thread.jspa?threadID=2307414&tstart=0
    Seemingly there was a period when Snow Leopard users could not see the movie trailers, but it appears to have been resolved.

  • Apple Movie Trailers Website not displaying Correctly

    Hi, for a few days now when I go to Apples Movie Trailer Website, there's a gap where the trailers should be. Here's a screenshot: http://img198.imageshack.us/i/screenshot20100412at422.png/ Does anyone else notice this?

    Hi Stuart,
    I just tried the same page. I think it's an Apple glitch, not your Mac. I had to reload the page 3 times for it to work. You aren't missing any of the movie trailers. For whatever reason the thumbnails are just re-arranged.
    Just in case... from the Safari Menu Bar, click Safari/Empty cache. Relaunch Safari and see if that helps.
    Carolyn

  • Can't save apple movie trailers

    I just noticed with OS X 10.7.4 that you do not have the save feature for movie trailers that stream from the apple website. You can save them on iTunes, but if you try off the apple trailer page, you can't save it. You can download it but I've gone searching through my folders, used my search engine, even tried to look for a root folded that could be hidden.
    So below I've added a screen shot of my situation. This is the movie trailer "Beautiful Creatures" that just got released today on Apple Trailers. I can't save the file through Quicktime.
    I'm kind of going out of my mind a little trying to figure out why this isn't working. Anyone have any idea why OS X 10.7.4 doesn't have this option for Quicktime?

    I'm kind of going out of my mind a little trying to figure out why this isn't working. Anyone have any idea why OS X 10.7.4 doesn't have this option for Quicktime?
    The File Menu "Save As..." option has been merged with the "Export" option under Lion and Mountain Lion operating systems.
    As you can see in the image above, the default "Format: QuickTime movie" pop-up option allows the user to "Save a movie file that contains media in the same format as the original movie." Since this data is written to an MOV file container, this action is functionally equivalent to the old QT 7 Pro "Save As..." File Menu option.

Maybe you are looking for

  • Different Batch Classification at storage location level

    Dear guru , I have tested that i can insert different values of batch classification for the same material and the same batch number but in different plants. In MSC1N/MSC2N transaction the system allow a insertion at storage location level. Itu2019s

  • I need more than 255 charater value return from the table control screen.

    Hi guys, I used this function module to get the dynamic table control value changes, but it export me back only 255 character value. because the 'DYNPFIELDS' internal table structure hold only 255 character. kindly help me in this reg to get more tha

  • FLV format & use?

    Hi, I was sent an FLV and when I double-clicked it, it launched my Flash Player 8, but the screen was blank. Nothing played. I'm only familiar with FLAs and SWFs so can you give me a quick overview about FLVs? Also, how large are typical movie files

  • Does OCFS2 file system get fragmented

    We are running Production & Testing RAC databases on Oracle 9.2.0.8 RAC on Red Hat 4.0 using OCFS2 for the cluster file system. Every week we refresh our Test database by deleting the datafiles and cloning our Standby database to the Test database. T

  • Zac esa

    I have configured ZCM11sp1 to download SLES10sp3 (64bit) and OES2sp3 (64bit) patches from Novell. This works and all the patches seem to be there, but I am unable to get zac esa to work... On my OES2 server I enter "zac esa --type ZYPP http://<primar