Synology: Upgraded to 4.9.2 - Run any action - Error Fetch failed

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
neeraj
Posts: 8
Joined: 04 Jan 2017, 09:53

Synology: Upgraded to 4.9.2 - Run any action - Error Fetch failed

Post by neeraj »

Hi,

I upgraded my Filebot to 4.9.2 last week on a Synology unit (DS416play running DSM 6.2.3-25426 Update 2). Ever since the upgrade (which I did through the package center) I am getting the following error:

Code: Select all

Fetch failed: Try again in 2 seconds (2 more) => https://api.filebot.net/8046/script/fn.jar.xz [530 null]
Fetch failed: Try again in 8 seconds (1 more) => https://api.filebot.net/8046/script/fn.jar.xz [530 null]
Failed to fetch resource: https://api.filebot.net/8046/script/fn.jar.xz
https://api.filebot.net/8046/script/fn.jar.xz [530 null]
	at net.filebot.web.WebRequest.checkErrorCode(Unknown Source)
	at net.filebot.web.WebRequest.fetch(Unknown Source)
	at net.filebot.CachedResource.lambda$fetchIfModified$10(Unknown Source)
	at net.filebot.CachedResource.lambda$get$1(Unknown Source)
	at net.filebot.CachedResource.retry(Unknown Source)
	at net.filebot.CachedResource.retry(Unknown Source)
	at net.filebot.CachedResource.retry(Unknown Source)
	at net.filebot.CachedResource.lambda$get$2(Unknown Source)
	at net.filebot.Cache.computeIf(Unknown Source)
	at net.filebot.CachedResource.get(Unknown Source)
	at net.filebot.MemoizedResource.get(Unknown Source)
	at net.filebot.cli.ScriptBundle.getScript(Unknown Source)
	at net.filebot.cli.ScriptShell.runScript(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
	at net.filebot.Main.main(Unknown Source)

Server Error: https://api.filebot.net/8046/script/fn.jar.xz [530 null]
https://api.filebot.net/8046/script/fn.jar.xz [530 null]
	at net.filebot.web.WebRequest.checkErrorCode(Unknown Source)
	at net.filebot.web.WebRequest.fetch(Unknown Source)
	at net.filebot.CachedResource.lambda$fetchIfModified$10(Unknown Source)
	at net.filebot.CachedResource.lambda$get$1(Unknown Source)
	at net.filebot.CachedResource.retry(Unknown Source)
	at net.filebot.CachedResource.retry(Unknown Source)
	at net.filebot.CachedResource.retry(Unknown Source)
	at net.filebot.CachedResource.lambda$get$2(Unknown Source)
	at net.filebot.Cache.computeIf(Unknown Source)
	at net.filebot.CachedResource.get(Unknown Source)
	at net.filebot.MemoizedResource.get(Unknown Source)
	at net.filebot.cli.ScriptBundle.getScript(Unknown Source)
	at net.filebot.cli.ScriptShell.runScript(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.runScript(Unknown Source)
	at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
	at net.filebot.Main.main(Unknown Source)

Error (o_O)

------------------------------------------

[Process error]

🔺 Exit Code: 1

The above error occurs when I use Filebot Node (or commandline/terminal session) to do the any of the following:

1. Execute a scan of a fixed video folder for processing video files
* filebot -script 'fn:amc' /volume1/downloads --output /volume1/video/processing --action move -non-strict --order Airdate --conflict auto --lang en --def 'artwork=y' 'subtitles=eng' 'clean=y' 'skipExtract=y' 'minLengthMS=0' 'minFileSize=0' 'excludeList=.excludes' --apply refresh -no-index --log all --log-file '/usr/local/filebot-node/data/filebot.log'
2. Try to obtain the system-info
* filebot -script 'fn:sysinfo' --log-file '/usr/local/filebot-node/data/filebot.log'

The above was working previously in the older version.

I have tried the following steps to correct the issue:
  • Clear System Cache (filebot -clear-cache -clear-prefs -clear-history --log-file '/usr/local/filebot-node/data/filebot.log')
  • Uninstalled FileBot Node (using package center)
  • Uninstall FileBot (using package center)
  • Uninstall Java Installer (using package center)
  • Reboot system
  • Re-install JAVA Installer (Rednoah V2.13)
  • Re-install FileBot (V4.9.2)
  • Re-install FileBot Node (0.3.1)
  • Apply License Key which shows as FileBot License ######### (Valid-Until: 2069-07-23) has been activated successfully.
My version of JAVA is (java -version)

Code: Select all

openjdk version "15" 2020-09-15
OpenJDK Runtime Environment (build 15+36-1562)
OpenJDK 64-Bit Server VM (build 15+36-1562, mixed mode, sharing)
Other bits of information to help:
  • I have not installed any other version of JAVA from the package center
  • I have node.js v12 installed (V12.16.3-0017), which I have not updated and I can't uninstall as it's a pre-requisite for another Synology application
I am not really sure what else to try.

If you could offer any kind of advice I would be most grateful.

Kind Regards

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

Re: Synology: Upgraded to 4.9.2 - Run any action - Error Fetch failed

Post by rednoah »

Probably not much you can do. HTTP Error Code 530 means that something is not working on the edge or server-side, so nothing you can do locally will make a difference. Might just work if you try again tomorrow.
:idea: Please read the FAQ and How to Request Help.
neeraj
Posts: 8
Joined: 04 Jan 2017, 09:53

Re: Synology: Upgraded to 4.9.2 - Run any action - Error Fetch failed

Post by neeraj »

Hi Rednoah,

Thanks for coming back to me so quickly on this. I've been trying everyday for over a week now. If I try the full web address: https://api.filebot.net/8046/script/fn.jar.xz I get:

Code: Select all

Error 1016 Ray ID: 5e22b2c428001262 • 2020-10-14 16:32:46 UTC
Origin DNS error
What happened?
You've requested a page on a website (api.filebot.net) that is on the Cloudflare network. Cloudflare is currently unable to resolve your requested domain (api.filebot.net).
Interestingly enough, I used a VPN to try the web address from the UK (I am in the UAE) and I can download the file fn.jar.xz which is a 27kb compressed file.

If I can get this file onto my synology, can I place it somewhere in the filesystem so that filebot will find it and not need to go out to find the file? If so, can you let me know where and whether I need to extract the content.

Many thanks again

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

Re: Synology: Upgraded to 4.9.2 - Run any action - Error Fetch failed

Post by rednoah »

Yep, if you get a CloudFlare error message then it's an edge cache issue. The error message makes no sense though considering that it works for everyone else in other locations.

Unfortunately, there's no easy way to manually populate internal caches. You'll have to configure your NAS to connect to the internet via Proxy or VPN, at least the first time around to populate the caches with something.
:idea: Please read the FAQ and How to Request Help.
neeraj
Posts: 8
Joined: 04 Jan 2017, 09:53

Re: Synology: Upgraded to 4.9.2 - Run any action - Error Fetch failed

Post by neeraj »

Hi Rednoah,

Thanks for the feedback. I will see if I can setup an alternate temp method to be able to connect and pull the update.

Kind Regards

Neeraj
neeraj
Posts: 8
Joined: 04 Jan 2017, 09:53

Re: Synology: Upgraded to 4.9.2 - Run any action - Error Fetch failed

Post by neeraj »

Hi Rednoah,

Thank you for the advice previously given. I have managed to setup a temp VPN connection for my Synology device and was able to successfully connect and fetch the https://api.filebot.net/8046/script/fn.jar.xz .

Now all filebot commands are working as normal again.

Thanks for the suggestion.

Kind Regards
Neeraj
Post Reply