{"action":"created","issue":{"url":"https://api.github.com/repos/blacktwin/JBOPS/issues/85","repository_url":"https://api.github.com/repos/blacktwin/JBOPS","labels_url":"https://api.github.com/repos/blacktwin/JBOPS/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/blacktwin/JBOPS/issues/85/comments","events_url":"https://api.github.com/repos/blacktwin/JBOPS/issues/85/events","html_url":"https://github.com/blacktwin/JBOPS/issues/85","id":338675064,"node_id":"MDU6SXNzdWUzMzg2NzUwNjQ=","number":85,"title":"Failed to access URI endpoint","user":{"login":"DeathByDentures","id":20209970,"node_id":"MDQ6VXNlcjIwMjA5OTcw","avatar_url":"https://avatars2.githubusercontent.com/u/20209970?v=4","gravatar_id":"","url":"https://api.github.com/users/DeathByDentures","html_url":"https://github.com/DeathByDentures","followers_url":"https://api.github.com/users/DeathByDentures/followers","following_url":"https://api.github.com/users/DeathByDentures/following{/other_user}","gists_url":"https://api.github.com/users/DeathByDentures/gists{/gist_id}","starred_url":"https://api.github.com/users/DeathByDentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeathByDentures/subscriptions","organizations_url":"https://api.github.com/users/DeathByDentures/orgs","repos_url":"https://api.github.com/users/DeathByDentures/repos","events_url":"https://api.github.com/users/DeathByDentures/events{/privacy}","received_events_url":"https://api.github.com/users/DeathByDentures/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-05T18:10:21Z","updated_at":"2018-07-05T18:28:46Z","closed_at":"2018-07-05T18:28:46Z","author_association":"NONE","body":"Version:\r\n\r\nVERSION V2.1.14\r\n\r\nBranch:\r\n\r\nMaster\r\n\r\nCommit hash:\r\n\r\n7eee7024b6eac0a858748664878d146bf63623b4\r\n\r\nOperating system:\r\n\r\nPlatform: | Linux 4.4.96-mainline-rev1 (Docker Container on Kubernetes Cluster)\r\n\r\nPython version:\r\n2.7.13 (default, Nov 24 2017, 17:33:09) [GCC 6.3.0 20170516]\r\n\r\n--\r\n\r\nWhat you did?\r\n\r\nI haven't made any changes lately, but I was testing a new script and noticed that this error has been going on for quite some time.\r\n\r\nWhat happened?\r\n\r\nCurrently my setup is operating nominally - as far as I can tell. But this errors clogs up my logs so much I can't troubleshoot this new script. \r\n\r\nWhat you expected?\r\n\r\nI expected tautulli would continue to work as usual.\r\n\r\nHow can we reproduce your issue?\r\n\r\nI just need to run Tautulli and it will reproduce the issue about 30 times a minute. \r\n\r\nWhat are your (relevant) settings?\r\n\r\nI am running an nginx reverse proxy. I researched other issues with other users and tried those fixes prior to submitting a new issue. \r\n\r\nLink to logs:\r\n\r\nFull logs after restart:\r\n\r\n```\r\n2018-07-05 12:56:29 - INFO    :: MainThread : Received signal: restart\r\n2018-07-05 12:56:29 - INFO    :: MainThread : Tautulli WebSocket :: Disconnecting websocket...\r\n2018-07-05 12:56:29 - DEBUG   :: Thread-26 : Tautulli WebSocket :: Leaving thread.\r\n2018-07-05 12:56:29 - DEBUG   :: Thread-24 : Tautulli WebSocket :: Leaving thread.\r\n2018-07-05 12:56:29 - INFO    :: MainThread : Tautulli Config :: Writing configuration to file\r\n2018-07-05 12:56:29 - INFO    :: Thread-2 : Tautulli NotificationHandler :: Notification thread exiting...\r\n2018-07-05 12:56:29 - INFO    :: Thread-1 : Tautulli NotificationHandler :: Notification thread exiting...\r\n2018-07-05 12:56:29 - INFO    :: MainThread : Tautulli is restarting...\r\n2018-07-05 12:56:29 - INFO    :: MainThread : Restarting Tautulli with ['/usr/bin/python', '/opt/Tautulli/Tautulli.py', '--nolaunch']\r\n2018-07-05 12:56:30 - INFO    :: MainThread : Starting Tautulli v2.1.14\r\n2018-07-05 12:56:30 - INFO    :: MainThread : Linux 4.9.0-6-amd64 (#1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) - debian 9.4)\r\n2018-07-05 12:56:30 - INFO    :: MainThread : Python 2.7.13 (default, Nov 24 2017, 17:33:09) \r\n[GCC 6.3.0 20170516]\r\n2018-07-05 12:56:30 - INFO    :: MainThread : Checking if the database upgrades are required...\r\n2018-07-05 12:56:30 - INFO    :: MainThread : Checking if configuration upgrades are required...\r\n2018-07-05 12:56:30 - DEBUG   :: MainThread : Trying to execute: \"git rev-parse HEAD\" with shell in /opt/Tautulli\r\n2018-07-05 12:56:30 - DEBUG   :: MainThread : Git output: 7eee7024b6eac0a858748664878d146bf63623b4\r\n2018-07-05 12:56:30 - DEBUG   :: MainThread : Trying to execute: \"git rev-parse --abbrev-ref --symbolic-full-name @{u}\" with shell in /opt/Tautulli\r\n2018-07-05 12:56:30 - DEBUG   :: MainThread : Git output: origin/master\r\n2018-07-05 12:56:30 - INFO    :: MainThread : Retrieving latest version information from GitHub\r\n2018-07-05 12:56:30 - DEBUG   :: MainThread : Requesting URL via GET method: https://api.github.com/repos/Tautulli/Tautulli/commits/master\r\n2018-07-05 12:56:30 - DEBUG   :: MainThread : Latest version is 7eee7024b6eac0a858748664878d146bf63623b4\r\n2018-07-05 12:56:30 - INFO    :: MainThread : Tautulli is up to date\r\n2018-07-05 12:56:30 - INFO    :: MainThread : Tautulli PlexTV :: Requesting resources for server...\r\n2018-07-05 12:56:32 - INFO    :: MainThread : Tautulli PlexTV :: Using user-defined URL.\r\n2018-07-05 12:56:32 - INFO    :: MainThread : Tautulli Config :: Writing configuration to file\r\n2018-07-05 12:56:32 - INFO    :: MainThread : Tautulli Users :: Requesting users list refresh...\r\n2018-07-05 12:56:35 - INFO    :: MainThread : Tautulli Users :: Users list refreshed.\r\n2018-07-05 12:56:35 - INFO    :: MainThread : Tautulli Libraries :: Requesting libraries list refresh...\r\n2018-07-05 12:56:36 - DEBUG   :: MainThread : Tautulli Pmsconnect :: No library data.\r\n2018-07-05 12:56:36 - DEBUG   :: MainThread : Tautulli Pmsconnect :: No library data.\r\n2018-07-05 12:56:36 - DEBUG   :: MainThread : Tautulli Pmsconnect :: No library data.\r\n2018-07-05 12:56:36 - DEBUG   :: MainThread : Tautulli Pmsconnect :: No library data.\r\n2018-07-05 12:56:36 - DEBUG   :: MainThread : Tautulli Pmsconnect :: No library data.\r\n2018-07-05 12:56:36 - DEBUG   :: MainThread : Tautulli Pmsconnect :: No library data.\r\n2018-07-05 12:56:36 - DEBUG   :: MainThread : Tautulli Pmsconnect :: No library data.\r\n2018-07-05 12:56:36 - DEBUG   :: MainThread : Tautulli Pmsconnect :: No library data.\r\n2018-07-05 12:56:36 - DEBUG   :: MainThread : Tautulli Pmsconnect :: No library data.\r\n2018-07-05 12:56:36 - INFO    :: MainThread : Tautulli Config :: Writing configuration to file\r\n2018-07-05 12:56:36 - INFO    :: MainThread : Tautulli Libraries :: Libraries list refreshed.\r\n2018-07-05 12:56:36 - INFO    :: MainThread : Tautulli NotificationHandler :: Starting background notification handler (2 threads).\r\n2018-07-05 12:56:36 - WARNING :: MainThread : Failed to access uri endpoint /library/metadata/420471. Status code 404\r\n2018-07-05 12:56:36 - WARNING :: MainThread : Tautulli Pmsconnect :: Unable to parse XML for get_metadata_details: 'NoneType' object has no attribute 'getElementsByTagName'.\r\n2018-07-05 12:56:36 - DEBUG   :: MainThread : Tautulli Monitor :: Checking for active streams.\r\n2018-07-05 12:56:36 - ERROR   :: MainThread : Tautulli WebSocket :: Failed to check for active sessions: 'rating_key'.\r\n2018-07-05 12:56:36 - WARNING :: MainThread : Tautulli WebSocket :: Attempt to fix by flushing temporary sessions...\r\n2018-07-05 12:56:36 - DEBUG   :: MainThread : Tautulli Database :: Clearing temporary sessions from database.\r\n2018-07-05 12:56:37 - INFO    :: Thread-3 : Tautulli WebSocket :: Opening websocket.\r\n2018-07-05 12:56:37 - INFO    :: Thread-3 : Tautulli WebSocket :: Connection attempt 1.\r\n2018-07-05 12:56:37 - INFO    :: Thread-3 : Tautulli WebSocket :: Ready\r\n2018-07-05 12:56:37 - INFO    :: Thread-3 : Scheduled background task: Check GitHub for updates\r\n2018-07-05 12:56:37 - INFO    :: Thread-3 : Scheduled background task: Backup Tautulli database\r\n2018-07-05 12:56:37 - INFO    :: Thread-3 : Scheduled background task: Backup Tautulli config\r\n2018-07-05 12:56:37 - INFO    :: Thread-3 : Scheduled background task: Check for Plex remote access\r\n2018-07-05 12:56:37 - INFO    :: Thread-3 : Scheduled background task: Check for Plex updates\r\n2018-07-05 12:56:37 - INFO    :: Thread-3 : Scheduled background task: Refresh users list\r\n2018-07-05 12:56:37 - INFO    :: Thread-3 : Scheduled background task: Refresh libraries list\r\n2018-07-05 12:56:37 - WARNING :: Thread-1 : Failed to access uri endpoint /library/metadata/420471. Status code 404\r\n2018-07-05 12:56:37 - WARNING :: Thread-1 : Tautulli Pmsconnect :: Unable to parse XML for get_metadata_details: 'NoneType' object has no attribute 'getElementsByTagName'.\r\n2018-07-05 12:56:37 - INFO    :: MainThread : Tautulli WebStart :: Web server authentication is enabled: Tautulli admin (username is 'admin') and Plex admin.\r\n2018-07-05 12:56:37 - INFO    :: MainThread : Tautulli WebStart :: Starting Tautulli web server on http://0.0.0.0:38181/tautulli/\r\n2018-07-05 12:56:39 - WARNING :: CP Server Thread-12 : Failed to access uri endpoint /library/metadata/420471. Status code 404\r\n2018-07-05 12:56:39 - WARNING :: CP Server Thread-12 : Tautulli Pmsconnect :: Unable to parse XML for get_metadata_details: 'NoneType' object has no attribute 'getElementsByTagName'.\r\n2018-07-05 12:56:39 - WARNING :: CP Server Thread-6 : Failed to access uri endpoint /library/metadata/420471. Status code 404\r\n2018-07-05 12:56:39 - WARNING :: CP Server Thread-6 : Tautulli Pmsconnect :: Unable to parse XML for get_metadata_details: 'NoneType' object has no attribute 'getElementsByTagName'.\r\n2018-07-05 12:56:39 - WARNING :: CP Server Thread-7 : Failed to access uri endpoint /library/metadata/420471. Status code 404\r\n2018-07-05 12:56:39 - WARNING :: CP Server Thread-7 : Tautulli Pmsconnect :: Unable to parse XML for get_metadata_details: 'NoneType' object has no attribute 'getElementsByTagName'.\r\n2018-07-05 12:56:40 - WARNING :: CP Server Thread-8 : Failed to access uri endpoint /library/metadata/420471. Status code 404\r\n2018-07-05 12:56:40 - WARNING :: CP Server Thread-8 : Tautulli Pmsconnect :: Unable to parse XML for get_metadata_details: 'NoneType' object has no attribute 'getElementsByTagName'.\r\n2018-07-05 12:56:43 - WARNING :: Thread-3 : Failed to access uri endpoint /library/metadata/420471. Status code 404\r\n2018-07-05 12:56:43 - WARNING :: Thread-3 : Tautulli Pmsconnect :: Unable to parse XML for get_metadata_details: 'NoneType' object has no attribute 'getElementsByTagName'.\r\n2018-07-05 12:56:43 - DEBUG   :: Thread-3 : Tautulli ActivityHandler :: Session 312 started by user 9519708 (username) with ratingKey 33511 (Adventure Time - Beyond This Earthly Realm).\r\n2018-07-05 12:56:43 - WARNING :: Thread-2 : Failed to access uri endpoint /library/metadata/420471. Status code 404\r\n2018-07-05 12:56:43 - WARNING :: Thread-2 : Tautulli Pmsconnect :: Unable to parse XML for get_metadata_details: 'NoneType' object has no attribute 'getElementsByTagName'.\r\n2018-07-05 12:56:44 - WARNING :: Thread-3 : Failed to access uri endpoint /library/metadata/420471. Status code 404\r\n2018-07-05 12:56:44 - WARNING :: Thread-3 : Tautulli Pmsconnect :: Unable to parse XML for get_metadata_details: 'NoneType' object has no attribute 'getElementsByTagName'.\r\n2018-07-05 12:56:44 - DEBUG   :: Thread-3 : Tautulli ActivityHandler :: Session 308 started by user 4836061 (username1) with ratingKey 34001 (Fool's Gold).\r\n2018-07-05 12:56:44 - WARNING :: Thread-1 : Failed to access uri endpoint /library/metadata/420471. Status code 404\r\n2018-07-05 12:56:44 - WARNING :: Thread-1 : Tautulli Pmsconnect :: Unable to parse XML for get_metadata_details: 'NoneType' object has no attribute 'getElementsByTagName'.\r\n2018-07-05 12:56:46 - WARNING :: CP Server Thread-9 : Failed to access uri endpoint /library/metadata/420471. Status code 404\r\n2018-07-05 12:56:46 - WARNING :: CP Server Thread-9 : Tautulli Pmsconnect :: Unable to parse XML for get_metadata_details: 'NoneType' object has no attribute 'getElementsByTagName'.\r\n2018-07-05 12:56:46 - WARNING :: CP Server Thread-11 : Failed to access uri endpoint /library/metadata/420471. Status code 404\r\n2018-07-05 12:56:46 - WARNING :: CP Server Thread-8 : Failed to access uri endpoint /library/metadata/420471. Status code 404\r\n2018-07-05 12:56:46 - WARNING :: CP Server Thread-11 : Tautulli Pmsconnect :: Unable to parse XML for get_metadata_details: 'NoneType' object has no attribute 'getElementsByTagName'.\r\n2018-07-05 12:56:46 - WARNING :: CP Server Thread-8 : Tautulli Pmsconnect :: Unable to parse XML for get_metadata_details: 'NoneType' object has no attribute 'getElementsByTagName'.\r\n2018-07-05 12:56:46 - WARNING :: CP Server Thread-12 : Failed to access uri endpoint /library/metadata/420471. Status code 404\r\n2018-07-05 12:56:46 - WARNING :: CP Server Thread-12 : Tautulli Pmsconnect :: Unable to parse XML for get_metadata_details: 'NoneType' object has no attribute 'getElementsByTagName'.\r\n```"},"comment":{"url":"https://api.github.com/repos/blacktwin/JBOPS/issues/comments/402812727","html_url":"https://github.com/blacktwin/JBOPS/issues/85#issuecomment-402812727","issue_url":"https://api.github.com/repos/blacktwin/JBOPS/issues/85","id":402812727,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjgxMjcyNw==","user":{"login":"DeathByDentures","id":20209970,"node_id":"MDQ6VXNlcjIwMjA5OTcw","avatar_url":"https://avatars2.githubusercontent.com/u/20209970?v=4","gravatar_id":"","url":"https://api.github.com/users/DeathByDentures","html_url":"https://github.com/DeathByDentures","followers_url":"https://api.github.com/users/DeathByDentures/followers","following_url":"https://api.github.com/users/DeathByDentures/following{/other_user}","gists_url":"https://api.github.com/users/DeathByDentures/gists{/gist_id}","starred_url":"https://api.github.com/users/DeathByDentures/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeathByDentures/subscriptions","organizations_url":"https://api.github.com/users/DeathByDentures/orgs","repos_url":"https://api.github.com/users/DeathByDentures/repos","events_url":"https://api.github.com/users/DeathByDentures/events{/privacy}","received_events_url":"https://api.github.com/users/DeathByDentures/received_events","type":"User","site_admin":false},"created_at":"2018-07-05T18:28:46Z","updated_at":"2018-07-05T18:28:46Z","author_association":"NONE","body":"Posted in incorrect git - my apologies. "}}
{"actor":{"display_login":"DeathByDentures"}}