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

All your suggestions, requests and ideas for future development
Post Reply
JonniBee
Posts: 1
Joined: 04 Apr 2020, 12:10

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

Post by JonniBee »

Hi, I've been using FileBot for about 2 years without a problem. Last night I was naming some files, all was working fine, I dropped another file into the app and hit search on Presets and nothing. I just got a busy icon and then it timed out.

I've uninstalled the app, rebooted, same issue. Turned off all my firewalls etc., same issue. Tried the Windows .exe, same, portable app, same. I've tried using "Fetch Data" too.

Logs uploaded below.

Any ideas?

INFO

Code: Select all

FileBot 4.9.0 (r7234)
JNA Native: 6.1.0
MediaInfo: 19.09
7-Zip-JBinding: 9.20
Chromaprint: 1.4.3
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-03-16 (r625)
Groovy: 3.0.2
JRE: OpenJDK Runtime Environment 13.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 4.3 GB Max Memory / 57 MB Used Memory
OS: Windows 10 (amd64)
STORAGE: NTFS [(C:)] @ 129 GB | NTFS [Data & Games] @ 303 GB | NTFS [(E:)] @ 232 GB | NTFS [Linux] @ 498 GB | NTFS [(H:)] @ 1.7 TB | NTFS [SAMSUNG] @ 134 GB | NTFS [FREECOM HDD] @ 168 GB | NTFS [LaCie] @ 832 GB | FAT32 [EXCHANGE] @ 31 GB | NTFS [NAS] @ 1.2 TB
DATA: C:\Users\Jonathan Brown\AppData\Roaming\FileBot
Package: APPX
License: Microsoft Store License

Error Log

Code: Select all

# C:\Users\Jonathan Brown\AppData\Roaming\FileBot\error.log
Apr 04, 2020 12:42:31 PM net.filebot.CacheManager acquireDiskStore
WARNING: Initialize new disk cache: C:\Users\Jonathan Brown\AppData\Roaming\FileBot\cache\0
Apr 04, 2020 12:43:53 PM net.filebot.CachedResource lambda$get$2
SEVERE: Fetch failed: https://api.thetvdb.com/search/series?name=Top+of+the+Pops
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$get$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$101(Unknown Source)
	at net.filebot.WebServices$TheTVDBClient.lambda$fetchSearchResult$4(Unknown Source)
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(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

Apr 04, 2020 12:43:53 PM net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1 done
WARNING: SocketTimeoutException: Read timed out
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Failed to retrieve authorization token due to network or server error: Read timed out
	at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.done(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Failed to retrieve authorization token due to network or server error: Read timed out
	at net.filebot.ui.rename.EpisodeListMatcher.match(Unknown Source)
	at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(Unknown Source)
	at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Failed to retrieve authorization token due to network or server error: Read timed out
	at net.filebot.ui.rename.EpisodeListMatcher.fetchEpisodeSet(Unknown Source)
	at net.filebot.ui.rename.EpisodeListMatcher.matchEpisodeSet(Unknown Source)
	at net.filebot.ui.rename.EpisodeListMatcher.lambda$match$3(Unknown Source)
Caused by: 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.ui.rename.EpisodeListMatcher.lambda$fetchEpisodeSet$6(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$get$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$101(Unknown Source)
	at net.filebot.WebServices$TheTVDBClient.lambda$fetchSearchResult$4(Unknown Source)
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(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

Apr 04, 2020 12:44:13 PM net.filebot.CacheManager acquireDiskStore
WARNING: Initialize new disk cache: C:\Users\Jonathan Brown\AppData\Roaming\FileBot\cache\1
Apr 04, 2020 12:46:43 PM net.filebot.CachedResource lambda$get$2
SEVERE: Fetch failed: https://api.thetvdb.com/search/series?name=Top+of+the+Pops
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$get$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$101(Unknown Source)
	at net.filebot.WebServices$TheTVDBClient.lambda$fetchSearchResult$4(Unknown Source)
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(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

Apr 04, 2020 12:46:43 PM net.filebot.ui.rename.AutoDetectMatcher lambda$match$3
WARNING: A match group failure occured: SocketTimeoutException: Read timed out
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Failed to retrieve authorization token due to network or server error: Read timed out
	at net.filebot.ui.rename.AutoDetectMatcher.lambda$match$3(Unknown Source)
	at net.filebot.ui.rename.AutoDetectMatcher.match(Unknown Source)
	at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(Unknown Source)
	at net.filebot.ui.rename.RenamePanel$AutoCompleteAction$1.doInBackground(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Failed to retrieve authorization token due to network or server error: Read timed out
	at net.filebot.ui.rename.EpisodeListMatcher.match(Unknown Source)
	at net.filebot.ui.rename.AutoDetectMatcher.match(Unknown Source)
	at net.filebot.ui.rename.AutoDetectMatcher.lambda$match$1(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Failed to retrieve authorization token due to network or server error: Read timed out
	at net.filebot.ui.rename.EpisodeListMatcher.fetchEpisodeSet(Unknown Source)
	at net.filebot.ui.rename.EpisodeListMatcher.matchEpisodeSet(Unknown Source)
	at net.filebot.ui.rename.EpisodeListMatcher.lambda$match$3(Unknown Source)
Caused by: 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.ui.rename.EpisodeListMatcher.lambda$fetchEpisodeSet$6(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$get$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$101(Unknown Source)
	at net.filebot.WebServices$TheTVDBClient.lambda$fetchSearchResult$4(Unknown Source)
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(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
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: No Connection To Databases

Post by rednoah »

Just a generic network issue:

Code: Select all

java.net.SocketTimeoutException: Read timed out
:idea: Presumably, TheTVDB is down. TheTVDB is occasionally down. Try again a day later. Or use a different database.


EDIT:

:arrow: viewtopic.php?f=6&t=11649
:idea: Please read the FAQ and How to Request Help.
Post Reply