IllegalStateException during thetvdb api calls

Support for Windows users
Post Reply
SonOfDiablo
Posts: 26
Joined: 11 Feb 2019, 10:11

IllegalStateException during thetvdb api calls

Post by SonOfDiablo »

Greetings,

Recently (a few days ago) I started getting java.lang.IllegalStateException doing api calls (I only really use thetvdb so I haven't actually tested it with any other apis).
It seems that Filebot is still able to rename the files correctly, so it's not a huge issue, just wondering if anyone else is getting these error messages and if there is any way to fix it.

I'm using CLI, but it also happens with the GUI (The GUI can't rename since the API call "fails" and thus doesn't populate the "New Names" list).
My CLI call looks like this:

Code: Select all

filebot -rename .\South.Park.S01E10.mkv --db TheTVDB -non-strict --format "{n.upperInitial().space('.')}.{S00E00}.{t.upperInitial().space('.')}"
and has worked fine for well over a year.

The full output: https://pastebin.com/bYV0bneN

fn:sysinfo script output:

Code: Select all

FileBot 4.8.5 (r6224)
JNA Native: 5.2.2
MediaInfo: 18.12
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 11.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 3 GB Max Memory / 86 MB Used Memory
OS: Windows 10 (amd64)
Package: APPX
License: Microsoft Store License


Edit:
Right after I posted this, I tried another rename and now it just doesn't work at all, not even with CLI.
New output (same command structure): https://pastebin.com/9z384arQ
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IllegalStateException during thetvdb api calls

Post by rednoah »

API is down or broken. Probably a temporary issue. Try again tomorrow.
:idea: Please read the FAQ and How to Request Help.
SonOfDiablo
Posts: 26
Joined: 11 Feb 2019, 10:11

Re: IllegalStateException during thetvdb api calls

Post by SonOfDiablo »

rednoah wrote: 09 Nov 2019, 19:15 API is down or broken. Probably a temporary issue. Try again tomorrow.
Ah, I see, thanks for the info!
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IllegalStateException during thetvdb api calls

Post by rednoah »

I also read about DNS issues:
https://forums.thetvdb.com/viewtopic.php?f=122&t=59912

So if you haven't configured 1.1.1.1 as DNS server, then doing so is worth a shot.
:idea: Please read the FAQ and How to Request Help.
fract
Posts: 3
Joined: 10 Nov 2019, 13:47

Re: IllegalStateException during thetvdb api calls

Post by fract »

hi,

i am also getting an error for tvdb...

suncertpathbuilderexception: unable to find valid certification path to requested target

FileBot 4.8.5 (r6224)
JNA Native: 5.2.2
MediaInfo: 18.12
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 11.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 24 Core / 13 GB Max Memory / 293 MB Used Memory
OS: Windows 10 (amd64)
Package: APPX
License: Microsoft Store License
fract
Posts: 3
Joined: 10 Nov 2019, 13:47

Re: IllegalStateException during thetvdb api calls

Post by fract »

might not be filebot issue, plex scrapper also does not scrape from tvdb at the moment....
just wanted to check with you guys.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IllegalStateException during thetvdb api calls

Post by rednoah »

rednoah wrote: 09 Nov 2019, 19:24 I also read about DNS issues:
https://forums.thetvdb.com/viewtopic.php?f=122&t=59912

So if you haven't configured 1.1.1.1 as DNS server, then doing so is worth a shot.
Have you tried this yet?
:idea: Please read the FAQ and How to Request Help.
fract
Posts: 3
Joined: 10 Nov 2019, 13:47

Re: IllegalStateException during thetvdb api calls

Post by fract »

yes, tried it, same thing.
didn't do any good...
SonOfDiablo
Posts: 26
Joined: 11 Feb 2019, 10:11

Re: IllegalStateException during thetvdb api calls

Post by SonOfDiablo »

I haven't tried changing my DNS server, but I just read that TheTVDB recently started to roll out a new version of their API which might be why issues are starting to show up.

I no longer get java.lang.IllegalStateException, the api calls just seems to be broken now.
I think TheTVDB went from one page to multi-paged responses of the episode calls, which is why people have issues with Filebot not being able to find all seasons for shows.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IllegalStateException during thetvdb api calls

Post by rednoah »

TheTVDB v2 has always been using multiple pages, but since the latest update, the first page incorrectly says there is only a total of 1 pages, for shows with 100+ episodes.

viewtopic.php?f=11&t=11243&p=46708#p46708
:idea: Please read the FAQ and How to Request Help.
SonOfDiablo
Posts: 26
Joined: 11 Feb 2019, 10:11

Re: IllegalStateException during thetvdb api calls

Post by SonOfDiablo »

Oh I see, well, nothing to do but wait for TheTVDB to fix the API then I guess.
Post Reply