Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't refresh trakt.tv token when in watch mode #1546

Open
2 of 3 tasks
glensc opened this issue Aug 3, 2023 · 0 comments
Open
2 of 3 tasks

Doesn't refresh trakt.tv token when in watch mode #1546

glensc opened this issue Aug 3, 2023 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@glensc
Copy link
Collaborator

glensc commented Aug 3, 2023

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

Watcher working:


                               object at 0xb424daf0>: Unauthorized - OAuth must be provided                               
[2023-08-03 11:11:38] ERROR    Got exception while working on <plextraktsync.queue.TraktBatchWorker.TraktBatchWorker      
                               object at 0xb424daf0>: Unauthorized - OAuth must be provided                               
[2023-08-03 11:11:43] ERROR    Got exception while working on <plextraktsync.queue.TraktBatchWorker.TraktBatchWorker      
                               object at 0xb424daf0>: Unauthorized - OAuth must be provided                               
[2023-08-03 11:11:48] ERROR    Got exception while working on <plextraktsync.queue.TraktBatchWorker.TraktBatchWorker      
                               object at 0xb424daf0>: Unauthorized - OAuth must be provided                               
[2023-08-03 11:11:53] ERROR    Got exception while working on <plextraktsync.queue.TraktBatchWorker.TraktBatchWorker      
                               object at 0xb424daf0>: Unauthorized - OAuth must be provided                               
[2023-08-03 11:11:58] ERROR    Got exception while working on <plextraktsync.queue.TraktBatchWorker.TraktBatchWorker      
                               object at 0xb424daf0>: Unauthorized - OAuth must be provided                               

it doesn't seem to refresh token itself. so shutdown and restart and it refreshed:

^C
Aborted!
[2023-08-03 11:12:03] DEBUG    Shutdown, run timed events now                                                             
                      ERROR    Got exception while working on <plextraktsync.queue.TraktBatchWorker.TraktBatchWorker      
                               object at 0xb424daf0>: Unauthorized - OAuth must be provided                               
$ ./plextraktsync.sh 
Loading .env environment variables…
[2023-08-03 11:12:15] INFO     OAuth token has expired, refreshing now...                                                 
[2023-08-03 11:12:16] INFO     OAuth token successfully refreshed, valid until 2023-11-01 08:12:14+00:00                  

Version

0.26.0dev0: 0a5af9b

Plex API Version: 4.13.4
Trakt API Version: 3.4.20

Python Version

3.7

Operating System and Version

Linux

@glensc glensc added the help wanted Extra attention is needed label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant