I am having a problem with remote access staying accessible outside my network when forwarding port 32400 on my router to my Plex server or even using UPnP. When specifying a port, it connects for a split second then disconnects and stays disconnected. When using UPnP instead of forwarding port it seems to stay connected longer but also disconnects eventually. I have rebooted router and plex when trying each. Below are my details.
QNAP 251+ Firmware 4.3.3
D-Link DIR-655 Firmware 2.12 Rev B1
Plex Version 3.9.1
Some router screenshots …
When I check manually specify public port and click Apply it briefly shows …
Then a second later shows …
Below is Plex Media Server.log when I change to manually specified public port. Highlighted a few lines that may be of interest. I really don’t know enough to figure out what is going on in the log but I see a warning entry that seems to suggest after changing port Plex’s server is expecting one async identifier but get another but have no idea if that has anything to do with my issue.
Aug 06, 2017 13:23:09.420 [0x7fce8c2fb700] DEBUG - MyPlex: Sending Server Info to myPlex (user=johnkelly@hotmail.com, ip=, port=32400)
Aug 06, 2017 13:23:09.422 [0x7fce8c2fb700] DEBUG - HTTP requesting POST https://plex.tv/servers.xml?auth_token=xxxxxxxxxxxxxxxxxxxx&async=1&asyncIdentifier=98f67cfe-39e1-4bd1-89b0-0a97aa255265
Aug 06, 2017 13:23:09.428 [0x7fce8e047700] DEBUG - EventSource: Got event [data] '<Message address="" port="0" asyncIdentifier="7a34a93a-479b-4a9c-bf11-cfaec8cda5c4" connectivity="0" command="notifyConnectivity"/>'
Aug 06, 2017 13:23:09.702 [0x7fce963ff700] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Aug 06, 2017 13:23:09.702 [0x7fce963ff700] DEBUG - Auth: authenticated user 1 as JohnCKelly
Aug 06, 2017 13:23:09.702 [0x7fce963ff700] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Aug 06, 2017 13:23:09.702 [0x7fce8d1a1700] DEBUG - Request: [192.168.1.103:51646 (Subnet)] GET /myplex/account (7 live) TLS GZIP Signed-in Token (JohnCKelly)
Aug 06, 2017 13:23:09.705 [0x7fce963ff700] DEBUG - Completed: [192.168.1.103:51646] 200 GET /myplex/account (7 live) TLS GZIP 2ms 600 bytes (pipelined: 2)
Aug 06, 2017 13:23:10.202 [0x7fce96111700] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Aug 06, 2017 13:23:10.202 [0x7fce96111700] DEBUG - Auth: authenticated user 1 as JohnCKelly
Aug 06, 2017 13:23:10.202 [0x7fce96111700] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Aug 06, 2017 13:23:10.202 [0x7fce83223700] DEBUG - Request: [192.168.1.103:51646 (Subnet)] GET /myplex/account (7 live) TLS GZIP Signed-in Token (JohnCKelly)
Aug 06, 2017 13:23:10.205 [0x7fce96111700] DEBUG - Completed: [192.168.1.103:51646] 200 GET /myplex/account (7 live) TLS GZIP 2ms 600 bytes (pipelined: 3)
Aug 06, 2017 13:23:10.385 [0x7fce8c2fb700] DEBUG - HTTP 201 response from POST https://plex.tv/servers.xml?auth_token=xxxxxxxxxxxxxxxxxxxx&async=1&asyncIdentifier=98f67cfe-39e1-4bd1-89b0-0a97aa255265
Aug 06, 2017 13:23:10.386 [0x7fce8c2fb700] DEBUG - MyPlex: Published Mapping State response was 201
Aug 06, 2017 13:23:10.386 [0x7fce8c2fb700] DEBUG - MyPlex: Got response for 72b523fdd5eb2b26e22db1f85df092046295aa59 ~ registered :0
Aug 06, 2017 13:23:10.387 [0x7fce8e047700] WARN - PubSub: Received notifyConnectivity event with incorrect async identifier (7a34a93a-479b-4a9c-bf11-cfaec8cda5c4, expected 98f67cfe-39e1-4bd1-89b0-0a97aa255265)
Aug 06, 2017 13:23:10.387 [0x7fce8c2fb700] DEBUG - MyPlex: Updating device connections (from timer: 0)
Aug 06, 2017 13:23:10.387 [0x7fce8c2fb700] DEBUG - HTTP requesting PUT https://plex.tv/devices/72b523fdd5eb2b26e22db1f85df092046295aa59?Connection[][uri]=http://192.168.1.100:32400&httpsEnabled=1&httpsRequired=0&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Aug 06, 2017 13:23:10.391 [0x7fce963ff700] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Aug 06, 2017 13:23:10.391 [0x7fce963ff700] DEBUG - Auth: authenticated user 1 as JohnCKelly
Aug 06, 2017 13:23:10.391 [0x7fce963ff700] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Aug 06, 2017 13:23:10.391 [0x7fce96111700] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Aug 06, 2017 13:23:10.391 [0x7fce96111700] DEBUG - Auth: authenticated user 1 as JohnCKelly
Aug 06, 2017 13:23:10.391 [0x7fce96111700] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Aug 06, 2017 13:23:10.391 [0x7fce8e911700] DEBUG - Request: [192.168.1.103:51646 (Subnet)] PUT /myplex/refreshReachability (7 live) TLS GZIP Signed-in Token (JohnCKelly)
Aug 06, 2017 13:23:10.391 [0x7fce8d1a1700] DEBUG - Request: [192.168.1.103:51645 (Subnet)] PUT /myplex/refreshReachability (7 live) TLS GZIP Signed-in Token (JohnCKelly)
Aug 06, 2017 13:23:10.391 [0x7fce8e911700] DEBUG - MyPlex: Requesting reachability check.
Aug 06, 2017 13:23:10.394 [0x7fce8e911700] DEBUG - HTTP requesting PUT https://plex.tv/api/servers/72b523fdd5eb2b26e22db1f85df092046295aa59/connectivity?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&asyncIdentifier=f2d3d15c-50a9-4b6c-9122-0a927b2172bc
Aug 06, 2017 13:23:10.701 [0x7fce963ff700] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Aug 06, 2017 13:23:10.701 [0x7fce963ff700] DEBUG - Auth: authenticated user 1 as JohnCKelly
Aug 06, 2017 13:23:10.701 [0x7fce963ff700] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Aug 06, 2017 13:23:10.702 [0x7fce8da6b700] DEBUG - Request: [192.168.1.103:51640 (Subnet)] GET /myplex/account (7 live) TLS GZIP Signed-in Token (JohnCKelly)
Aug 06, 2017 13:23:10.704 [0x7fce963ff700] DEBUG - Completed: [192.168.1.103:51640] 200 GET /myplex/account (7 live) TLS GZIP 2ms 648 bytes (pipelined: 7)
Aug 06, 2017 13:23:11.298 [0x7fce8c2fb700] DEBUG - HTTP 200 response from PUT https://plex.tv/devices/72b523fdd5eb2b26e22db1f85df092046295aa59?Connection[][uri]=http://192.168.1.100:32400&httpsEnabled=1&httpsRequired=0&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Aug 06, 2017 13:23:11.493 [0x7fce8e911700] DEBUG - HTTP 200 response from PUT https://plex.tv/api/servers/72b523fdd5eb2b26e22db1f85df092046295aa59/connectivity?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&asyncIdentifier=f2d3d15c-50a9-4b6c-9122-0a927b2172bc`
Aug 06, 2017 13:23:11.494 [0x7fce8d1a1700] DEBUG - MyPlex: Requesting reachability check.
Aug 06, 2017 13:23:11.495 [0x7fce963ff700] DEBUG - Completed: [192.168.1.103:51646] 200 PUT /myplex/refreshReachability (7 live) TLS GZIP 1104ms 268 bytes (pipelined: 4)
Aug 06, 2017 13:23:11.496 [0x7fce8d1a1700] DEBUG - HTTP requesting PUT https://plex.tv/api/servers/72b523fdd5eb2b26e22db1f85df092046295aa59/connectivity?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&asyncIdentifier=62413001-0d34-40d2-9c4d-309fc60968e1
Aug 06, 2017 13:23:11.613 [0x7fce8e047700] DEBUG - EventSource: Got event [data] '<Message address="" port="0" asyncIdentifier="f2d3d15c-50a9-4b6c-9122-0a927b2172bc" connectivity="0" command="notifyConnectivity"/>'
Aug 06, 2017 13:23:12.365 [0x7fce8d1a1700] DEBUG - HTTP 200 response from PUT https://plex.tv/api/servers/72b523fdd5eb2b26e22db1f85df092046295aa59/connectivity?X-Plex-Token=xxxxxxxxxxxxxxxxxxxx&asyncIdentifier=62413001-0d34-40d2-9c4d-309fc60968e1
Aug 06, 2017 13:23:12.366 [0x7fce8e047700] WARN - PubSub: Received notifyConnectivity event with incorrect async identifier (f2d3d15c-50a9-4b6c-9122-0a927b2172bc, expected 62413001-0d34-40d2-9c4d-309fc60968e1)
Aug 06, 2017 13:23:12.368 [0x7fce96111700] DEBUG - Completed: [192.168.1.103:51645] 200 PUT /myplex/refreshReachability (7 live) TLS GZIP 1976ms 268 bytes (pipelined: 4)
Aug 06, 2017 13:23:12.504 [0x7fce8e047700] DEBUG - EventSource: Got event [data] '<Message address="" port="0" asyncIdentifier="62413001-0d34-40d2-9c4d-309fc60968e1" connectivity="0" command="notifyConnectivity"/>'
Aug 06, 2017 13:23:12.504 [0x7fce8e047700] DEBUG - PubSub: Got notified of reachability: 0 for :0
Aug 06, 2017 13:23:12.509 [0x7fce96111700] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Aug 06, 2017 13:23:12.509 [0x7fce96111700] DEBUG - Auth: authenticated user 1 as JohnCKelly
Aug 06, 2017 13:23:12.509 [0x7fce96111700] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Aug 06, 2017 13:23:12.509 [0x7fce83223700] DEBUG - Request: [192.168.1.103:51645 (Subnet)] GET /myplex/account (7 live) TLS GZIP Signed-in Token (JohnCKelly)
Aug 06, 2017 13:23:12.512 [0x7fce96111700] DEBUG - Completed: [192.168.1.103:51645] 200 GET /myplex/account (7 live) TLS GZIP 2ms 656 bytes (pipelined: 5)
Aug 06, 2017 13:23:12.554 [0x7fce963ff700] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Aug 06, 2017 13:23:12.554 [0x7fce963ff700] DEBUG - Auth: authenticated user 1 as JohnCKelly
Aug 06, 2017 13:23:12.554 [0x7fce963ff700] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Aug 06, 2017 13:23:12.554 [0x7fce8da6b700] DEBUG - Request: [192.168.1.103:51645 (Subnet)] GET /myplex/account (7 live) TLS GZIP Signed-in Token (JohnCKelly)
Aug 06, 2017 13:23:12.557 [0x7fce963ff700] DEBUG - Completed: [192.168.1.103:51645] 200 GET /myplex/account (7 live) TLS GZIP 2ms 656 bytes (pipelined: 6)
Aug 06, 2017 13:23:15.044 [0x7fce963ff700] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Aug 06, 2017 13:23:15.044 [0x7fce963ff700] DEBUG - Auth: authenticated user 1 as JohnCKelly
Aug 06, 2017 13:23:15.044 [0x7fce963ff700] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Aug 06, 2017 13:23:15.044 [0x7fce8e911700] DEBUG - Request: [192.168.1.103:51645 (Subnet)] GET /player/proxy/poll?deviceClass=pc&protocolVersion=1&protocolCapabilities=timeline%2Cplayback%2Cnavigation%2Cmirror%2Cplayqueues&timeout=1 (7 live) TLS GZIP Signed-in Token (JohnCKelly)
Aug 06, 2017 13:23:15.045 [0x7fce8e911700] DEBUG - Beginning read from two-way stream.
Aug 06, 2017 13:23:15.758 [0x7fce96111700] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Aug 06, 2017 13:23:15.758 [0x7fce96111700] DEBUG - Auth: authenticated user 1 as JohnCKelly
Aug 06, 2017 13:23:15.758 [0x7fce96111700] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Aug 06, 2017 13:23:15.758 [0x7fce8d1a1700] DEBUG - Request: [192.168.1.103:51649 (Subnet)] GET /diagnostics/logs (8 live) TLS GZIP Signed-in Token (JohnCKelly)
Aug 06, 2017 13:23:15.759 [0x7fce8d1a1700] DEBUG - Diagnostics: Building logfile zip