Page 1 of 1

Fetch Failed - Failure (°_°)

Posted: 16 Oct 2017, 14:49
by Meph88
A few days ago my long running script started throwing failures and will not match or rename or work for any TV Show files I have tried but Movies do seem to be working.

This is the output I get:

Code: Select all

Rename episodes using [TheTVDB]
Auto-detected query: [Whatever TV Show]
Fetch failed: Try again in 5 seconds (2 more) => java.io.IOException: Server returned HTTP response code: 503 for URL: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml
Fetch failed: Try again in 10 seconds (1 more) => java.io.IOException: Server returned HTTP response code: 503 for URL: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml
Fetch failed: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml
java.io.IOException: Server returned HTTP response code: 503 for URL: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml
	at net.filebot.web.WebRequest.fetch(WebRequest.java:143)
	at net.filebot.CachedResource.lambda$fetchIfModified$9(CachedResource.java:215)
	at net.filebot.CachedResource.lambda$null$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.web.TheTVDBClientV1.getXmlResource(TheTVDBClientV1.java:269)
	at net.filebot.web.TheTVDBClientV1.getMirror(TheTVDBClientV1.java:243)
	at net.filebot.web.TheTVDBClientV1.getResource(TheTVDBClientV1.java:273)
	at net.filebot.web.TheTVDBClientV1.lambda$getXmlResource$8(TheTVDBClientV1.java:269)
	at net.filebot.CachedResource.lambda$get$1(CachedResource.java:83)
	at net.filebot.Cache.computeIf(Cache.java:90)
	at net.filebot.CachedResource.get(CachedResource.java:82)
	at net.filebot.web.TheTVDBClientV1.getXmlResource(TheTVDBClientV1.java:269)
	at net.filebot.web.TheTVDBClientV1.fetchSearchResult(TheTVDBClientV1.java:86)
	at net.filebot.WebServices$TheTVDBClientWithLocalSearch.access$001(WebServices.java:129)
	at net.filebot.WebServices$TheTVDBClientWithLocalSearch.lambda$fetchSearchResult$4(WebServices.java:149)
Caused by: java.io.IOException: Server returned HTTP response code: 503 for URL: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml
	at net.filebot.web.WebRequest.fetch(WebRequest.java:140)
	... 19 more

Code: Select all

ExecutionException: java.io.IOException: Server returned HTTP response code: 503 for URL: http://thetvdb.com/api/694FAD89942D3827/mirrors.xml
Finished without processing any files
Failure (°_°)


I think it's having trouble reaching the TVDB URL/s but I am certainly not enough of an expert to know if that's accurate or what to do next....

Please help

Re: Fetch Failed - Failure (°_°)

Posted: 16 Oct 2017, 17:04
by rednoah
What does curl say?

Code: Select all

curl -v http://thetvdb.com/api/694FAD89942D3827/mirrors.xml

Re: Fetch Failed - Failure (°_°)

Posted: 17 Oct 2017, 01:11
by kim

Re: Fetch Failed - Failure (°_°)

Posted: 20 Oct 2017, 06:50
by Meph88

Code: Select all

*   Trying 0.0.236.209...
* TCP_NODELAY set
* Connected to thetvdb.com (0.0.236.209) port 80 (#0)
> GET /api/694FAD89942D3827/mirrors.xml HTTP/1.1
> Host: thetvdb.com
> User-Agent: curl/7.54.0
> Accept: */*
> 
< HTTP/1.1 200 OK
< Date: Fri, 20 Oct 2017 06:49:37 GMT
< Content-Type: text/xml
< Transfer-Encoding: chunked
< Connection: keep-alive
< Set-Cookie: __cfduid=ddcfb26d6045dc18333b9a6e0149b71351508482177; expires=Sat, 20-Oct-18 06:49:37 GMT; path=/; domain=.thetvdb.com; HttpOnly
< Last-Modified: Fri, 20 Oct 2017 06:40:01 GMT
< Vary: Accept-Encoding
< Expires: Fri, 20 Oct 2017 10:49:37 GMT
< Cache-Control: public, max-age=14400
< CF-Cache-Status: EXPIRED
< Server: cloudflare-nginx
< CF-RAY: 3b0a09c9a66d6c04-SJC
< 
<?xml version="1.0" encoding="UTF-8" ?>
<Mirrors>
  <Mirror>
    <id>1</id>
    <mirrorpath>http://thetvdb.com</mirrorpath>
    <typemask>7</typemask>
  </Mirror>
</Mirrors>
* Connection #0 to host thetvdb.com left intact

Re: Fetch Failed - Failure (°_°)

Posted: 20 Oct 2017, 07:48
by rednoah
Looks like it's working now.

Re: Fetch Failed - Failure (°_°)

Posted: 20 Oct 2017, 08:04
by Meph88
But still not working.....
Getting the same result as before....

Re: Fetch Failed - Failure (°_°)

Posted: 20 Oct 2017, 11:04
by rednoah
If this is indeed correct, curl working but FileBot not working, then it's likely that CloudFlare has blocked your IP address due to abuse.

Have you tried from a different machine in a different network or via VPN?

Re: Fetch Failed - Failure (°_°)

Posted: 23 Oct 2017, 05:36
by Meph88
I have tried using VPN. Same result.
That machine actually always is with a VPN service on.
What could cause my IP being blocked by cloud flare due to abuse?
I mean, I use my script a few times a day but nothing different to what I've been doing for a few years.

Re: Fetch Failed - Failure (°_°)

Posted: 23 Oct 2017, 15:30
by rednoah
VPN seems like something that could have been mentioned in the very first post about network issues. ;)

If you use VPN then it's unsurprising that you're likely to be blocked based in the actions of someone else.

Everyone using your VPN will have the same outgoing IP which means if anybody abuses any site on CloudFlare then, CloudFlare will just block the IP.