mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
TvDbSharper.TvDbServerException: Your JWT token is missing or expired; Not authorized #673
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SenorSmartyPants on GitHub (May 6, 2019).
Originally assigned to: @anthonylavado on GitHub.
Describe the bug
No new TVDB data. Lots of JWT token expiration messages in the log.
Logs
System (please complete the following information):
@anthonylavado commented on GitHub (May 7, 2019):
Strange - I'm not getting this right now. I know the TVDB has been changing some infrastructure lately.
It looks like you have the "Display missing episodes within seasons" feature on. Is that correct?
@SenorSmartyPants commented on GitHub (May 7, 2019):
"Display missing episodes within seasons" feature is off.
@anthonylavado commented on GitHub (May 7, 2019):
Hrm... There's not many reasons why the DummySeasonProvider would be called otherwise. Keep an eye on it and let me know if it comes up again. I've been hammering The TVDB a lot lately with tests, turning different things off and on, and I haven't had this one yet.
@anthonylavado commented on GitHub (May 7, 2019):
Okay, one other person with the error:
https://github.com/jellyfin/jellyfin/issues/1282#issuecomment-490209275
@SenorSmartyPants @kusochi Can you both please provide the settings you have in the TV Shows library?
@murtoM commented on GitHub (May 7, 2019):
@anthonylavado My settings:
Library Settings
Preferred download language: none selected
Country: none selected
Special season display name: Specials
Prefer embedded titles over filenames: disabled
Enable real time monitoring: enabled
Series metadata downloaders: TheTVDB and TheMoviesDb
Season metadata downloaders: none
Episode metadata downloaders: TheTVDB
Automatically refresh metadata from the internet: Never
Metadata savers: none
Series Image Fetchers: TheTVDB and FanArt
Season Image Fetchers: TheTVDB
Episode Image Fetchers: TheTVDB and Screen Grabber
Save artwork into media folders: disabled
Download images in advance: disabled
Automatically merge series that are spread across multiple folders: enabled
Display missing episodes within seasons: disabled
Chapter Images
Enable chapter image extraction: disabled
Extract chapter images during the library scan: disabled
Subtitle Downloads
Download languages: none
Subtitle downloaders: Open Subtitles
Only download subtitles that are a perfect match for my video files: enabled
Skip if the default audio track matches the download language: disabled
Skip if the video already contains embedded subtitles: disabled
Save subtitles into media folders: enabled
My installation was originally migrated from Emby, if that is relevant.
@SenorSmartyPants commented on GitHub (May 8, 2019):
My library settings are the same as the above except where I'm noting below.
Library Settings
Preferred download language: English
Country: United States
I don't have a subtitle plugin installed.
Should there be a TVDB optioin in Season metadata downloaders?
@dkamanae commented on GitHub (May 10, 2019):
I'm having the same issue with the same library settings. I also migrated from Emby originally, just in case that's a pattern.
@anthonylavado commented on GitHub (May 10, 2019):
@SenorSmartyPants No TVDB option in Season Metadata Downloaders. Are you also migrated from Emby?
@HotMykeul commented on GitHub (May 10, 2019):
Same problem for me.
I checked TheTVDB, TheMovieDB and TheOpenMovieDatabase for all available settings except in Season Metadata Downloaders, where TheMovieDB is only available.
I tried to uncheck it, but the problem persists.
@anthonylavado commented on GitHub (May 10, 2019):
A question going forward to all concerned:
Have you migrated settings/libraries from Emby at all? Or did you start Jellyfin "from scratch"?
@HotMykeul commented on GitHub (May 10, 2019):
Migrated from emby for me.
Le ven. 10 mai 2019 à 06:16, Anthony Lavado notifications@github.com a
écrit :
@SenorSmartyPants commented on GitHub (May 10, 2019):
I ran emby first, but did not migrate as I ran both in parallel. I ran them in separate dockers on the same machine.
@murtoM commented on GitHub (May 13, 2019):
I wiped my installation and got a installation "from scratch" with fresh configuration and libraries and the issue is not present any more on the same machine with same settings.
@SenorSmartyPants commented on GitHub (May 13, 2019):
That's what I assumed would happen but I'd rather not do that. This is definitely a problem with not renewing the authorization with TVDB as I see it.
Is there a less extreme way to reset the TVDB config than doing a fresh install? Maybe just a couple config files to wipe?
@HotMykeul commented on GitHub (May 13, 2019):
Completely agree, I do not want to do a fresh install, I will loose all viewed movies and tv, and manually identified movies. Please tell us how to generate a new token or reset files.
@cvium commented on GitHub (May 13, 2019):
Restart jellyfin
@SenorSmartyPants commented on GitHub (May 13, 2019):
I restarted JF and am doing a rescan for missing metadata. TVDB is responding and data is coming in.
@HotMykeul commented on GitHub (May 13, 2019):
I restarted it (docker restart jellyfin), it do not work for me.
@dkamanae commented on GitHub (May 14, 2019):
Restarting Jellyfin also did not work for me.
@anthonylavado commented on GitHub (May 21, 2019):
@HotMykeul Could you try the "shutdown" option in the Dashboard, then try restarting the container? I'm thinking that it's still keeping whatever data around, and not actually refreshing it properly (though I don't use Docker, so I can't really comment)
@dkamanae Could you also try the "shutdown" button? How did you install Jellyfin?
@dkamanae commented on GitHub (May 21, 2019):
I install via the repo for Debian.
I used the shutdown option, and it wasn't immediately working. But, I checked the log and the error was no longer showing up, so I looked in the library settings and thetvdb had been unselected as a source for episode data. I rechecked it, and now it's working as expected! Thanks!
@DrPandemic commented on GitHub (May 24, 2019):
Is there a way to run the full shutdown process when a docker container gets killed?
@SenorSmartyPants commented on GitHub (May 30, 2019):
This started happening again last night. I shutdown JF from the dashboard and restarted the docker container. Pulling data from TVDB again. But it's annoying to have to watch for this issue.
@anthonylavado commented on GitHub (May 31, 2019):
@senorsmartypants
In the Scheduled Tasks area of the Dashboard, do you have “Scan media library” active? Does it run every 12 hours?
@anthonylavado commented on GitHub (May 31, 2019):
Some discussion on Riot/Matrix says that we need to add some error handling around TheTVDB.
My personal guess without knowing anymore details is that we’re not getting a response (either because the API is busy/down), and then the token becomes invalid as a result.
@SenorSmartyPants commented on GitHub (May 31, 2019):
Scan media library is active. It is set to run every 12 hours.
I don't recall if I ever touched that setting or not.
@anthonylavado commented on GitHub (May 31, 2019):
@SenorSmartyPants Looks like @cvium got it in #1426. There was a comparison set the wrong way.
@SenorSmartyPants commented on GitHub (Jun 1, 2019):
Great. Any ETA on the next release?
@anthonylavado commented on GitHub (Jun 1, 2019):
Not sure. I’ve just merged it in to the release branch, and I think we’re almost ready.
@jomp16 commented on GitHub (Jun 14, 2019):
It still isn't working...
Jellyfin docker image hash: b0a42f5a8ef31e5bb95f774e2a9c758b33ff838eb7b701af62581adc9787c95f
Version: 10.3.5
I need to recreate the image, and scan missing metadata from library settings to make it assign the TVDB metadata.
@SenorSmartyPants commented on GitHub (Jun 20, 2019):
I'm still getting this error as well on 10.3.5. doing a docker restart on the JF image made it start working again.
@dkamanae commented on GitHub (Jun 21, 2019):
Unfortunately, I have to report I'm still getting this on 10.3.5, doing a shutdown from the dashboard and then restarting seems to fix it temporarily, but eventually it starts happening again.
@cvium commented on GitHub (Jun 25, 2019):
This will be fixed in 10.3.6.
@enomam commented on GitHub (Jul 7, 2019):
I've just upgraded to 10.3.6 (docker image), and am now getting these errors. Related?
@anthonylavado commented on GitHub (Jul 11, 2019):
We have some HTTP stuff that needs to be fixed up, we'll try to release soon. Not 100% sure if this is related.
@tyhawk commented on GitHub (Sep 19, 2019):
I've got the same error as @enomam, but on 10.3.7 (also running docker).
Scanning my libraries since today is extremely slow. Haven't touched any settings. Not sure what's going on.
@anthonylavado commented on GitHub (Sep 19, 2019):
Ah okay, thanks for letting us know. This should be a new issue if it isn't already. It's not related to the JWT token.