A little while ago one of my friends mentioned to me my server was unavailable remotely. At the time I didn’t really care and thought it was maybe a Plex update or an ISP thing but I would get back to it. Now I need to travel, so I care again. This is to say I don’t really know when this started but it was several updates ago. I can access my server remotely accessing https://X.X.X.X:32436 and the server answers, so I don’t believe this is a NAT or firewall issue. The server is running on a Late 2012 Mac Mini with OS X El Capitan (10.11.4 Beta) the version of Plex is 0.9.16.3. If I enable verbose logging and go to the remote access page and click retry while tailing the logs I get the following entries:
NOTE: I replaced my internal IP with Y.Y.Y.Y and my external IP with X.X.X.X (I did verify X.X.X.X to be correct). I also replaced my Plex user name with plex@mydomain.net. I believe the interesting log entries are highlighted below, it looks to me like it is sending the server the port but not the IP, it looks as if this is null, but I’m not a Plex expert. PM me for logs and I will send them to you directly. Please let me know if there is anything else that would be useful.
Apr 02, 2016 10:36:21 [0x700000841000] DEBUG - Request: [Y.Y.Y.Y:50475] OPTIONS /:/prefs?PublishServerOnPlexOnlineKey=false (7 live) TLS GZIP
Apr 02, 2016 10:36:21 [0x700000841000] VERBOSE - * PublishServerOnPlexOnlineKey => false
Apr 02, 2016 10:36:21 [0x70000073b000] DEBUG - Completed: [Y.Y.Y.Y:50475] OPTIONS /:/prefs?PublishServerOnPlexOnlineKey=false (7 live) TLS GZIP 1ms 516 bytes 200 (pipelined: 3)
Apr 02, 2016 10:36:21 [0x7000003a6000] DEBUG - Request: [Y.Y.Y.Y:50466] PUT /:/prefs?PublishServerOnPlexOnlineKey=false (6 live) TLS GZIP
Apr 02, 2016 10:36:21 [0x7000003a6000] VERBOSE - * PublishServerOnPlexOnlineKey => false
Apr 02, 2016 10:36:21 [0x7000003a6000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:21 [0x7000003a6000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:21 [0x7000003a6000] DEBUG - MyPlex: Toggling server publish state.
Apr 02, 2016 10:36:21 [0x7000003a6000] DEBUG - PublicAddressManager: Stopping.
Apr 02, 2016 10:36:21 [0x7000003a6000] DEBUG - Destroying public address manager
Apr 02, 2016 10:36:21 [0x7000003a6000] DEBUG - It took 0.0 sec to serialize a list with 3 elements.
Apr 02, 2016 10:36:21 [0x7000003a6000] DEBUG - MyPlex: Sending Server Info to myPlex (user=plex@mydomain.net, ip=, port=0)
Apr 02, 2016 10:36:21 [0x7000003a6000] DEBUG - HTTP requesting POST https://plex.tv/servers.xml?auth_token=xxxxxxxxxxxxxxxxxxxx
Apr 02, 2016 10:36:22 [0x7000003a6000] DEBUG - MyPlex: Published Mapping State response was 422
Apr 02, 2016 10:36:22 [0x7000003a6000] WARN - MyPlex: Invalid response when mapping state (code=422):
Apr 02, 2016 10:36:22 [0x70000073b000] DEBUG - Completed: [Y.Y.Y.Y:50466] PUT /:/prefs?PublishServerOnPlexOnlineKey=false (6 live) TLS GZIP 801ms 231 bytes 200 (pipelined: 5)
Apr 02, 2016 10:36:22 [0x7000004ac000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 231 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:22 [0x700000841000] DEBUG - Request: [Y.Y.Y.Y:50466] GET /myplex/account (6 live) TLS GZIP
Apr 02, 2016 10:36:22 [0x700000841000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:22 [0x700000841000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:22 [0x7000006b8000] DEBUG - Completed: [Y.Y.Y.Y:50466] GET /myplex/account (6 live) TLS GZIP 2ms 623 bytes 200 (pipelined: 6)
Apr 02, 2016 10:36:22 [0x700001071000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 623 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:22 [0x7000003a6000] DEBUG - Request: [Y.Y.Y.Y:50466] OPTIONS /:/prefs?PublishServerOnPlexOnlineKey=true (6 live) TLS GZIP
Apr 02, 2016 10:36:22 [0x7000003a6000] VERBOSE - * PublishServerOnPlexOnlineKey => true
Apr 02, 2016 10:36:22 [0x70000073b000] DEBUG - Completed: [Y.Y.Y.Y:50466] OPTIONS /:/prefs?PublishServerOnPlexOnlineKey=true (6 live) TLS GZIP 1ms 516 bytes 200 (pipelined: 7)
Apr 02, 2016 10:36:22 [0x700000841000] DEBUG - Request: [Y.Y.Y.Y:50484] PUT /:/prefs?PublishServerOnPlexOnlineKey=true (6 live) TLS GZIP
Apr 02, 2016 10:36:22 [0x700000841000] VERBOSE - * PublishServerOnPlexOnlineKey => true
Apr 02, 2016 10:36:22 [0x700000841000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:22 [0x700000841000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:22 [0x700000841000] DEBUG - MyPlex: Toggling server publish state.
Apr 02, 2016 10:36:22 [0x700000841000] DEBUG - PublicAddressManager: Starting.
Apr 02, 2016 10:36:22 [0x700000841000] DEBUG - PublicAddressManager: Obtaining public address and mapping port.
Apr 02, 2016 10:36:22 [0x7000004ac000] DEBUG - PublicAddressManager: Obtaining public IP.
Apr 02, 2016 10:36:22 [0x7000004ac000] DEBUG - HTTP requesting GET http://plex.tv/pms/:/ip
Apr 02, 2016 10:36:22 [0x7000006b8000] DEBUG - Completed: [Y.Y.Y.Y:50484] PUT /:/prefs?PublishServerOnPlexOnlineKey=true (6 live) TLS GZIP 3ms 231 bytes 200
Apr 02, 2016 10:36:22 [0x700001177000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 231 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:22 [0x7000003a6000] DEBUG - Request: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP
Apr 02, 2016 10:36:22 [0x7000003a6000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:22 [0x7000003a6000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:22 [0x70000073b000] DEBUG - Completed: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP 2ms 622 bytes 200 (pipelined: 2)
Apr 02, 2016 10:36:22 [0x700001071000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 622 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:22 [0x7000004ac000] DEBUG - PublicAddressManager: Got public IP from http://plex.tv: X.X.X.X
Apr 02, 2016 10:36:22 [0x7000004ac000] DEBUG - It took 0.0 sec to serialize a list with 3 elements.
Apr 02, 2016 10:36:22 [0x7000004ac000] DEBUG - MyPlex: Sending Server Info to myPlex (user=plex@mydomain.net, ip=, port=32436)
Apr 02, 2016 10:36:22 [0x7000004ac000] DEBUG - HTTP requesting POST https://plex.tv/servers.xml?auth_token=xxxxxxxxxxxxxxxxxxxx
Apr 02, 2016 10:36:22 [0x7000003a6000] DEBUG - Request: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP
Apr 02, 2016 10:36:22 [0x7000003a6000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:22 [0x7000003a6000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:22 [0x7000006b8000] DEBUG - Completed: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP 2ms 623 bytes 200 (pipelined: 3)
Apr 02, 2016 10:36:22 [0x700001177000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 623 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:23 [0x700000841000] DEBUG - Request: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP
Apr 02, 2016 10:36:23 [0x700000841000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:23 [0x700000841000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:23 [0x70000073b000] DEBUG - Completed: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP 2ms 623 bytes 200 (pipelined: 4)
Apr 02, 2016 10:36:23 [0x700001071000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 623 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:23 [0x7000003a6000] DEBUG - Request: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP
Apr 02, 2016 10:36:23 [0x7000003a6000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:23 [0x7000003a6000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:23 [0x7000006b8000] DEBUG - Completed: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP 2ms 623 bytes 200 (pipelined: 5)
Apr 02, 2016 10:36:23 [0x700001071000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 623 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:24 [0x700000841000] DEBUG - Request: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP
Apr 02, 2016 10:36:24 [0x700000841000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:24 [0x700000841000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:24 [0x70000073b000] DEBUG - Completed: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP 2ms 623 bytes 200 (pipelined: 6)
Apr 02, 2016 10:36:24 [0x700001177000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 623 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:24 [0x700000841000] DEBUG - Request: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP
Apr 02, 2016 10:36:24 [0x700000841000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:24 [0x700000841000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:24 [0x7000006b8000] DEBUG - Completed: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP 2ms 623 bytes 200 (pipelined: 7)
Apr 02, 2016 10:36:24 [0x700001071000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 623 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:25 [0x7000003a6000] DEBUG - Request: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP
Apr 02, 2016 10:36:25 [0x7000003a6000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:25 [0x7000003a6000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:25 [0x70000073b000] DEBUG - Completed: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP 2ms 623 bytes 200 (pipelined: 8)
Apr 02, 2016 10:36:25 [0x700001177000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 623 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:25 [0x7000003a6000] DEBUG - Request: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP
Apr 02, 2016 10:36:25 [0x7000003a6000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:25 [0x7000003a6000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:25 [0x70000073b000] DEBUG - Completed: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP 2ms 623 bytes 200 (pipelined: 9)
Apr 02, 2016 10:36:25 [0x700001071000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 623 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:26 [0x700000841000] DEBUG - Request: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP
Apr 02, 2016 10:36:26 [0x700000841000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:26 [0x700000841000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:26 [0x7000006b8000] DEBUG - Completed: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP 2ms 623 bytes 200 (pipelined: 10)
Apr 02, 2016 10:36:26 [0x700001177000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 623 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:26 [0x7000003a6000] DEBUG - Request: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP
Apr 02, 2016 10:36:26 [0x7000003a6000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:26 [0x7000003a6000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:26 [0x7000006b8000] DEBUG - Completed: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP 2ms 623 bytes 200 (pipelined: 11)
Apr 02, 2016 10:36:26 [0x700001071000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 623 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:27 [0x700000841000] DEBUG - Request: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP
Apr 02, 2016 10:36:27 [0x700000841000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:27 [0x700000841000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:27 [0x70000073b000] DEBUG - Completed: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP 2ms 623 bytes 200 (pipelined: 12)
Apr 02, 2016 10:36:27 [0x700001177000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 623 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:27 [0x70000073b000] VERBOSE - We didnt receive any data from Y.Y.Y.Z:59571 in time, dropping connection.
Apr 02, 2016 10:36:27 [0x700001071000] DEBUG - HTTP requesting GET https://plex.tv/services/pubsub/servers
Apr 02, 2016 10:36:27 [0x7000003a6000] DEBUG - Request: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP
Apr 02, 2016 10:36:27 [0x7000003a6000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:27 [0x7000003a6000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:27 [0x7000006b8000] DEBUG - Completed: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP 2ms 623 bytes 200 (pipelined: 13)
Apr 02, 2016 10:36:27 [0x7000011fa000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 623 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:28 [0x7000003a6000] DEBUG - Request: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP
Apr 02, 2016 10:36:28 [0x7000003a6000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:28 [0x7000003a6000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:28 [0x70000073b000] DEBUG - Completed: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP 2ms 623 bytes 200 (pipelined: 14)
Apr 02, 2016 10:36:28 [0x700001177000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 623 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:28 [0x7000004ac000] DEBUG - MyPlex: Published Mapping State response was 422
Apr 02, 2016 10:36:28 [0x7000004ac000] WARN - MyPlex: Invalid response when mapping state (code=422):
Apr 02, 2016 10:36:28 [0x7000004ac000] DEBUG - MyPlex: Updating device connections (from timer: 0)
Apr 02, 2016 10:36:28 [0x7000004ac000] DEBUG - HTTP requesting PUT https://plex.tv/devices/380560cf4eef08d52b7e95bbecd13acdd6b419dc?Connection[][uri]=http://Y.Y.Y.Y:32400&httpsEnabled=1&httpsRequired=0&X-Plex-Token=xxxxxxxxxxxxxxxxxxxx
Apr 02, 2016 10:36:28 [0x7000003a6000] DEBUG - Request: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP
Apr 02, 2016 10:36:28 [0x7000003a6000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Apr 02, 2016 10:36:28 [0x7000003a6000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Apr 02, 2016 10:36:28 [0x7000006b8000] DEBUG - Completed: [Y.Y.Y.Y:50484] GET /myplex/account (6 live) TLS GZIP 2ms 685 bytes 200 (pipelined: 15)
Apr 02, 2016 10:36:28 [0x7000011fa000] VERBOSE - Statistics: (Plex Web (Chrome)) Reporting 685 bytes for account 1 on LAN: 1
Apr 02, 2016 10:36:28 [0x700001071000] VERBOSE - EventSource: Creating.
Apr 02, 2016 10:36:28 [0x700001071000] VERBOSE - EventSource: Creating.
Apr 02, 2016 10:36:28 [0x700001071000] VERBOSE - EventSource: Creating.
Apr 02, 2016 10:36:28 [0x700001071000] VERBOSE - EventSource: Creating.
Apr 02, 2016 10:36:28 [0x700001071000] VERBOSE - EventSource: Creating.
Apr 02, 2016 10:36:28 [0x700001071000] VERBOSE - EventSource: Creating.
Apr 02, 2016 10:36:28 [0x700001071000] VERBOSE - EventSource: Creating.
Apr 02, 2016 10:36:30 [0x700001071000] DEBUG - PubSubManager: Time to connect to 45.79.90.28 was 544 ms.
Apr 02, 2016 10:36:30 [0x700001071000] DEBUG - PubSubManager: Time to connect to 45.79.211.86 was 551 ms.
Apr 02, 2016 10:36:30 [0x700001071000] DEBUG - PubSubManager: Time to connect to 45.79.11.43 was 551 ms.
Apr 02, 2016 10:36:30 [0x700001071000] DEBUG - PubSubManager: Time to connect to 45.33.77.214 was 562 ms.
Apr 02, 2016 10:36:30 [0x700001071000] DEBUG - PubSubManager: Time to connect to 82.94.168.14 was 766 ms.
Apr 02, 2016 10:36:30 [0x700001071000] DEBUG - PubSubManager: Time to connect to 139.162.216.99 was 796 ms.
Apr 02, 2016 10:36:30 [0x700001071000] DEBUG - PubSubManager: Time to connect to 103.3.62.6 was 941 ms.
Apr 02, 2016 10:36:30 [0x700001071000] DEBUG - PubSubManager: Updating best ping time for 45.79.11.43 to 551 ms.
Thanks for the help,
Nick