Linux Mint 19, PMS v1.15.5.994 dropping Remote Access

Server Version#: 1.15.5.994
Player Version#: Android v7.14.1.9954

I have had my PMS running on my Intel NUC for over a year. I have port forwarding set on my router and have not had any issues with Remote Access until now. Remote Access keeps dropping so people that are outside of my Home Network cannot connect. This is frustrating, please help!

Thank you in advance!

Would like to see logs

Please ensure debug logging is enabled on the server
See
https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/

Restart the server to make sure fresh log files are created

Then when the issue arises, please take screenshot of server remote access settings screen with show advanced and note down the time and collect the server logs
See
https://support.plex.tv/articles/200250417-plex-media-server-log-files/
and if using a manually specified port, to provide router settings screenshots of the DHCP Settings (Reservation) and Port forward rule

Thanks

Router settings screenshots of the DHCP Settings (Reservation) and Port forward rule:

Server logs:
Plex Media (2.8 MB)

Screenshot of server remote access settings screen with show advanced and note down the time (Server Log Time = 10 May 2019 / 2128):

Thanks

Could you try changing the port forward so that it does not use a template. You have set "Web-Server" as a template. Could you see if there is a "No Template" option? and try again after restarting the server

you may need to reboot router after the change

Also can you delay launching the server until your network and DNS and internet access is available. The logs show server launched at May 10, 2019 21:22:08
But DNS was not working - eg

May 10, 2019 21:22:10.428 [0x7f45831d9700] ERROR - Error issuing curl_easy_perform(handle): 6
May 10, 2019 21:22:10.428 [0x7f45831d9700] WARN - HTTP error requesting GET https://plex.tv/media/providers?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx (0, No error) (Could not resolve host: plex.tv)

May 10, 2019 21:22:10.430 [0x7f45797fa700] ERROR - Error issuing curl_easy_perform(handle): 6
May 10, 2019 21:22:10.430 [0x7f45797fa700] WARN - HTTP error requesting GET https://plex.tv/api/v2/user?includeSubscriptions=1&includeProviders=1 (0, No error) (Could not resolve host: plex.tv)

May 10, 2019 21:22:10.430 [0x7f45829d8700] ERROR - Error issuing curl_easy_perform(handle): 6
May 10, 2019 21:22:10.430 [0x7f45829d8700] WARN - HTTP error requesting GET http://plex.tv/pms/:/ip (0, No error) (Could not resolve host: plex.tv)
May 10, 2019 21:22:10.430 [0x7f45829d8700] ERROR - PublicAddressManager: Unable to get public IP adddress from myPlex (httpCode=-6): 

These dns errors continued for almost 20 seconds

Strange, I changed the “Web-Server” to “No Template”. I am not sure if it was occurring prior, but I have family externally streaming from my PMS even though within Plex the Remote Access states “Not available outside your network”. I have attached the logs again.

I tried the Retry button and was still unsuccessful for Remote Access to turn Green…even though it is being used at this time by a person externally to my home network:

Plex Media Server Logs_2019-05-11_22-56-51.zip (3.4 MB)

The change has not helped

could you send me by private message screenshot from the router wan/internet status page that displays the WAN/Internet IP Address that the router sees

Also again include the port forward settings page

Any security software running ? firewall ?

You can test the forwarding by trying out the public IP that shows on http://canyouseeme.org with the public port you have setup - trying out from remote wifi or in browser from cellular connection eg http://91.8.xxx.xxx:32400/web - if you get through you would get the authentication challenge

Is it possible that the ISP is blocking the port ?

You can try a different public port forwarding to 32400 and specifying the chosen public port in the manually specify port box. You would need to disable remote access and r-enable it

With regards to external streaming working - it is through the Plex Relay service https://support.plex.tv/articles/216766168-accessing-a-server-through-relay/

I sent you a Private Message with the requested Screen Shots.

I am not using any Security Software or Firewall on my PMS.

I do not know why my ISP would suddenly block the port after I have used it for over a year, but stranger things have happened I guess. I did try to use the website http://canyouseeme.org and it does not see port 32400 either.

Thank you again for your time and assistance!

Thanks for the screenshots.

The router WAN IP is the same as the WAN IP that plex.tv sees and canyouseeme.org displays - so no double NAT.

The port forward looks ok forwarding tcp port 32400 to 32400 to device PC192-168-2-169 which I presume is 192.168.2.169 and setup with no template.

So all looks good - except that requests to the public IP on port 32400 are not reaching Plex Media Server.

Noticed link on router settings page for port forward named as “Dynamic Port Activations” - anything setup there? There shouldn’t be

Could you look into what you have setup in iptables ? If you share the setup, a linux expert could check it out

Please do all testing by trying to connect directly to the public IP and public port so we know all we are checking is the port setup. So test with browser requests from outside the network to http://wan.ip:32400/web

Noticed link on router settings page for port forward named as “Dynamic Port Activations” - anything setup there? There shouldn’t be

  • I have never used “Dynamic Port Activations” and it is blank

Could you look into what you have setup in iptables ? If you share the setup, a linux expert could check it out:

image.png

I am unsure what Plex is using UCP for, this is outside my scope of knowledge really. Perhaps I must reconfigure the Linux Firewall for Plex? If these are not the iptables you requested, please let me know the Command Line and I will grab them properly.

Please do all testing by trying to connect directly to the public IP and public port so we know all we are checking is the port setup. So test with browser requests from outside the network to [http://wan.ip:32400/web](http://wan.ip:32400/web)

When I try to get to the Server from externally (my cell phone on cell phone data plan), I receive an error message that I cannot connect.

Thank you again!

I just updated Linux and now PMS shows this:

image.png

I am not 100% sure what is going on here where Manually Specified Port is enabled but everything shows red “X” while Remote Access shows green.

Even more strange, when I go to [http://canyouseeme.org](http://canyouseeme.org) to check the port I receive the error message:
Error: I could not see your service on 91.8.XX.XXX on port (32400)
Reason: Connection timed out

OK - but would need the logs for that time covering period from launch to that point in time to see what happened and why

with regards to the firewall screenshot - is the list exceptions to the rule (the screenshot shows “Incoming:Deny” and “Outgoing:Allow” - is this saying deny incoming to 32400 on TCP ? or is it saying deny everything incoming apart from incoming to tcp 32400 (and the other rules) ?

Is this a Linux firewall or 3rd party firewall software ?

image

@Skywalker28 OK I found some info about the GUI interface for your firewall here http://linuxbsdos.com/2011/07/22/3-graphical-clients-for-managing-the-uncomplicated-firewall/

Could you open up the 32400 rule for Plex to see what the detail is. Also this screenshot is for profile: home. There should be a Profile:Public set of rules as well

There appears to be logging functionality so that could be useful to look into as well

The screenshot that I sent you is the Linux Firewall. I do not have any additional Firewalls on my PMS NUC.

I do not fully understand Firewalls myself. These are all good questions that I cannot answer at this time.

I apologize, I responded prior to seeing this latest post. I will try that and see what happens!

Thank you again!

Here are the logs from the latest Test starting at 0720. Remote Access would stay Green for 2 or 3 seconds and then go red again:
[/home/jeremy/Downloads/Plex Media Server Logs_2019-05-20_07-24-13.zip](http:///home/jeremy/Downloads/Plex Media Server Logs_2019-05-20_07-24-13.zip)

Here are screen shots from my Firewall after configuring for my PMS to be allowed on 192.168.2.169:



If I have configured anything wrong through the Firewall, please let me know and I will change it.

Also, I have changed out my Telokom Router for a new one. I have configured the router the same way as the other router was configured with Port Forwarding.

Please let me know if you have any further questions!

Regarding, "With regards to the firewall screenshot - is the list exceptions to the rule (the screenshot shows “Incoming:Deny” and “Outgoing:Allow”

  • is this saying deny incoming to 32400 on TCP ? or is it saying deny everything incoming apart from incoming to tcp 32400 (and the other rules) ?"

I allowed both on Port 32400 and it appears that remote access is staying up as Green / “Fully accessible outside your network”.

I am unsure how this configuration changed within the Firewall to cause this issue. The PMS has been running for 1.5 years without an issue. Perhaps a Linux Mint update threw the Firewall into a Generic setting or something?

Regardless, it appears that the Firewall was causing this issue with my PMS Remote Access. I will keep an eye on it to ensure that it stays Green.

Thank you for your time and assistance!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.