Tautulli - Monitor your Plex Media Server

This is the message

2019-06-07 10:43:26	WARNING	Unable to retrieve data for get_activity.
2019-06-07 10:43:26	WARNING	Tautulli Pmsconnect :: Unable to parse XML for get_current_activity: 'NoneType' object has no attribute 'getElementsByTagName'.
2019-06-07 10:43:26	WARNING	Failed to access uri endpoint /status/sessions. Is your server maybe accepting SSL connections only? HTTPConnectionPool(host='127.0.0.1', port=32400): Max retries exceeded with url: /status/sessions (Caused by ReadTimeoutError("HTTPConnectionPool(host='127.0.0.1', port=32400): Read timed out. (read timeout=15)",))

There are dozen of entries after the WARNING letting me know thing have been recently added & users playing media, so it’s still working in the background and stuff.

2019-06-07 10:44:19	DEBUG	Tautulli TimelineHandler :: Library item 'Season 5' (365958 , parent 35542) added to recently added queue.

And logs currently active users.

2019-06-07 10:43:36	DEBUG	Tautulli ActivityHandler :: Session 640 started by user xxxxx (xxxxx) with ratingKey 157223 (Trolls).

So, it’s all working processing in the background and logging all activities. It’s just the frontend(home page, ACTIVITY section) that times out. Again, this only happen when/while I encode video. Can I increase the timeout session or something?

Thanks.

pms_timeout = 15 is inside the config.ini file.

You can also increase the time the homepage refreshes in the settings.

1 Like

Changed it to 150. That did the trick. Thanks.

On Kodi 18 PlexKodiConnect does not send information tautulli information about the end of viewing:


Sometimes information appears:

2019-06-10 23:30:16 WARNING Tautulli Pmsconnect :: Unable to parse XML for get_current_activity: ā€˜NoneType’ object has no attribute ā€˜getElementsByTagName’.
2019-06-10 23:30:16 WARNING Failed to access uri endpoint /status/sessions. Is your server maybe accepting SSL connections only? HTTPConnectionPool(host=ā€˜127.0.0.1’, port=32400): Max retries exceeded with url: /status/sessions (Caused by NewConnectionError(’<urllib3.connection.HTTPConnection object at 0x7fd7ec533910>: Failed to establish a new connection: [Errno 111] Connection refused’,))
2019-06-10 23:29:16 INFO Tautulli WebStart :: Starting Tautulli web server on http://0.0.0.0:8660/

Everything was fine before 2019-06-05

2 Likes

I don’t know when it started but for some reason my Tautulli app for Android doesn’t notify me anymore when someone starts a new stream. I get an email sent from Tautulli but nothing with the Android apps, even after a re-install. Is there something I’m just missing? It used to give me notifications.

When I check the logs I see: Tautulli Notifiers :: Tautulli Remote Android App notification sent.

Nothing ever shows up on the phone side.

So I’m running Tautulli v2.1.29, and I noticed a pop-up indicating that v2.1.32 was available.

I’ve ā€œupdatedā€ three times now, but every time I remain at v2.1.29. I have Tautulli set to automatically update, and I’m using the origin master branch.

This is the relevant portion of the log after I click ā€œupdateā€ every time:

2019-07-09 11:04:20	INFO	Tautulli Config :: Writing configuration to file
2019-07-09 11:04:09	INFO	Tautulli Config :: Writing configuration to file
2019-07-09 11:04:08	INFO	Launching system tray icon.
2019-07-09 11:04:07	INFO	Tautulli WebStart :: Starting Tautulli web server on http://0.0.0.0:####/
2019-07-09 11:04:07	INFO	Tautulli WebStart :: Web server authentication is enabled: Tautulli admin (username is '####').
2019-07-09 11:04:07	INFO	Tautulli NewsletterHandler :: Scheduled newsletter: Recently Added (newsletter_id 1)
2019-07-09 11:04:07	INFO	Scheduled background task: Check for server response
2019-07-09 11:04:07	INFO	Scheduled background task: Refresh libraries list
2019-07-09 11:04:07	INFO	Scheduled background task: Refresh users list
2019-07-09 11:04:07	INFO	Scheduled background task: Check for Plex updates
2019-07-09 11:04:07	INFO	Scheduled background task: Check for Plex remote access
2019-07-09 11:04:07	INFO	Scheduled background task: Refresh Plex server URLs
2019-07-09 11:04:07	INFO	Scheduled background task: Backup Tautulli config
2019-07-09 11:04:07	INFO	Scheduled background task: Backup Tautulli database
2019-07-09 11:04:07	INFO	Scheduled background task: Check GitHub for updates
2019-07-09 11:04:07	INFO	Tautulli WebSocket :: Ready
2019-07-09 11:04:07	INFO	Tautulli WebSocket :: Opening websocket.
2019-07-09 11:04:07	DEBUG	Tautulli Monitor :: Checking for active streams.
2019-07-09 11:04:07	INFO	Tautulli NotificationHandler :: Starting background notification handler (2 threads).
2019-07-09 11:04:07	INFO	Tautulli Libraries :: Libraries list refreshed.
2019-07-09 11:04:07	INFO	Tautulli Config :: Writing configuration to file
2019-07-09 11:04:06	INFO	Tautulli Libraries :: Requesting libraries list refresh...
2019-07-09 11:04:06	INFO	Tautulli Users :: Users list refreshed.
2019-07-09 11:04:04	INFO	Tautulli Users :: Requesting users list refresh...
2019-07-09 11:04:04	INFO	Tautulli Config :: Writing configuration to file
2019-07-09 11:04:03	INFO	Tautulli PlexTV :: Using user-defined URL.
2019-07-09 11:04:03	INFO	Tautulli Config :: Writing configuration to file
2019-07-09 11:04:02	INFO	Tautulli PlexTV :: Requesting resources for server...
2019-07-09 11:04:02	DEBUG	Requesting URL via GET method: https://api.github.com/repos/Tautulli/Tautulli/releases
2019-07-09 11:04:02	INFO	New version is available. You are 35 commits behind
2019-07-09 11:04:02	DEBUG	In total, 35 commits behind
2019-07-09 11:04:02	DEBUG	Requesting URL via GET method: https://api.github.com/repos/Tautulli/Tautulli/compare/6d35bd7947bad9e50772ab49bcc6c9c34979eeaa...2635569e765e5817400ed1032a27bfc850242f6a
2019-07-09 11:04:02	INFO	Comparing currently installed version with latest GitHub version
2019-07-09 11:04:02	DEBUG	Latest version is 6d35bd7947bad9e50772ab49bcc6c9c34979eeaa
2019-07-09 11:04:01	DEBUG	Requesting URL via GET method: https://api.github.com/repos/Tautulli/Tautulli/commits/master
2019-07-09 11:04:01	INFO	Retrieving latest version information from GitHub
2019-07-09 11:04:01	DEBUG	Git output: origin/master
2019-07-09 11:04:01	DEBUG	Trying to execute: "git rev-parse --abbrev-ref --symbolic-full-name @{u}" with shell in X:\PlexPy
2019-07-09 11:04:01	DEBUG	Git output: 2635569e765e5817400ed1032a27bfc850242f6a
2019-07-09 11:04:01	DEBUG	Trying to execute: "git rev-parse HEAD" with shell in X:\PlexPy
2019-07-09 11:04:01	INFO	Checking if configuration upgrades are required...
2019-07-09 11:04:01	INFO	Checking if the database upgrades are required...
2019-07-09 11:04:01	INFO	Database File: X:\PlexPy\tautulli.db
2019-07-09 11:04:01	INFO	Config File: X:\PlexPy\config.ini
2019-07-09 11:04:01	INFO	Program Dir: X:\PlexPy
2019-07-09 11:04:01	INFO	Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)]
2019-07-09 11:04:01	INFO	America/New_York (UTC-0400)
2019-07-09 11:04:01	INFO	Windows 10 (10.0.17763)
2019-07-09 11:04:01	INFO	Starting Tautulli v2.1.29
2019-07-09 11:04:00	INFO	Restarting Tautulli with ['X:\\Python27\\pythonw.exe', 'X:\\PlexPy\\Tautulli.py', '--nolaunch']

Incidentally, I’m still having the websocket issues that I detailed in this dead thread.

That’s not the relevant section of the logs. You need to post the complete logs.

Here you are:

Please commit your changes or stash them before you merge.

Your issue is already answered in the FAQ.

1 Like

Interesting. Is there a reason for this happening? Updates were working fine before.

It’s all in the logs.

error: Your local changes to the following files would be overwritten by merge:
	plexpy/__init__.py
Please commit your changes or stash them before you merge.

Either you modified the file plexpy/__init__.py or something else on your system modified the file. Git won’t update the files if they have been modified.

Odd. I have not manually edited anything, so I wonder what could have modified that file…

In a recent update, something happened to the newsletter agent timing. I believe its been happening at least two weeks (including today). I have the config setting set to Fridays at 16:00. Its actually sent on Friday at 09:00. It has worked properly prior to recent change in behavior.

Is there a way to have Tautulli’s newsletter display the Posters that have been chosen in Plex? I am seeing some random images in the display (see screenshot).

Your timezone is set incorrectly on your machine. Check the ā€œTimezoneā€ on the Help & Info page in the settings, then fix it on your machine.

The newsletter got sent before Plex finished downloading all it’s metadata.

Yep, that was the issue. I just went to settings and Previewed the Newsletter and all the correct posters showed up. Thanks for your help.

Time Zone is set correctly on unRaid server. Other time-based emails go out at the correct time (nightly status etc).

Quoting myself from above because you didn’t ready my message:

On UnRaid you’re using the Docker container, so you probably didn’t specify the TZ variable as stated in our Docker documentation:

https://hub.docker.com/r/tautulli/tautulli/#parameters

1 Like