Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Server unavailable

I posted this in the Android forum, but someone suggested I post this here.
What would cause my remote server to become unavailable after an hour or so? The pc that PMS is running on doesn't sleep, or restart. I tried to connect remotely and got this message. I had my husband shut down Plex server at home, then restart. Myplex server turned green (online) and I was able to remotely view my media on my phone. Later, I tried and got the unable to reach server message on my phone app. Logging in on my pc to myplex, and I see that my server is again unavailable. I tried this again this morning before I left the house and the same thing happened. But I am able to see my media over my home network.
Would this have something to do with dynamic IP being set on my router? But I thought that would only come into play if my pc is restarted.
«1

Comments

  • Chris CChris C Plex Employee Posts: 11,642Members, Plex Employee, Plex Pass, Plex Ninja Plex Employee
    The two most likely reasons I see why this might occur for you:

    1. Your external/WAN IP is changing and that info isn't getting updated to the myPlex server. It seems pretty unlikely that your external IP would change that frequently, though - normally if you do get routine changes, it would be more like once every 24 hours or longer.

    2. Your computer running the Plex Media Server is getting a new DHCP address for some reason. Perhaps another WiFi device in your house (phone, laptop, tablet, etc.) is "stealing" the normal address for some reason? An easy way to test that would be to set up that computer with a static IP or else a reserved IP via the router.
  • k.runge@live.comk.runge@live.com Posts: 147Members
    Is the external IP the one that shows when you look at servers under Myplex? If that is the case, I'm pretty sure that hasn't changed.
    As for number 2, we do have many devices connected wirelessly. I will look into setting up a static IP for the computer running the server and see if that helps.
    Thanks for replying.
  • Chris CChris C Plex Employee Posts: 11,642Members, Plex Employee, Plex Pass, Plex Ninja Plex Employee
    Yes, the IP you see listed for your server on the myPlex website is your external IP. So, definitely sounds like you should try a static/reserved local IP address for your server computer and see if that makes a difference.
  • k.runge@live.comk.runge@live.com Posts: 147Members
    edited February 2012
    Well, unfortunately setting my IP to static didn't solve the issue. I changed it yesterday, and again, today the server is unavailable again.
    Stopping and restarting the server made it visible again, but by the time I got to work it was again unavailable.
  • k.runge@live.comk.runge@live.com Posts: 147Members
    Still hoping for a resolution on this issue. Connecting remotely is impossible. I'd appreciate any thoughts on a fix.
  • Chris CChris C Plex Employee Posts: 11,642Members, Plex Employee, Plex Pass, Plex Ninja Plex Employee
    Let's see if perhaps the logs might have anything useful.

    1. Restart your PMS so we get fresh logs

    2. Make sure it's connected successfully to myPlex to start. Then let your issue occur.

    3. Once your server becomes unavailable, please zip up and attach the "Plex Media Server.log" file (see link in signature for info)
  • storemstorem Posts: 29Members, Plex Pass Plex Pass
    edited February 2012
    I see the same thing happening. My external IP changes daily, but my PMS does not detect the IP change... and so it becomes unavailable in myPlex.

    At the moment the only work-around I see is to detect the external IP change through a third-party app/script and restart PMS when it does.

    Maybe PMS could ping myPlex periodically with its new external IP address? Another option would be to allow listing your external hostname in myPlex. My router detects the external IP change and changes the IP my DynDNS hostname points to accordingly.
  • k.runge@live.comk.runge@live.com Posts: 147Members
    Well, inexplicably I am now able to access my media remotely, even though myplex continues to say my server is unavailable. The only client that doesn't work when the server is unavailable now is myplex. I would attach a log file, but I am afraidn I can't find it. I have Vista, an am unable to locate %LOCALAPPDATA%\Plex Media Server\Logs\. If someone could help me ocate this file, I'd be happy to post it.
  • k.runge@live.comk.runge@live.com Posts: 147Members
    I was wrong about being able to access remotely. I could only access it on my local network.As soon as I tried to access it from work the same thing happened. I finally found the hidden folders with the PMS log. I tried to attach it but it said I wasn't permitted to upload it. I tried to copy it into my post, and it said my post was too long. What now?
  • k.runge@live.comk.runge@live.com Posts: 147Members
    edited February 2012
    Trying again with a new log file

    Nope, still won't let me attached Plex Server log.txt file
  • Chris CChris C Plex Employee Posts: 11,642Members, Plex Employee, Plex Pass, Plex Ninja Plex Employee
    As mentioned earlier, please zip up the file before trying to attach. The forums won't allow .log files to be uploaded, but you can upload zip files.
  • k.runge@live.comk.runge@live.com Posts: 147Members
    Sorry, didn't see the bit about zipping them. Here is the zipped log file.
  • k.runge@live.comk.runge@live.com Posts: 147Members
    Is there anything else you need from me? is the log file helpful?
  • Chris CChris C Plex Employee Posts: 11,642Members, Plex Employee, Plex Pass, Plex Ninja Plex Employee
    karrun, I sent you a private message on the site yesterday since some of the information was sensitive. You should be able to access it via the little user area at the top-right of the forum page here.
  • dcplayadcplaya Posts: 76Members, Plex Pass Plex Pass
    Chris C wrote:

    karrun, I sent you a private message on the site yesterday since some of the information was sensitive. You should be able to access it via the little user area at the top-right of the forum page here.


    I have a feeling its the external IP change because I am having the same problem. Is there a way for myPlex to ping a dynamic DNS site? I have my router to update a dynamic DNS whenever the external IP changes.
  • k.runge@live.comk.runge@live.com Posts: 147Members
    Well I did something last night that hopefully solved my problem. I changed the MyPlex settings in PMS to manually specify port to 32400. I also opened up port forwarding of that port through my router. It was my understanding that if you used Myplex that wasn't necessary (and I did have two green buttons initially in MyPlex under preferences ). But now when I go to servers under My.plexapp.com, it shows my server as online, even after several hours. The real test will be if I can see my media remotely.
  • ath3nasath3nas Posts: 12Members, Plex Pass Plex Pass
    edited March 2012
    I was hoping that maybe some folks have had some success that perhaps I could be helped as well. I don't know what the heck is going on but Plex was on an connected through MyPlex up until a few days ago. Suddenly it's not connected anymore and I continue to keep the message that states "myPlex is unable to connect to your account." The port is forwarded properly and all of that jazz but I'm still unable to access it. I had specified a specific port but inexplicably that checkbox has disappeared as a setting on the server preferences page.

    Any help would be GREATLY appreciated! I leave to go out of town on Saturday and was planning to access content via Plex while traveling.

    Thanks for any help you're able to provide!

    -Athena

    P.S. In the case that the log file is useful, I've attached it. I saw some errors and such but I'm not real sure what I'm looking for. Again, I'd VERY much appreciate any help that anyone is able to provide!
  • dcplayadcplaya Posts: 76Members, Plex Pass Plex Pass
    ath3na wrote:

    I was hoping that maybe some folks have had some success that perhaps I could be helped as well. I don't know what the heck is going on but Plex was on an connected through MyPlex up until a few days ago. Suddenly it's not connected anymore and I continue to keep the message that states "myPlex is unable to connect to your account." The port is forwarded properly and all of that jazz but I'm still unable to access it. I had specified a specific port but inexplicably that checkbox has disappeared as a setting on the server preferences page.

    Any help would be GREATLY appreciated! I leave to go out of town on Saturday and was planning to access content via Plex while traveling.

    Thanks for any help you're able to provide!

    -Athena

    P.S. In the case that the log file is useful, I've attached it. I saw some errors and such but I'm not real sure what I'm looking for. Again, I'd VERY much appreciate any help that anyone is able to provide!


    The newest update to PMS (for Ubuntu Linux its already out that I know of) states that PMS now reports IP changes to myPlex. Hopefully that is there to fix this issue
  • ath3nasath3nas Posts: 12Members, Plex Pass Plex Pass
    dcplaya wrote:

    The newest update to PMS (for Ubuntu Linux its already out that I know of) states that PMS now reports IP changes to myPlex. Hopefully that is there to fix this issue


    Unfortunately the update did not solve the problem. The port mapping has the green light and therefore is forwarded correctly but myPlex is still unable to connect. This is kinda crap tbh... the software only worked for a few weeks before it broke and I've yet to be able to figure out how to fix it. Any other suggestions?
  • TelemachusTelemachus Posts: 5Members
    edited June 2012
    I run into this problem about once a day, newest version of the software.

    my.plexapp.com shows the server as "online" and shows the IP address, which has not changed, as I am still able to access my Tonido drives and Transmission client without problems.

    I was in the middle of watching a home video when it stopped suddenly, and now the server is "unavailable."

    I can usually call my wife and have her uncheck and then check the "publish to myplex" option, and that fixes the issue.

    I can look into logs when I get home from work, but is there anything else that would commonly cause this?

    Edit: Sure enough, had the wife uncheck and check that box, and I am back online.

    Strange.
«1
Sign In or Register to comment.