Failed to retrieve authorization token due to network or server error: Read timed out

Support for Ubuntu and other Desktop Linux distributions
Post Reply
virtualfrancky
Posts: 24
Joined: 07 Aug 2018, 19:07

Failed to retrieve authorization token due to network or server error: Read timed out

Post by virtualfrancky »

Hi, to day I have a lot of error for renaming file using theTVDB:

here are the error :

Code: Select all

(1:1866)# filebot -rename *.* --q "Happay Days - Les jours heureux" --db TheTVDB --format "{S00E00} - {t} {vF} {VC}" --lang fr -no-xattr
Rename episodes using [TheTVDB] with [Airdate Order]
Fetch failed: https://api.thetvdb.com/search/series?name=Happay+Days+-+Les+jours+heureux
java.lang.IllegalStateException: Failed to retrieve authorization token due to network or server error: Read timed out
        at net.filebot.web.TheTVDBClient.getAuthorizationToken(Unknown Source)
        at net.filebot.web.TheTVDBClient.getRequestHeader(Unknown Source)
        at net.filebot.web.TheTVDBClient.lambda$requestJson$0(Unknown Source)
        at net.filebot.CachedResource.lambda$fetchIfModified$11(Unknown Source)
        at net.filebot.CachedResource.lambda$null$1(Unknown Source)
        at net.filebot.CachedResource.retry(Unknown Source)
        at net.filebot.CachedResource.lambda$get$2(Unknown Source)
        at net.filebot.Cache.computeIf(Unknown Source)
        at net.filebot.CachedResource.get(Unknown Source)
        at net.filebot.web.TheTVDBClient.requestJson(Unknown Source)
        at net.filebot.web.TheTVDBClient.search(Unknown Source)
        at net.filebot.web.TheTVDBClient.fetchSearchResult(Unknown Source)
        at net.filebot.WebServices$TheTVDBClient.access$201(Unknown Source)
        at net.filebot.WebServices$TheTVDBClient.lambda$fetchSearchResult$4(Unknown Source)
Caused by: java.net.SocketTimeoutException: Read timed out
        at net.filebot.web.WebRequest.checkErrorCode(Unknown Source)
        at net.filebot.web.WebRequest.post(Unknown Source)
        at net.filebot.web.TheTVDBClient.postJson(Unknown Source)
        ... 14 more
Caused by: java.net.SocketTimeoutException: Read timed out
        ... 16 more

java.lang.IllegalStateException: Failed to retrieve authorization token due to network or server error: Read timed out
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Failed to retrieve authorization token due to network or server error: Read timed out
        at net.filebot.WebServices$TheTVDBClient.fetchSearchResult(Unknown Source)
        at net.filebot.web.AbstractEpisodeListProvider.lambda$search$0(Unknown Source)
        at net.filebot.Cache.computeIf(Unknown Source)
        at net.filebot.Cache$TypedCache.computeIf(Unknown Source)
        at net.filebot.Cache.computeIfAbsent(Unknown Source)
        at net.filebot.Cache$TypedCache.computeIfAbsent(Unknown Source)
        at net.filebot.web.AbstractEpisodeListProvider.search(Unknown Source)
        at net.filebot.web.AbstractEpisodeListProvider.lookup(Unknown Source)
        at net.filebot.cli.CmdlineOperations.fetchEpisodeSet(Unknown Source)
        at net.filebot.cli.CmdlineOperations.renameSeries(Unknown Source)
        at net.filebot.cli.CmdlineOperations.rename(Unknown Source)
        at net.filebot.cli.ArgumentProcessor.runCommand(Unknown Source)
        at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
        at net.filebot.Main.main(Unknown Source)
Caused by: java.lang.IllegalStateException: Failed to retrieve authorization token due to network or server error: Read timed out
        at net.filebot.web.TheTVDBClient.getAuthorizationToken(Unknown Source)
        at net.filebot.web.TheTVDBClient.getRequestHeader(Unknown Source)
        at net.filebot.web.TheTVDBClient.lambda$requestJson$0(Unknown Source)
        at net.filebot.CachedResource.lambda$fetchIfModified$11(Unknown Source)
        at net.filebot.CachedResource.lambda$null$1(Unknown Source)
        at net.filebot.CachedResource.retry(Unknown Source)
        at net.filebot.CachedResource.lambda$get$2(Unknown Source)
        at net.filebot.Cache.computeIf(Unknown Source)
        at net.filebot.CachedResource.get(Unknown Source)
        at net.filebot.web.TheTVDBClient.requestJson(Unknown Source)
        at net.filebot.web.TheTVDBClient.search(Unknown Source)
        at net.filebot.web.TheTVDBClient.fetchSearchResult(Unknown Source)
        at net.filebot.WebServices$TheTVDBClient.access$201(Unknown Source)
        at net.filebot.WebServices$TheTVDBClient.lambda$fetchSearchResult$4(Unknown Source)
Caused by: java.net.SocketTimeoutException: Read timed out
        at net.filebot.web.WebRequest.checkErrorCode(Unknown Source)
        at net.filebot.web.WebRequest.post(Unknown Source)
        at net.filebot.web.TheTVDBClient.postJson(Unknown Source)
        ... 14 more
Caused by: java.net.SocketTimeoutException: Read timed out
        ... 16 more

Error (o_O)
User avatar
rednoah
The Source
Posts: 18831
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Error using TheTVDB for renaming

Post by rednoah »

api.thetvdb.com is currently down:

Code: Select all

Failed to retrieve authorization token due to network or server error: Read timed out
:arrow: Please try again tomorrow, or use a different database.
:idea: Please read the FAQ and How to Request Help.
virtualfrancky
Posts: 24
Joined: 07 Aug 2018, 19:07

Re: Failed to retrieve authorization token due to network or server error: Read timed out

Post by virtualfrancky »

Ok Thanks, will try again tomorrow. In the meantime TheMovieDB worked.
Post Reply