AMC Stopped Working Suddenly / java.net.UnknownHostException: api.filebot.net

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
JRad
Posts: 2
Joined: 16 Nov 2018, 09:04

AMC Stopped Working Suddenly / java.net.UnknownHostException: api.filebot.net

Post by JRad »

Hi,

My AMC script appears to have stopped working suddenly in qBittorrent. I have tested a simplified version and it returns the following:

Code: Select all

C:\Users\Media>filebot -script fn:amc --output "D:\" --action test -non-strict "E:\Torrents\Completed\Chicago.Fire.S07E08.720p.HDTV.x264-AVS" --log-file amc.log --def excludeList=amc.txt
Fetch failed: Try again in 5 seconds (2 more) => java.net.UnknownHostException: api.filebot.net
Fetch failed: Try again in 10 seconds (1 more) => java.net.UnknownHostException: api.filebot.net
Fetch failed: https://api.filebot.net/v4/script/fn.jar.xz
java.net.UnknownHostException: api.filebot.net
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at net.filebot.web.WebRequest.fetch(WebRequest.java:142)
        at net.filebot.CachedResource.lambda$fetchIfModified$9(CachedResource.java:215)
        at net.filebot.CachedResource.lambda$get$0(CachedResource.java:87)
        at net.filebot.CachedResource.retry(CachedResource.java:121)
        at net.filebot.CachedResource.retry(CachedResource.java:133)
        at net.filebot.CachedResource.retry(CachedResource.java:133)
        at net.filebot.CachedResource.lambda$get$1(CachedResource.java:87)
        at net.filebot.Cache.computeIf(Cache.java:90)
        at net.filebot.CachedResource.get(CachedResource.java:82)
        at net.filebot.MemoizedResource.get(Resource.java:36)
        at net.filebot.cli.ScriptBundle.getScript(ScriptBundle.java:32)
        at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
        at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:154)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:36)
        at net.filebot.Main.main(Main.java:127)
Caused by: java.net.UnknownHostException: api.filebot.net
        at net.filebot.web.WebRequest.fetch(WebRequest.java:139)
        ... 14 more

api.filebot.net
java.net.UnknownHostException: api.filebot.net
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at net.filebot.web.WebRequest.fetch(WebRequest.java:142)
        at net.filebot.CachedResource.lambda$fetchIfModified$9(CachedResource.java:215)
        at net.filebot.CachedResource.lambda$get$0(CachedResource.java:87)
        at net.filebot.CachedResource.retry(CachedResource.java:121)
        at net.filebot.CachedResource.retry(CachedResource.java:133)
        at net.filebot.CachedResource.retry(CachedResource.java:133)
        at net.filebot.CachedResource.lambda$get$1(CachedResource.java:87)
        at net.filebot.Cache.computeIf(Cache.java:90)
        at net.filebot.CachedResource.get(CachedResource.java:82)
        at net.filebot.MemoizedResource.get(Resource.java:36)
        at net.filebot.cli.ScriptBundle.getScript(ScriptBundle.java:32)
        at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:74)
        at net.filebot.cli.ArgumentProcessor.runScript(ArgumentProcessor.java:154)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:36)
        at net.filebot.Main.main(Main.java:127)
Caused by: java.net.UnknownHostException: api.filebot.net
        at net.filebot.web.WebRequest.fetch(WebRequest.java:139)
        ... 14 more

Failure (°_°)
I read on a similar topic that the DNS may be the issue but i've changed/flushed it a few times now.

Any help is greatly appreciated. Thank you.
User avatar
rednoah
The Source
Posts: 22976
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC Stopped Working Suddenly

Post by rednoah »

Yes, the core issue is indeed that FileBot cannot connect to api.filebot.net because it doesn't know the IP:

Code: Select all

java.net.UnknownHostException: api.filebot.net

:arrow: Not much we can do here. If it stopped working suddenly, then it might just start working again suddenly if you try again tomorrow.
:idea: Please read the FAQ and How to Request Help.
JRad
Posts: 2
Joined: 16 Nov 2018, 09:04

Re: AMC Stopped Working Suddenly / java.net.UnknownHostException: api.filebot.net

Post by JRad »

I probably should have clicked to this earlier but the computer runs behind a VPN. It's been working fine for months, but once disabled, I could access api.filebot.net again so I changed the server the VPN uses and it's all working now.

Thanks for your help!
Post Reply