trakt-scrobbler icon indicating copy to clipboard operation
trakt-scrobbler copied to clipboard

[BUG] plex: 401 Client Error

Open listy-bit opened this issue 3 years ago • 1 comments

Trakts fails to scrobble any Plex video, reporting a 401 permission error with Plex.

Desktop (please complete the following information):

  • OS and Version: Mac 10.10
  • Python Version: 3.8.5
  • Player and Version: Plex 1.22.2.4282-a97b03fad
  • Trakts 1.3.2

To Reproduce

Steps to reproduce the behavior:

  1. Play any item in any player
  2. See error in log file

$trakts auth gives result: Token valid until 01/05/22 $trakts plex gives result: Plex token is saved.

To Resolve $trakts init

I have no idea why plex would suddenly reject trakts. Shouldn't $trakts plex delete the stored token and start authorisation again? For me it seems to just confirm that there is a token, without checking it's valid.

Log file

Click to see log contents

2021-12-24 23:32:30,185 - ERROR - plex - monitor - Error while getting data from plex: 401 Client Error: Unauthorized for url: http://localhost:32400/status/sessions
2021-12-24 23:32:30,212 - WARNING - plex - monitor - plex monitor stopped

listy-bit avatar Dec 27 '21 19:12 listy-bit

It does seem like an auth error. But trakts plex will not try to override your token, and there's no trakts plex delete. You need to run trakts plex --force in order to clear the token and redo it.

iamkroot avatar Dec 28 '21 03:12 iamkroot

I am also accepting the same error on windows. It is as if the password entered is not being accepted in the terminal.

wmazoni avatar Sep 21 '23 22:09 wmazoni

@wmazoni try trakts plex --force again? And make sure the plex server url is correct

iamkroot avatar Sep 22 '23 13:09 iamkroot

Sorry, I was entering the wrong token.Att,Wellington

      On Sep 22 2023, at 10:18 am, Krut Patel ***@***.***> wrote:

@wmazoni try trakts plex --force again? And make sure the plex server url is correct

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

wmazoni avatar Sep 25 '23 20:09 wmazoni

Closing this in favor of #234

iamkroot avatar Oct 08 '23 22:10 iamkroot