r/Tautulli•
bindiboi

Can't communicate with local plex server no matter what

SOLVED

Hi, this is the error I'm having with a fresh install of Tautulli on a new server I just set up with Debian stretch: "There was an error communicating with your Plex Server. Check the logs and verify your server connection in the settings." I think I've tried everything by now:

  • fully removing the server from the list (so it gives a red triangle error or whatever) and re-add it
  • tried all options: local ip (192.168.1.1, 127.0.0.1) and remote ip
  • tried with and without SSL
  • tried with and without remote server ticked
  • tried getting a new plex login token in incognito mode

Only thing I can find out from the logs is that there's a 401 every now and then, but for the past 4 days (since I last touched it) there's nothing relevant I think.

2018-12-26 02:46:51 - INFO    :: MainThread : Tautulli NotificationHandler :: Starting background notification handler (2 threads).
2018-12-26 02:46:51 - INFO    :: MainThread : Tautulli WebStart :: Starting Tautulli web server on http://0.0.0.0:8181/
2018-12-26 02:47:49 - DEBUG   :: CP Server Thread-12 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:49:21 - WARNING :: CP Server Thread-13 : Unable to retrieve data for get_user_recently_watched.
2018-12-26 02:49:21 - WARNING :: CP Server Thread-9 : Unable to retrieve data for user_player_stats.
2018-12-26 02:49:28 - WARNING :: CP Server Thread-13 : Unable to retrieve data for get_user_recently_watched.
2018-12-26 02:49:28 - WARNING :: CP Server Thread-8 : Unable to retrieve data for user_player_stats.
2018-12-26 02:49:41 - WARNING :: CP Server Thread-9 : Failed to access uri endpoint /servers/********80/sync_lists. Status code 401
2018-12-26 02:49:41 - WARNING :: CP Server Thread-9 : Tautulli PlexTV :: Unable to parse XML for get_synced_items: 'NoneType' object has no attribute 'getElementsByTagName'.
2018-12-26 02:49:41 - WARNING :: CP Server Thread-9 : Unable to retrieve data for get_sync.
2018-12-26 02:50:27 - DEBUG   :: CP Server Thread-8 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:50:36 - INFO    :: CP Server Thread-8 : Tautulli Config :: Writing configuration to file
2018-12-26 02:50:41 - INFO    :: CP Server Thread-8 : Tautulli PlexTV :: Requesting resources for server...
2018-12-26 02:50:42 - DEBUG   :: CP Server Thread-8 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:50:42 - INFO    :: CP Server Thread-8 : Tautulli PlexTV :: Server URL retrieved.
2018-12-26 02:50:42 - DEBUG   :: CP Server Thread-8 : Testing websocket connection...
2018-12-26 02:50:42 - DEBUG   :: CP Server Thread-8 : Websocket connection test successful.
2018-12-26 02:50:43 - INFO    :: CP Server Thread-8 : Tautulli Config :: Writing configuration to file
2018-12-26 02:50:43 - INFO    :: CP Server Thread-8 : Tautulli PlexTV :: Requesting resources for server...
2018-12-26 02:50:44 - DEBUG   :: CP Server Thread-8 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:50:44 - INFO    :: CP Server Thread-8 : Tautulli PlexTV :: Server URL retrieved.
2018-12-26 02:50:44 - INFO    :: CP Server Thread-8 : Tautulli Config :: Writing configuration to file
2018-12-26 02:50:44 - INFO    :: Thread-14 : Tautulli Libraries :: Requesting libraries list refresh...
2018-12-26 02:50:44 - INFO    :: Thread-15 : Tautulli Users :: Requesting users list refresh...
2018-12-26 02:50:45 - DEBUG   :: CP Server Thread-6 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:50:45 - INFO    :: Thread-14 : Tautulli Config :: Writing configuration to file
2018-12-26 02:50:45 - INFO    :: Thread-14 : Tautulli Libraries :: Libraries list refreshed.
2018-12-26 02:50:46 - INFO    :: Thread-15 : Tautulli Users :: Users list refreshed.
2018-12-26 02:50:56 - WARNING :: CP Server Thread-12 : Failed to access uri endpoint /servers/********80/sync_lists. Status code 401
2018-12-26 02:50:56 - WARNING :: CP Server Thread-12 : Tautulli PlexTV :: Unable to parse XML for get_synced_items: 'NoneType' object has no attribute 'getElementsByTagName'.
2018-12-26 02:50:56 - WARNING :: CP Server Thread-12 : Unable to retrieve data for get_sync.
2018-12-26 02:54:44 - DEBUG   :: CP Server Thread-9 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:54:56 - INFO    :: CP Server Thread-9 : Tautulli PlexTV :: Requesting resources for server...
2018-12-26 02:54:57 - DEBUG   :: CP Server Thread-9 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:54:57 - INFO    :: CP Server Thread-9 : Tautulli PlexTV :: Server URL retrieved.
2018-12-26 02:54:57 - DEBUG   :: CP Server Thread-9 : Testing websocket connection...
2018-12-26 02:54:58 - DEBUG   :: CP Server Thread-9 : Websocket connection test successful.
2018-12-26 02:55:00 - INFO    :: CP Server Thread-9 : Tautulli Config :: Writing configuration to file
2018-12-26 02:55:00 - INFO    :: CP Server Thread-9 : Tautulli PlexTV :: Requesting resources for server...
2018-12-26 02:55:00 - DEBUG   :: CP Server Thread-9 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:55:00 - INFO    :: CP Server Thread-9 : Tautulli PlexTV :: Server URL retrieved.
2018-12-26 02:55:00 - INFO    :: CP Server Thread-9 : Tautulli Config :: Writing configuration to file
2018-12-26 02:55:00 - INFO    :: Thread-16 : Tautulli Libraries :: Requesting libraries list refresh...
2018-12-26 02:55:00 - INFO    :: Thread-17 : Tautulli Users :: Requesting users list refresh...
2018-12-26 02:55:01 - INFO    :: Thread-16 : Tautulli Config :: Writing configuration to file
2018-12-26 02:55:01 - INFO    :: Thread-16 : Tautulli Libraries :: Libraries list refreshed.
2018-12-26 02:55:01 - DEBUG   :: CP Server Thread-4 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:55:02 - INFO    :: Thread-17 : Tautulli Users :: Users list refreshed.
2018-12-26 02:55:50 - DEBUG   :: CP Server Thread-7 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:55:58 - INFO    :: CP Server Thread-7 : Tautulli PlexTV :: Requesting resources for server...
2018-12-26 02:55:59 - DEBUG   :: CP Server Thread-7 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:55:59 - INFO    :: CP Server Thread-7 : Tautulli PlexTV :: Server URL retrieved.
2018-12-26 02:55:59 - DEBUG   :: CP Server Thread-7 : Testing websocket connection...
2018-12-26 02:55:59 - DEBUG   :: CP Server Thread-7 : Websocket connection test successful.
2018-12-26 02:56:00 - INFO    :: CP Server Thread-7 : Tautulli Config :: Writing configuration to file
2018-12-26 02:56:00 - INFO    :: CP Server Thread-7 : Tautulli PlexTV :: Requesting resources for server...
2018-12-26 02:56:01 - DEBUG   :: CP Server Thread-7 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:56:01 - INFO    :: CP Server Thread-7 : Tautulli PlexTV :: Server URL retrieved.
2018-12-26 02:56:01 - INFO    :: CP Server Thread-7 : Tautulli Config :: Writing configuration to file
2018-12-26 02:56:01 - INFO    :: Thread-18 : Tautulli Libraries :: Requesting libraries list refresh...
2018-12-26 02:56:01 - INFO    :: Thread-19 : Tautulli Users :: Requesting users list refresh...
2018-12-26 02:56:01 - INFO    :: Thread-18 : Tautulli Config :: Writing configuration to file
2018-12-26 02:56:01 - INFO    :: Thread-18 : Tautulli Libraries :: Libraries list refreshed.
2018-12-26 02:56:01 - DEBUG   :: CP Server Thread-6 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:56:02 - INFO    :: Thread-19 : Tautulli Users :: Users list refreshed.
2018-12-26 02:56:07 - DEBUG   :: CP Server Thread-7 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:56:14 - INFO    :: CP Server Thread-7 : Tautulli PlexTV :: Requesting resources for server...
2018-12-26 02:56:15 - DEBUG   :: CP Server Thread-7 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:56:15 - INFO    :: CP Server Thread-7 : Tautulli PlexTV :: Server URL retrieved.
2018-12-26 02:56:15 - DEBUG   :: CP Server Thread-7 : Testing websocket connection...
2018-12-26 02:56:15 - DEBUG   :: CP Server Thread-7 : Websocket connection test successful.
2018-12-26 02:56:38 - INFO    :: CP Server Thread-8 : Tautulli Config :: Writing configuration to file
2018-12-26 02:56:38 - INFO    :: CP Server Thread-8 : Tautulli PlexTV :: Requesting resources for server...
2018-12-26 02:56:39 - DEBUG   :: CP Server Thread-8 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:56:39 - INFO    :: CP Server Thread-8 : Tautulli PlexTV :: Server URL retrieved.
2018-12-26 02:56:39 - INFO    :: CP Server Thread-8 : Tautulli Config :: Writing configuration to file
2018-12-26 02:56:39 - INFO    :: Thread-20 : Tautulli Libraries :: Requesting libraries list refresh...
2018-12-26 02:56:39 - INFO    :: Thread-21 : Tautulli Users :: Requesting users list refresh...
2018-12-26 02:56:39 - DEBUG   :: CP Server Thread-4 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-26 02:56:39 - INFO    :: Thread-20 : Tautulli Config :: Writing configuration to file
2018-12-26 02:56:39 - INFO    :: Thread-20 : Tautulli Libraries :: Libraries list refreshed.
2018-12-26 02:56:40 - INFO    :: Thread-21 : Tautulli Users :: Users list refreshed.
2018-12-29 17:51:23 - DEBUG   :: CP Server Thread-11 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-29 17:51:27 - INFO    :: CP Server Thread-11 : Tautulli PlexTV :: Requesting resources for server...
2018-12-29 17:51:28 - DEBUG   :: CP Server Thread-11 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-29 17:51:28 - INFO    :: CP Server Thread-11 : Tautulli PlexTV :: Server URL retrieved.
2018-12-29 17:51:28 - DEBUG   :: CP Server Thread-11 : Testing websocket connection...
2018-12-29 17:51:28 - DEBUG   :: CP Server Thread-11 : Websocket connection test successful.
2018-12-29 17:51:32 - INFO    :: CP Server Thread-11 : Tautulli Config :: Writing configuration to file
2018-12-29 17:51:34 - INFO    :: CP Server Thread-11 : Tautulli Config :: Writing configuration to file
2018-12-29 17:51:34 - DEBUG   :: CP Server Thread-7 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-30 02:20:28 - DEBUG   :: CP Server Thread-7 : Tautulli PlexTV :: Plex Pass subscription not found.
2018-12-30 02:20:29 - INFO    :: CP Server Thread-7 : Retrieving latest version information from GitHub
2018-12-30 02:20:29 - DEBUG   :: CP Server Thread-7 : Requesting URL via GET method: https://api.github.com/repos/Tautulli/Tautulli/commits/master
2018-12-30 02:20:36 - DEBUG   :: CP Server Thread-7 : Latest version is aa023f016671e78463dd95e8f662cbc6cc712cf0
2018-12-30 02:20:36 - INFO    :: CP Server Thread-7 : Tautulli is up to date
2018-12-30 02:20:36 - INFO    :: CP Server Thread-7 : Retrieving latest version information from GitHub
2018-12-30 02:20:36 - DEBUG   :: CP Server Thread-7 : Requesting URL via GET method: https://api.github.com/repos/Tautulli/Tautulli/commits/master
2018-12-30 02:20:46 - DEBUG   :: CP Server Thread-7 : Latest version is aa023f016671e78463dd95e8f662cbc6cc712cf0
2018-12-30 02:20:46 - INFO    :: CP Server Thread-7 : Tautulli is up to date

Posted Dec 30, 2018, 12:27 AM UTC

214
samwiseg0Tautulli Support•
1
bindiboiOP•
  • I have tried fetching a new token as I said
  • secure connections are set to Preferred, and as I said, SSL or not, doesn't work
  • plex.direct URLs work just fine
1
samwiseg0Tautulli Support•

You mentioned fetching a new token in incognito... Did you do it from Tautulli?

Also do you have the correct Plex Server Identifier listed in the settings?

1
bindiboiOP•

Yes, using Tautulli webgui I fetched a new token (it didnt seem to change whatever I did when logging in to plex without incognito)

I wouldn't know where to check the server identifier, but I checked my plex logs and atleast in there the same hash is mentioned a lot. So yes? :D.

I can also see Tautulli in the authorized devices listing on Plex settings

1
samwiseg0Tautulli Support•

You can check it by going to https://yourplexserverip:32400/identity

You want to make sure the Plex token changes when you fetch a new one.

Have you tried restarting your plex server and tautulli?

Also please provide the full logs as documented in https://github.com/Tautulli/Tautulli-Wiki/wiki/Asking-for-Support

1
SwiftPanda16Tautulli Developer•

Where's the rest of the logs? We need to see the entire file.

https://github.com/Tautulli/Tautulli-Wiki/wiki/Asking-for-Support

1
bindiboiOP•
1
SwiftPanda16Tautulli Developer•

You never completed the setup wizard.

http://localhost:8181/welcome
3
bindiboiOP•

Bam, it works. Thanks!

I never got this wizard though and it never even reminded me about it, even when going to incognito? Come to think of it, it maybe because my browser history already was filled with :8181/home URL visits from a previous installation... (and I just type "taut" and it autocompletes that /home url)

1
SwiftPanda16Tautulli Developer•

You went straight to http://localhost:8181/home instead of just http://localhost:8181.

1