You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probably not a bug, I'm just trying to get clarification on what is expected to happen, or maybe something I need to fix?
Every once in a while my plex token will change, and of course the trakt-scrobbler doesn't know this and the scrobbling of plays from plex doesn't work anymore. When this happens, I do trakts stop, fetch my new plex token and edit the plex_token.txt file, and then trakts start.
Is this the intended recovery path? Is there a way to auto-update the token? I'm not sure if the plex token expired, or if it changes because of something else.
Desktop (please complete the following information):
OS and Version: Ubuntu 20.04.5
Python Version: 3.8.10
Player and Version: Plex Server 1.31.1.6733
To Reproduce
Steps to reproduce the behavior:
Don't know. Wait until plex token changes.
Observe scrobbling is broken and check log files.
Log file
Click to see log contents
2023-03-22 21:06:08,664 - DEBUG - plex - monitor - action=stop_previous
2023-03-22 21:06:08,664 - DEBUG - scrobbler - scrobbler - Scrobbling stop at 97.64% for Gentleman Jack
2023-03-22 21:06:08,910 - INFO - scrobbler - scrobbler - Scrobble stop successful for Gentleman Jack S01E06 at 97.64%
2023-03-23 04:29:13,450 - WARNING - plex - utils - Request failed
2023-03-23 04:29:13,450 - DEBUG - plex - utils - Request: get {'url': 'http://localhost:32400/status/sessions'}
2023-03-23 04:29:13,451 - DEBUG - plex - utils - Response: <Response [401]> <html><head><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></body></html>
2023-03-23 04:29:13,451 - ERROR - plex - monitor - Error while getting data from plex: 401 Client Error: Unauthorized for url: http://localhost:32400/status/sessions
The text was updated successfully, but these errors were encountered:
JRFarmer
changed the title
[BUG] plex token expires
[BUG] plex token expires, scrobbler requires manual recovery
Mar 24, 2023
Interesting, I've never seen Plex tokens expire.
Are you manually signing-out of Plex from the browser? That might invalidate it.
Or it might be some recent change they've implemented, not sure.
Probably not a bug, I'm just trying to get clarification on what is expected to happen, or maybe something I need to fix?
Every once in a while my plex token will change, and of course the trakt-scrobbler doesn't know this and the scrobbling of plays from plex doesn't work anymore. When this happens, I do
trakts stop
, fetch my new plex token and edit theplex_token.txt
file, and thentrakts start
.Is this the intended recovery path? Is there a way to auto-update the token? I'm not sure if the plex token expired, or if it changes because of something else.
Desktop (please complete the following information):
To Reproduce
Steps to reproduce the behavior:
Log file
Click to see log contents
The text was updated successfully, but these errors were encountered: