IOexception

All your suggestions, requests and ideas for future development
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: 22923
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: 22923
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: 22923
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: 22923
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: 22923
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: 22923
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: 22923
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: 22923
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: 22923
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: 22923
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: 22923
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: 22923
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
Post Reply