Page 1 of 1

java.lang.IllegalStateException: Failed to retrieve authorization token - TVDB

Posted: 10 Jan 2020, 19:43
by dasaco
Hi there, using QNAP TS253Be QTS 4.4.1.1146 with Filebot 4.9.0. Everything was working smooth till today, that I'm getting an error. No system or apps updated that could interfere.

Code: Select all

Rename episodes using [TheTVDB] with [Airdate Order]
Auto-detected query: [Vivir sin Permiso, vivir sin permiso temporada 1]
Fetch failed: https://api.thetvdb.com/search/series?name=Vivir+sin+Permiso
java.lang.IllegalStateException: Failed to retrieve authorization token: Read timed out
	at net.filebot.web.TheTVDBClient.getAuthorizationToken(TheTVDBClient.java:152)
	at net.filebot.web.TheTVDBClient.getRequestHeader(TheTVDBClient.java:117)
	at net.filebot.web.TheTVDBClient.lambda$requestJson$0(TheTVDBClient.java:97)
	at net.filebot.CachedResource.lambda$fetchIfModified$10(CachedResource.java:226)
	at net.filebot.CachedResource.lambda$get$1(CachedResource.java:93)
	at net.filebot.CachedResource.retry(CachedResource.java:129)
	at net.filebot.CachedResource.lambda$get$2(CachedResource.java:92)
	at net.filebot.Cache.computeIf(Cache.java:106)
	at net.filebot.CachedResource.get(CachedResource.java:87)
	at net.filebot.web.TheTVDBClient.requestJson(TheTVDBClient.java:97)
	at net.filebot.web.TheTVDBClient.search(TheTVDBClient.java:160)
	at net.filebot.web.TheTVDBClient.fetchSearchResult(TheTVDBClient.java:185)
	at net.filebot.WebServices$TheTVDBClient.access$101(WebServices.java:201)
	at net.filebot.WebServices$TheTVDBClient.lambda$fetchSearchResult$4(WebServices.java:228)
Caused by: java.net.SocketTimeoutException: Read timed out
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at net.filebot.web.WebRequest.checkErrorCode(WebRequest.java:353)
	at net.filebot.web.WebRequest.post(WebRequest.java:224)
	at net.filebot.web.TheTVDBClient.postJson(TheTVDBClient.java:91)
	at net.filebot.web.TheTVDBClient.getAuthorizationToken(TheTVDBClient.java:148)
	... 13 more
Caused by: java.net.SocketTimeoutException: Read timed out
	at net.filebot.web.WebRequest.post(WebRequest.java:217)
	... 15 more

SocketTimeoutException: Read timed out
Finished without processing any files
Abort (×_×)
------------------------------------------

[Process error]
I saw the post viewtopic.php?f=10&t=11228

Do you think is a temporal tvdb error, or they changed something? I'm getting some tvdb related errors on Sonarr also, despite their website is working ok.

Thanks in advance :)

Re: java.lang.IllegalStateException: Failed to retrieve authorization token - TVDB

Posted: 10 Jan 2020, 19:50
by rednoah
:idea: Emphasis on Caused by: java.net.SocketTimeoutException: Read timed out.

:arrow: TheTVDB is having server problems today. Please give them some time to get things sorted. Try again tomorrow, and it'll probably work just fine again.