IOexception

All your suggestions, requests and ideas for future development
Post Reply
doctorlove01
Posts: 9
Joined: 07 Sep 2012, 11:34

IOexception

Post by doctorlove01 »

Hello ..
Today i want rename a tv show and i want use the database "thetvdb" .. but filebot show me an error message "IOexception: server returned http response code: 403 for url http://thetvdb.com/api/......... "
Can somebody help me to explain , what it means ?

Thanks and sorry for my bad english ;)

doc
User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

That's an odd error code. Does that happen everytime? Or just with a specific series? I suppose it's a temporary problem, just try later.
:idea: Please read the FAQ and How to Request Help.
doctorlove01
Posts: 9
Joined: 07 Sep 2012, 11:34

Re: IOexception

Post by doctorlove01 »

so , i try it 13 hours later and the error code is still displayed (all series) . the other databases works great.


Image
User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

Works here for me. Not sure, either it's a temporary api problem or they block your ip, something like that. Maybe you can find a solution in the thetvdb forums.
:idea: Please read the FAQ and How to Request Help.
doctorlove01
Posts: 9
Joined: 07 Sep 2012, 11:34

Re: IOexception

Post by doctorlove01 »

Okay , Thx!I´ll wait and try it another day (till yet it doesn´t work) ... i have tried another program (series renamer) and this program works with "thetvdb" database (so my ip is clean ;) ) , but i like "filebot" much more than "series renamer" :)
User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

Can you run filebot with console and then send me the stacktrace? Might give me some clues to what's happening.
:idea: Please read the FAQ and How to Request Help.
doctorlove01
Posts: 9
Joined: 07 Sep 2012, 11:34

Re: IOexception

Post by doctorlove01 »

oh sorry ... i´m a noob :/ .. how can i run filebot with console .. and save the stacktrace ? i use filebot on macbook and windows pc
User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

If you installed it on windows there'll be a shortcut called "FileBot (console)". If you run it with that you'll have a console that'll print all kinds of error logging. Just copy that here.
:idea: Please read the FAQ and How to Request Help.
doctorlove01
Posts: 9
Joined: 07 Sep 2012, 11:34

Re: IOexception

Post by doctorlove01 »

Ahh .. thx ;) . Now here the Log
Sep 09, 2012 3:10:49 PM net.sourceforge.filebot.ui.rename.RenamePanel$AutoComple
teAction$2 done
WARNING: IOException: Server returned HTTP response code: 403 for URL: http://ww
w.thetvdb.com/api/GetSeries.php?seriesname=itg+livetogetherdiealone&language=de
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException
: java.util.concurrent.ExecutionException: java.io.IOException: Server returned
HTTP response code: 403 for URL: http://www.thetvdb.com/api/GetSeries.php?series
name=itg+livetogetherdiealone&language=de
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at javax.swing.SwingWorker.get(Unknown Source)
at net.sourceforge.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.do
ne(Unknown Source)
at javax.swing.SwingWorker$5.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Sour
ce)
at sun.swing.AccumulativeRunnable.run(Unknown Source)
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(
Unknown Source)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.Executi
onException: java.io.IOException: Server returned HTTP response code: 403 for UR
L: http://www.thetvdb.com/api/GetSeries.ph ... erdiealone&
language=de
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at net.sourceforge.filebot.ui.rename.EpisodeListMatcher.match(Unknown So
urce)
at net.sourceforge.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.do
InBackground(Unknown Source)
at net.sourceforge.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.do
InBackground(Unknown Source)
at javax.swing.SwingWorker$1.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at javax.swing.SwingWorker.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Server
returned HTTP response code: 403 for URL: http://www.thetvdb.com/api/GetSeries.p
hp?seriesname=itg+livetogetherdiealone&language=de
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at net.sourceforge.filebot.ui.rename.EpisodeListMatcher.fetchEpisodeSet(
Unknown Source)
at net.sourceforge.filebot.ui.rename.EpisodeListMatcher.matchEpisodeSet(
Unknown Source)
at net.sourceforge.filebot.ui.rename.EpisodeListMatcher$3.call(Unknown S
ource)
at net.sourceforge.filebot.ui.rename.EpisodeListMatcher$3.call(Unknown S
ource)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
... 3 more
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL:
http://www.thetvdb.com/api/GetSeries.ph ... iealone&la
nguage=de
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unkno
wn Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
at net.sourceforge.filebot.web.WebRequest.getReader(Unknown Source)
at net.sourceforge.filebot.web.WebRequest.getDocument(Unknown Source)
at net.sourceforge.filebot.web.WebRequest.getDocument(Unknown Source)
at net.sourceforge.filebot.web.TheTVDBClient.fetchSearchResult(Unknown S
ource)
at net.sourceforge.filebot.web.AbstractEpisodeListProvider.search(Unknow
n Source)
at net.sourceforge.filebot.ui.rename.EpisodeListMatcher$2.call(Unknown S
ource)
at net.sourceforge.filebot.ui.rename.EpisodeListMatcher$2.call(Unknown S
ource)
... 5 more
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL:
http://www.thetvdb.com/api/GetSeries.ph ... iealone&la
nguage=de
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown So
urce)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown So
urce)
at java.net.URLConnection.getContentType(Unknown Source)
... 12 more






User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

What happens if you open that url in your browser? Do you get data or also an error?
http://www.thetvdb.com/api/GetSeries.ph ... anguage=de
:idea: Please read the FAQ and How to Request Help.
doctorlove01
Posts: 9
Joined: 07 Sep 2012, 11:34

Re: IOexception

Post by doctorlove01 »

if i click the link in chrome i see

Image

in Safari and firefox i see only a white site
User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

Well that looks like it's basically working. Only when filebot/java sends that request it fails. Very wierd. Can't do anymore testing cause it works perfectly fine here.
:idea: Please read the FAQ and How to Request Help.
doctorlove01
Posts: 9
Joined: 07 Sep 2012, 11:34

Re: IOexception

Post by doctorlove01 »

okay thx :/ .... is there a chance to download an older version of filebot ?a view weeks ago , filebot works with thetvdb database... i hope the error displayed only in version 3.0
User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

All releases are on sourceforge, but I highly doubt it'll make a difference.
:idea: Please read the FAQ and How to Request Help.
doctorlove01
Posts: 9
Joined: 07 Sep 2012, 11:34

Re: IOexception

Post by doctorlove01 »

You are right... i tryed out the version 2.6.4 and it show the same error :(
weap
Posts: 1
Joined: 10 Sep 2012, 08:42

Re: IOexception

Post by weap »

I have the same problem...

Code: Select all

set 11, 2012 8:12:22 PM net.sourceforge.filebot.ui.rename.RenamePanel$AutoCompleteAction$2 done
WARNING: IOException: Server returned HTTP response code: 403 for URL: http://thetvdb.com/api/58B4AA94C59AD656/series/83610/all/it.zip
java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.io.IOException: Server returned
HTTP response code: 403 for URL: http://thetvdb.com/api/58B4AA94C59AD656/series/83610/all/it.zip
        at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at javax.swing.SwingWorker.get(Unknown Source)
        at net.sourceforge.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.done(Unknown Source)
        at javax.swing.SwingWorker$5.run(Unknown Source)
        at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
        at sun.swing.AccumulativeRunnable.run(Unknown Source)
        at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
        at javax.swing.Timer.fireActionPerformed(Unknown Source)
        at javax.swing.Timer$DoPostEvent.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$200(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.io.IOException: Server returned HTTP response code: 403 for URL: http://thetvdb.com/api/58B4AA94C59AD656/series/83610/all/it.zip
        at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at net.sourceforge.filebot.ui.rename.EpisodeListMatcher.match(Unknown Source)
        at net.sourceforge.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.doInBackground(Unknown Source)
        at net.sourceforge.filebot.ui.rename.RenamePanel$AutoCompleteAction$2.doInBackground(Unknown Source)
        at javax.swing.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at javax.swing.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.io.IOException: Server returned HTTP response code: 403 for URL: http://thetvdb.com/api/58B4AA94C59AD656/series/83610/all/it.zip
        at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
        at java.util.concurrent.FutureTask.get(Unknown Source)
        at net.sourceforge.filebot.ui.rename.EpisodeListMatcher.fetchEpisodeSet(Unknown Source)
        at net.sourceforge.filebot.ui.rename.EpisodeListMatcher.matchEpisodeSet(Unknown Source)
        at net.sourceforge.filebot.ui.rename.EpisodeListMatcher$3.call(Unknown Source)
        at net.sourceforge.filebot.ui.rename.EpisodeListMatcher$3.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        ... 3 more
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: http://thetvdb.com/api/58B4AA94C59AD656/series/83610/all/it.zip
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at java.net.URL.openStream(Unknown Source)
        at net.sourceforge.filebot.web.TheTVDBClient.getSeriesRecord(Unknown Source)
        at net.sourceforge.filebot.web.TheTVDBClient.fetchEpisodeList(Unknown Source)
        at net.sourceforge.filebot.web.AbstractEpisodeListProvider.getEpisodeList(Unknown Source)
        at net.sourceforge.filebot.ui.rename.EpisodeListMatcher$2.call(Unknown Source)
        at net.sourceforge.filebot.ui.rename.EpisodeListMatcher$2.call(Unknown Source)
        ... 5 more
User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

Not sure what to do about that. You can try posting that problem in the thetvdb forums as well. Looks like an API problem.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

Could it be a proxy setting? Did you setup or not setup a proxy for Java or FileBot?
:idea: Please read the FAQ and How to Request Help.
doctorlove01
Posts: 9
Joined: 07 Sep 2012, 11:34

Re: IOexception

Post by doctorlove01 »

i don´t know why .. but since today it works fine again !! :)
KeVe1983
Posts: 2
Joined: 19 Sep 2012, 17:32

Re: IOexception

Post by KeVe1983 »

Just registered to say i have the same problem!

I had this 3 or 4 weeks ago.
Then it was working for 3, or 4 days and since 1 week i have the same problem.
Doesn't change anything if i change language to english, or german.

Image

Seems to be an filebot problem, because my Movie Collection Programm also works with thetvdb and is scrapping infos just fine.
User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

Maybe you can check in the TheTVDB API forums what's happening?

This is an API problem. FileBot sends a normal http request for that url and thetvdb throws back an error. Why it does that I don't know, possibly some kind of flood protection as more and more people are using FileBot?

You could help me by running FileBot as well as your Movie Collection Programm with Fiddler HTTP proxy to check what's different about those two requests.
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

If it's the API specifically blocking filebots apikey from time to time you could try using your own apikey by modifying FileBot.jar/net/sourceforge/filebot/Settings.properties and see what happens.
:idea: Please read the FAQ and How to Request Help.
KeVe1983
Posts: 2
Joined: 19 Sep 2012, 17:32

Re: IOexception

Post by KeVe1983 »

Thanks for your help but after changing the apikey i got the following error everytime

Image
User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

Not sure why that URL would give you an 404 error. Did you try that URL in your browser? I'm pretty sure the APIKEY is a hex-encoded String so why is there an X in your key?
:idea: Please read the FAQ and How to Request Help.
User avatar
xadox
Posts: 32
Joined: 23 Mar 2012, 05:49

Re: IOexception

Post by xadox »

Same problem for me. But only with the DSL internet connection at home. While using UMTS everything is working fine?
Greets XadoX
User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

FileBot is doing a simple http request, that's as basic and robust as it gets. Those errors all seem to come from TheTVDB, like establishing a connection works except the TheTVDB API responds with an error message for those requests.

Basically TheTVDB API seems to have a lot of problems in part due to these people not having a enough funding to keep things running smoothly, but I don't know any details.
:idea: Please read the FAQ and How to Request Help.
stefanf
Posts: 4
Joined: 12 Oct 2014, 07:18

Re: IOexception

Post by stefanf »

Hi,

Has anybody been able to fix this? I also get a 403 error returned by TheTVDB - IOException: Error while loading XML resource... Server returned response code 403...

Basically, as far as I understand, TheTVDB is denying the request.

Is there a way to disable using TheTVDB for the lookup and only using the others - I am trying to setup automation using uTorrent, as explained on the filebot website?

If I run the GUI and choose TheTVDB I also get this error - matching using TVRage seem to work fine.

So, bac to the original question: Has anybode been able to fix this - by getting TheTVDB to work - or by disabling/not using it as a source?

Regards
User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

If it never ever works you might wanna check your connection. Either TVDB is temporarily down. Or your IP is blocked. Checking in TheTVDB forums might also be a good idea.
:idea: Please read the FAQ and How to Request Help.
stefanf
Posts: 4
Joined: 12 Oct 2014, 07:18

Re: IOexception

Post by stefanf »

hi rednoah,

it never works - every time i try to do a match through filebot - choosing thetvdb - i get the 403 error.
thetvdb.com is not down - and i can access it using my browser.
why would my ip be blocked, and how would i be able to check it?
you mention checking my connection - is there anything specifically that you want me to check?
is it possible - using the utorrent filebot script - to specify not to use tvdb?
looks like a number of other people have experienced the same - do you know if/how any of them have fixed this?

tx, and regards!
User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

If you look at the console output you should see the http requests that failed, and then try them in the browser. Being blocked by the API is not the same as blocked from the website.
:idea: Please read the FAQ and How to Request Help.
stefanf
Posts: 4
Joined: 12 Oct 2014, 07:18

Re: IOexception

Post by stefanf »

Hi again,

It seems that my IP is in fact being blocked - along with a number of other people's... TVDB forum - CloudFlare IP block: http://forums.thetvdb.com/viewtopic.php?f=17&t=11702.

Back to my original question: Can I instruct FileBot NOT to make use of TVDB using the command line interface?
User avatar
rednoah
The Source
Posts: 24698
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: IOexception

Post by rednoah »

You could modify the amc script yourself if you're up to the task. But it's all optimized / and exclusively tested with TheTVDB.

If you're doing simple filebot -rename calls then you can easily set things with --db but if you're using the amc script it's not that easy.

And if it's about CloudFlare blocking you and making you solve captchas, then just do it which should unblock you.
:idea: Please read the FAQ and How to Request Help.
stefanf
Posts: 4
Joined: 12 Oct 2014, 07:18

Re: IOexception

Post by stefanf »

Ok. this might be a solution (for some)...

My IP being blocked was confirmed when I tried to post on TVDB's forum with the following message: Your IP 41.75.96.4 has been blocked because it is blacklisted. For details please see http://www.spamhaus.org/query/bl?ip=41.75.96.4.

The link provided more information on the blacklisting and mechanisms for unblocking.

So, if you are experiencing the same (403 ioexception error from TVDB), simply go to their website (http://thetvdb.com), register (for free) to be able to post on their forum, login and try to post something. If you receive a message similar to the above, simply follow the link and attempt to whitelist your IP.

Or, simpler yet. Go to: http://www.spamhaus.org/lookup/ and lookup the IP you expect as being blocked.

Hope this helps!

PS: I'm still waiting to see if my (ISP's) whitelisting has been successful, or if it will simply be (automatically) blacklisted again.
Post Reply