# Plex connect not working after Apple TV sleep

**URL:** <https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559>\
**Category:** Apps & Creations\
**Created:** [July 1, 2013, 2:33am UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559 "2013-07-01T02:33:42Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Applemediacenter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/applemediacenter/32/6547_2.png) [@Applemediacenter](https://forums.plex.tv/u/Applemediacenter)\
**Post date:** [July 1, 2013, 2:33am UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/1 "2013-07-01T02:33:42Z")

</div>

Ok here what I have run into. When the Apple TV 3 goes to sleep and I wake it up the plex connect won’t play movies. I have to restart the Apple TV 3. Then all works as should. Anyone else have this problem ?

---

<div class="post-metadata">

**Author:** ![tomer1749](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tomer1749/32/6652_2.png) [@tomer1749](https://forums.plex.tv/u/tomer1749)\
**Post date:** [July 1, 2013, 8:54am UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/2 "2013-07-01T08:54:42Z")

</div>

ok i left to check it and nope, plexconnect worls great after sleep too.

give some more information to the experts will help you ..

---

<div class="post-metadata">

**Author:** ![Applemediacenter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/applemediacenter/32/6547_2.png) [@Applemediacenter](https://forums.plex.tv/u/Applemediacenter)\
**Post date:** [July 1, 2013, 8:49pm UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/3 "2013-07-01T20:49:53Z")

</div>

> ok i left to check it and nope, plexconnect worls great after sleep too.
> 
> give some more information to the experts will help you ..

OK here what happens. &nbsp;we watch a movie in the morning or afternoon no problem. &nbsp;Then lets say I go out to do somethings. I turn off the TV. I leave the mac pro on just the way it was while watching the movie. I then come home after say 4-5 hours later. Now the apple TV is set to sleep after and hour. I go to watch a movie I can get into the screen to see the movie list but no artwork. I try to play a movie and all it does is say finding trailers. &nbsp;I then have to go into setting and restart the apple TV and all is good. I have tried rebooting the mac and not restarting the apple TV but nothing changes. It only works after the restart of the apple TV.&nbsp;

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [July 1, 2013, 9:19pm UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/4 "2013-07-01T21:19:59Z")

</div>

If you come out of the trailer app and go back in does it work?

---

<div class="post-metadata">

**Author:** ![dheywood](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@dheywood](https://forums.plex.tv/u/dheywood)\
**Post date:** [July 1, 2013, 10:09pm UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/5 "2013-07-01T22:09:07Z")

</div>

Have you got the latest release of PlexConnect? The original or PlexInc version?

---

<div class="post-metadata">

**Author:** ![Applemediacenter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/applemediacenter/32/6547_2.png) [@Applemediacenter](https://forums.plex.tv/u/Applemediacenter)\
**Post date:** [July 1, 2013, 11:51pm UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/6 "2013-07-01T23:51:59Z")

</div>

> If you come out of the trailer app and go back in does it work?

I have tried that too. nope still no play.

> Have you got the latest release of PlexConnect? The original or PlexInc version?

yes latest one. this has done this with all.&nbsp;

---

<div class="post-metadata">

**Author:** ![Applemediacenter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/applemediacenter/32/6547_2.png) [@Applemediacenter](https://forums.plex.tv/u/Applemediacenter)\
**Post date:** [July 1, 2013, 11:55pm UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/7 "2013-07-01T23:55:49Z")

</div>

I am trying something to see if it fixes it. &nbsp;I have a logitech remote that turn the tv on/off and set inputs. &nbsp;When I choose the apple tv it turns &nbsp;everything on as it should. But when you turn the tv off it turn the apple tv off. &nbsp;I change the remote so that it wont turn it off. It will now just go to sleep as it should. Will let everyone know what happens. Be funny if it just because of the remote.

---

<div class="post-metadata">

**Author:** ![michaeldfry](https://avatars.discourse-cdn.com/v4/letter/m/22d042/32.png) [@michaeldfry](https://forums.plex.tv/u/michaeldfry)\
**Post date:** [July 2, 2013, 12:31am UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/8 "2013-07-02T00:31:18Z")

</div>

Let me know how you make out with this. &nbsp;I'm having a similar problem. &nbsp;After sitting in sleep for awhile my Apple TV just stops connecting to the internet. &nbsp;If I restart the computer that has PlexConnect on it, it works fine again. &nbsp;I too have a Logitech remote.

---

<div class="post-metadata">

**Author:** ![Applemediacenter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/applemediacenter/32/6547_2.png) [@Applemediacenter](https://forums.plex.tv/u/Applemediacenter)\
**Post date:** [July 2, 2013, 1:28am UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/9 "2013-07-02T01:28:50Z")

</div>

ok just checked. no change. after sleep still have to restart apple tv. &nbsp;same with apple tv upstairs

---

<div class="post-metadata">

**Author:** ![dheywood](https://avatars.discourse-cdn.com/v4/letter/d/3da27b/32.png) [@dheywood](https://forums.plex.tv/u/dheywood)\
**Post date:** [July 2, 2013, 2:03am UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/10 "2013-07-02T02:03:49Z")

</div>

The PMS machine isn't going to sleep is it? That would explain the issue happening on both devices, then you you reboot the ATV it is forcing a new connection I would assume and waking up the PMS machine. Maybe check the power setting on the server and see if it is putting OS HDD in standby/sleep mode etc.

I have my server set so it will spin down my media storage drives after 60 minutes of inactivity, but the OS drive and operating system stays away, as it is my download machine as well.

---

<div class="post-metadata">

**Author:** ![Applemediacenter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/applemediacenter/32/6547_2.png) [@Applemediacenter](https://forums.plex.tv/u/Applemediacenter)\
**Post date:** [July 2, 2013, 2:24am UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/11 "2013-07-02T02:24:36Z")

</div>

> The PMS machine isn't going to sleep is it? That would explain the issue happening on both devices, then you you reboot the ATV it is forcing a new connection I would assume and waking up the PMS machine. Maybe check the power setting on the server and see if it is putting OS HDD in standby/sleep mode etc.  
> &nbsp;  
> I have my server set so it will spin down my media storage drives after 60 minutes of inactivity, but the OS drive and operating system stays away, as it is my download machine as well.

  
The Mac Pro has been set to never sleep. I did uncheck the spin down drives wen not used. I will try I the am to see if this change anything. Thanks for everyone's ideas

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [July 2, 2013, 8:00am UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/12 "2013-07-02T08:00:24Z")

</div>

I will bring this up&nbsp;with&nbsp;Baa and Roidy but for now i would suggest setting the ATV to never sleep, it is designed as a ultra low power device so it is not going to cost much to run.

---

<div class="post-metadata">

**Author:** ![Applemediacenter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/applemediacenter/32/6547_2.png) [@Applemediacenter](https://forums.plex.tv/u/Applemediacenter)\
**Post date:** [July 2, 2013, 12:08pm UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/13 "2013-07-02T12:08:19Z")

</div>

> I will bring this up&nbsp;with&nbsp;Baa and Roidy but for now i would suggest setting the ATV to never sleep, it is designed as a ultra low power device so it is not going to cost much to run.

> The Mac Pro has been set to never sleep. I did uncheck the spin down drives wen not used. I will try I the am to see if this change anything. Thanks for everyone's ideas

OK last night I change the mac pro to not put the drives to sleep or spin down. Set the ATV to go to sleep. Woke this morning and went to use the apple TV and all worked good. Played two movies. &nbsp;So off to work I go. Will try tonight when I get home and let you all know.&nbsp;

---

<div class="post-metadata">

**Author:** ![tomer1749](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tomer1749/32/6652_2.png) [@tomer1749](https://forums.plex.tv/u/tomer1749)\
**Post date:** [July 2, 2013, 3:21pm UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/14 "2013-07-02T15:21:38Z")

</div>

Ok. i'm having this problem too. if anyone finds a solution till the next update please share it with us.

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [July 2, 2013, 3:31pm UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/15 "2013-07-02T15:31:52Z")

</div>

> OK last night I change the mac pro to not put the drives to sleep or spin down. Set the ATV to go to sleep. Woke this morning and went to use the apple TV and all worked good. Played two movies. &nbsp;So off to work I go. Will try tonight when I get home and let you all know.&nbsp;

Interesting. It may be a timeout issue due to drives being spun down then,we had something similar reported by an UNRAID user.

Please provide an update and maybe we can do some tests with you on the time outs?

---

<div class="post-metadata">

**Author:** ![mgworek](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@mgworek](https://forums.plex.tv/u/mgworek)\
**Post date:** [July 2, 2013, 4:29pm UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/16 "2013-07-02T16:29:27Z")

</div>

I have similar problems.&nbsp;

Latest Plex Connect. Both Plex Connect and Plex Server are on unraid.

The problem for me isn't after sleep. After I watch a show or movie, after its done I get the error. I hit menu where it goes to find my library and everything is good again. It sometimes takes 2 tries but it ends up working again.

---

<div class="post-metadata">

**Author:** ![Applemediacenter](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/applemediacenter/32/6547_2.png) [@Applemediacenter](https://forums.plex.tv/u/Applemediacenter)\
**Post date:** [July 2, 2013, 4:34pm UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/17 "2013-07-02T16:34:28Z")

</div>

> Interesting. It may be a timeout issue due to drives being spun down then,we had something similar reported by an UNRAID user.
> 
> Please provide an update and maybe we can do some tests with you on the time outs?

will do. I will help out anyway i can&nbsp;

---

<div class="post-metadata">

**Author:** ![baa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/baa/32/2026_2.png) [@baa](https://forums.plex.tv/u/baa)\
**Post date:** [July 2, 2013, 5:41pm UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/18 "2013-07-02T17:41:04Z")

</div>

mgworek: Do you let your hard drives spin down as well?

---

<div class="post-metadata">

**Author:** ![mgworek](https://avatars.discourse-cdn.com/v4/letter/m/7ea924/32.png) [@mgworek](https://forums.plex.tv/u/mgworek)\
**Post date:** [July 2, 2013, 7:03pm UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/19 "2013-07-02T19:03:34Z")

</div>

Yes, all of my data drives spin down except for the drive with PMS and PlexConnect on it.

> mgworek: Do you let your hard drives spin down as well?

---

<div class="post-metadata">

**Author:** ![f00b4r](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/f00b4r/32/768_2.png) [@f00b4r](https://forums.plex.tv/u/f00b4r)\
**Post date:** [July 2, 2013, 7:10pm UTC](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559/20 "2013-07-02T19:10:49Z")

</div>

Can you try editing, when PlexConnect is shut down, XMLConverter.py.  
  
  
Change the following line:  
  
  
Function GetURL - about lines 130-160 Line “conn = httplib.HTTPConnection(address, timeout=10)”.   
  
  
Change the timeout there (it is in seconds). You may want to play about with it a bit.

[Next page](https://forums.plex.tv/t/plex-connect-not-working-after-apple-tv-sleep/37559.md?page=2)
