PlexTraktSync: Rate Limit Exceeded for plextraktsync.trakt.ScrobblerProxy.update since 0.28.2
Confirmation
- I have read the README.md on the project homepage
- I have checked if identical issue already exists
- I have tried downgrading to find version that can be used as a workaround
The problem
I keep getting a Rate Limit Exceeded for plextraktsync.trakt.ScrobblerProxy.update every 1 second when I run PlexTraktSync with the watch command since version v0.28.x
Error trace / logs
INFO Listening for events!
INFO Server connected: skywalker (1.32.8.7639-fb6452ebf)
INFO Starting AlertListener:
INFO Websocket connected
ERROR KeyError was raised: 'sessionKey'
ERROR KeyError was raised: 'sessionKey'
INFO on_play: <Movie:1195:Napoleon>: 0.067816%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.080719%, State: playing, Watched:
False, LastViewed: None
WARNING Rate Limit Exceeded for plextraktsync.trakt.ScrobblerProxy.update(),
retrying after 1 seconds (try: 1/2)
INFO on_play: <Movie:1195:Napoleon>: 0.091628%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.102349%, State: playing, Watched:
False, LastViewed: None
WARNING Rate Limit Exceeded for plextraktsync.trakt.ScrobblerProxy.update(),
retrying after 1 seconds (try: 1/2)
INFO on_play: <Movie:1195:Napoleon>: 0.113143%, State: playing, Watched:
False, LastViewed: None
WARNING Rate Limit Exceeded for plextraktsync.trakt.ScrobblerProxy.update(),
retrying after 1 seconds (try: 1/2)
Expected behavior
To scrobble without hitting the Rate Limit.
Steps to reproduce the behavior
- removed all plextraktsync dockers and configs
- deployed plextraktsync and login
- sync works fine, but almost immediately notice Rate Limit Exceeded in the logs.
Inspect of problematic items
Seems to be happening since this commit: https://github.com/Taxel/PlexTraktSync/commit/48ace04932e4fae10be29b1527bd2803f390f1a5
Workarounds
Reverting back to v0.27.15 got rid of the Rate Limit Exceeded errors. I didn’t try other versions.
INFO Listening for events!
INFO Starting AlertListener:
INFO Websocket connected
INFO on_play: <Movie:1195:Napoleon>: 0.016007%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.026770%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.037711%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.048589%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.059288%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.070197%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.081149%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.091995%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.102800%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.113740%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.124681%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.135496%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.146437%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.157242%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.169053%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.179836%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.190714%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.201498%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.212197%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.223012%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.233880%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.246877%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.255667%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.266587%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.279437%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.290189%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.301130%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.312102%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.322980%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.333795%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.344673%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.355540%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.366334%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.377201%, State: playing, Watched:
False, LastViewed: None
INFO on_play: <Movie:1195:Napoleon>: 0.388111%, State: playing, Watched:
False, LastViewed: None
Install method
docker-compose
Config file contents
# Config File: /app/config/config.yml
cache:
path: /app/config/trakt_cache
excluded-libraries:
- Private
- Family Holidays
config:
dotenv_override: true
plex:
timeout: 30
logging:
append: true
console_time: false
debug: false
filename: plextraktsync.log
filter_loggers: null
filter: null
sync:
plex_to_trakt:
collection: true
clear_collected: false
ratings: false
watched_status: false
watchlist: false
trakt_to_plex:
liked_lists: false
ratings: false
watched_status: false
watchlist: false
watchlist_as_playlist: false
rating_priority: plex
watch:
add_collection: false
remove_collection: false
scrobble_threshold: 80
username_filter: true
media_progressbar: true
xbmc-providers:
movies: imdb
shows: tvdb
Version
0.28.2
Python Version
3.12.1
Plex Server Version
1.32.8.7639
Operating System and Version
Ubuntu 22.04
About this issue
- Original URL
- State: closed
- Created 6 months ago
- Comments: 31
or you could create copy of that file and mount bind mount to that path