Page 1 of 1

IllegalStateException during thetvdb api calls

Posted: 09 Nov 2019, 19:01
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

Re: IllegalStateException during thetvdb api calls

Posted: 09 Nov 2019, 19:15
by rednoah
API is down or broken. Probably a temporary issue. Try again tomorrow.

Re: IllegalStateException during thetvdb api calls

Posted: 09 Nov 2019, 19:21
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!

Re: IllegalStateException during thetvdb api calls

Posted: 09 Nov 2019, 19:24
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.

Re: IllegalStateException during thetvdb api calls

Posted: 10 Nov 2019, 13:55
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

Re: IllegalStateException during thetvdb api calls

Posted: 10 Nov 2019, 13:58
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.

Re: IllegalStateException during thetvdb api calls

Posted: 10 Nov 2019, 15:17
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?

Re: IllegalStateException during thetvdb api calls

Posted: 10 Nov 2019, 17:16
by fract
yes, tried it, same thing.
didn't do any good...

Re: IllegalStateException during thetvdb api calls

Posted: 14 Nov 2019, 17:52
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.

Re: IllegalStateException during thetvdb api calls

Posted: 14 Nov 2019, 19:07
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

Re: IllegalStateException during thetvdb api calls

Posted: 14 Nov 2019, 19:36
by SonOfDiablo
Oh I see, well, nothing to do but wait for TheTVDB to fix the API then I guess.