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!

myPlex was unable to connect to your server

ath3nasath3nas Posts: 12Members, Plex Pass Plex Pass
So a week ago everything connected and worked fine. I was able to connect to my server from myPlex on Android, iPad, and via web browser. A few days ago it would no longer connect. I checked the port forwarding, etc. and that is all still working fine. I continue to get the message that "myPlex was unable to connect to your server" but the light is green for the port mapping.

I'm not even sure what to try, but I'm pretty disappointed considering I've only had myPlex server installed for a month and the first time I try to go out of town and watch the things available on my PC, it's not going to work, it seems.

I leave to go out of town tomorrow. I had posted in another thread previously but hadn't gotten a response so I was hoping that this may help. Any help would be greatly appreciated! I would love more than anything to get this working before I leave tomorrow.

Thanks so much, in advance!

--
ath3na

P.S. In a previous post someone asked for the log file to be zipped. In the case that this would help in the troubleshooting, I thought I'd go ahead and post them. They are attached. Thanks again!

Comments

  • Chris CChris C Posts: 11,669Members, Plex Employee, Plex Pass, Plex Ninja Plex Employee
    Hey, ath3na

    I saw in another thread that you said you upgraded to the 0.9.5.3 release. Could you please do the following to get some fresh logs from that new version?

    1. Quit and restart the Plex Media Server so we get fresh logs.

    2. Open the Preferences, go to the myPlex tab, and ensure it finishes attempting to connect.

    3. Take a screenshot of that preference tab.

    4. Zip up the "Plex Media Server.log" file and attach it here again.

    5. Either attach the screenshot here or else send it to me in a private message (and reference this thread URL) if you like, since it should have your private IP address.


    In addition:

    - What router are you using?

    - Does the router have uPnP and/or NAT-PMP enabled (if so, which one or both)?

    - Are you manually forwarding any ports for the Plex Media Server?
  • ath3nasath3nas Posts: 12Members, Plex Pass Plex Pass
    Chris C wrote:

    Hey, ath3na

    I saw in another thread that you said you upgraded to the 0.9.5.3 release. Could you please do the following to get some fresh logs from that new version?

    1. Quit and restart the Plex Media Server so we get fresh logs.

    2. Open the Preferences, go to the myPlex tab, and ensure it finishes attempting to connect.

    3. Take a screenshot of that preference tab.

    4. Zip up the "Plex Media Server.log" file and attach it here again.

    5. Either attach the screenshot here or else send it to me in a private message (and reference this thread URL) if you like, since it should have your private IP address.


    In addition:

    - What router are you using?

    - Does the router have uPnP and/or NAT-PMP enabled (if so, which one or both)?

    - Are you manually forwarding any ports for the Plex Media Server?


    Attached is the log and screenshot.

    My router is a Netgear N300 (model: WNR3500L) with the latest firmware. uPnp is turned on but I'm pretty certain NAT-PMP is not supported. I've often considered installing Tomato firmware but have not. I am manually forwarding the same port listed in the preferences dialog, 32800.

    Thanks SO much, in advance, for your help!

    -ath3na
  • TrudgeTrudge Gone off to greener pastures.... Posts: 9,360Members ✭✭✭
    edited March 2012
    Have you tried disabling all but the network interface that connects to your router?
  • ath3nasath3nas Posts: 12Members, Plex Pass Plex Pass
    Trudge wrote:

    Have you tried disabling all but the network interface that connects to your router?


    Yes- I've disabled all while troubleshooting. I even tried disabling IPv6, as I read on another thread that this could be part of the problem. None of that seemed to help. I mainly don't understand why it worked and then stopped.
  • Chris CChris C Posts: 11,669Members, Plex Employee, Plex Pass, Plex Ninja Plex Employee
    The logs appear to indicate that as far as the PMS side of things is concerned, things are set correctly. It detected your external WAN IP as 174.108.xxx.xxx and that you claim to have port 32400 available and forwarded to internal IP 192.168.1.100:32400. Up to that point, it all looks good. However, the logs then show the error:

    Mar 11, 2012 12:53:02 [7552] DEBUG - MyPlex: Published Mapping State <--- 422
    Mar 11, 2012 12:53:02 [7552] WARN - MyPlex: Invalid response when mapping state (code=422):<?xml version="1.0" encoding="UTF-8"?>
    <MediaContainer size="1">
    <Server name="Home-PC" host="" port="32400" machineIdentifier="xxxxxxxxxxxxxxxxxxxxx" version="0.9.5.3" />
    </MediaContainer>
    
    
    <?xml version="1.0" encoding="UTF-8"?>
    <errors>
      <error>Address timeout while connecting to 174.108.xxx.xxx:32400</error>
    </errors>
    

    This indicates that the myPlex server was unable to connect back to your machine. When I attempt to see if I can get a manual connection to your IP:port via either HTTP or telnet, I'm likewise unsuccessful, which makes me think that the port forwarding isn't actually working correctly.

    Now, just to verify, in your router settings, precisely what are your port forwarding settings?


    Since your router supports uPnP, have you tried simply removing your manual port forward and letting the Plex Media Server auto-configure the connection? If so, what results do you get on the PMS preferences myPlex tab? Also, what are the "Plex Media Server.log" results?
  • ath3nasath3nas Posts: 12Members, Plex Pass Plex Pass
    Chris C wrote:

    The logs appear to indicate that as far as the PMS side of things is concerned, things are set correctly. It detected your external WAN IP as 174.108.xxx.xxx and that you claim to have port 32400 available and forwarded to internal IP 192.168.1.100:32400. Up to that point, it all looks good. However, the logs then show the error:

    Mar 11, 2012 12:53:02 [7552] DEBUG - MyPlex: Published Mapping State <--- 422
    Mar 11, 2012 12:53:02 [7552] WARN - MyPlex: Invalid response when mapping state (code=422):<?xml version="1.0" encoding="UTF-8"?>
    <MediaContainer size="1">
    <Server name="Home-PC" host="" port="32400" machineIdentifier="xxxxxxxxxxxxxxxxxxxxx" version="0.9.5.3" />
    </MediaContainer>
    
    
    <?xml version="1.0" encoding="UTF-8"?>
    <errors>
      <error>Address timeout while connecting to 174.108.xxx.xxx:32400</error>
    </errors>
    

    This indicates that the myPlex server was unable to connect back to your machine. When I attempt to see if I can get a manual connection to your IP:port via either HTTP or telnet, I'm likewise unsuccessful, which makes me think that the port forwarding isn't actually working correctly.

    Now, just to verify, in your router settings, precisely what are your port forwarding settings?


    Since your router supports uPnP, have you tried simply removing your manual port forward and letting the Plex Media Server auto-configure the connection? If so, what results do you get on the PMS preferences myPlex tab? Also, what are the "Plex Media Server.log" results?


    So, I rebooted the router and modem and then deleted the port forwarding config and went with dedicated uPnP as you suggested. Seems that one of those things fixed it. Thanks for your help! I'll post again should I have future problems! Again, thanks SO much! It was a strangely simple fix, that didn't work before... but did this time, and either way I'm grateful!

    -ath3na
  • ghitisghitis Posts: 14Members
    edited March 2012
    The program works great at home for me within the home network, but I am still unable to publish the server and access it from outside the home network. Same error: "my plex was unable to connect to your server"

    Any ideas?

    I use a windows 7 64 bit PC.
  • TrudgeTrudge Gone off to greener pastures.... Posts: 9,360Members ✭✭✭
    ghitis wrote:

    The program works great at home for me within the home network, but I am still unable to publish the server and access it from outside the home network. Same error: "my plex was unable to connect to your server"

    Any ideas?

    I use a windows 7 64 bit PC.


    If you could provide the your logs and answer the same questions Chris C. posted in the 2nd post of this thread it will help to get a better idea of what is going on.
  • ghitisghitis Posts: 14Members
    Trudge wrote:

    If you could provide the your logs and answer the same questions Chris C. posted in the 2nd post of this thread it will help to get a better idea of what is going on.


    i hope that doc includes what you need to help.
    [attachment=9905:Doc3.doc]
    Doc3.doc 300.5K
  • Chris CChris C Posts: 11,669Members, Plex Employee, Plex Pass, Plex Ninja Plex Employee
    ghitis wrote:

    i hope that doc includes what you need to help.
    [attachment=9905:Doc3.doc]

    Sorry, I don't have MS Word and that file was blank when I tried opening it in both Preview and TextEdit. Please zip up the .log file after following the instructions as mentioned and provide answers to the other questions, then we can see if we can help.
  • nickel715nickel715 Posts: 5Members

    i've the same problem. I've an native ipv6 internet connection so my plex server is not accessible by the ipv4 address. 

    I checked my log an found this:

    <?xml version="1.0" encoding="UTF-8"?>
    <errors>
      <error>Address timeout while connecting to 123.123.123.123:32400</error>
    </errors>
    

    so it seems plex try to connect to my server via ipv4 address, is there a way to tell plex using the ipv6 address?

    Enabling IPv6 in Settings > Network doesn't help :(

  • ciacciciacci Posts: 11Members, Plex Pass Plex Pass

    Same problem here, old plex server installed on Mac mini core duo (v. 0.9.8.6), I'm behind two router: Cisco 1700 from internet provider and Netopia TL-R600VPN from my side, with previous router all was fine (so i think the Cisco is not a problem, when i change to Netopia, myplex stops to work.

    I try with UPNP and without, try to configure the NAT to port 32400 directly but not work, any suggestion?

Sign In or Register to comment.