Page 1 of 2

IOexception

Posted: 07 Sep 2012, 12:21
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

Re: IOexception

Posted: 07 Sep 2012, 16:16
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.

Re: IOexception

Posted: 07 Sep 2012, 21:32
by doctorlove01
so , i try it 13 hours later and the error code is still displayed (all series) . the other databases works great.


Image

Re: IOexception

Posted: 08 Sep 2012, 07:09
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.

Re: IOexception

Posted: 08 Sep 2012, 09:01
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" :)

Re: IOexception

Posted: 08 Sep 2012, 16:55
by rednoah
Can you run filebot with console and then send me the stacktrace? Might give me some clues to what's happening.

Re: IOexception

Posted: 09 Sep 2012, 11:52
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

Re: IOexception

Posted: 09 Sep 2012, 12:02
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.

Re: IOexception

Posted: 09 Sep 2012, 13:14
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







Re: IOexception

Posted: 09 Sep 2012, 14:38
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

Re: IOexception

Posted: 09 Sep 2012, 15:41
by doctorlove01
if i click the link in chrome i see

Image

in Safari and firefox i see only a white site

Re: IOexception

Posted: 09 Sep 2012, 16:18
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.

Re: IOexception

Posted: 09 Sep 2012, 16:40
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

Re: IOexception

Posted: 09 Sep 2012, 16:48
by rednoah
All releases are on sourceforge, but I highly doubt it'll make a difference.

Re: IOexception

Posted: 09 Sep 2012, 17:04
by doctorlove01
You are right... i tryed out the version 2.6.4 and it show the same error :(

Re: IOexception

Posted: 11 Sep 2012, 18:16
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

Re: IOexception

Posted: 12 Sep 2012, 08:25
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.

Re: IOexception

Posted: 12 Sep 2012, 09:22
by rednoah
Could it be a proxy setting? Did you setup or not setup a proxy for Java or FileBot?

Re: IOexception

Posted: 14 Sep 2012, 08:44
by doctorlove01
i don´t know why .. but since today it works fine again !! :)

Re: IOexception

Posted: 19 Sep 2012, 17:38
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.

Re: IOexception

Posted: 19 Sep 2012, 18:17
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.

Re: IOexception

Posted: 19 Sep 2012, 18:22
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.

Re: IOexception

Posted: 20 Sep 2012, 20:51
by KeVe1983
Thanks for your help but after changing the apikey i got the following error everytime

Image

Re: IOexception

Posted: 21 Sep 2012, 04:33
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?

Re: IOexception

Posted: 24 Sep 2012, 11:12
by xadox
Same problem for me. But only with the DSL internet connection at home. While using UMTS everything is working fine?