amc is getting http 522 from thetvdb
Posted: 15 Sep 2016, 07:11
Sysinfo is at bottom of post.
When running amc for an episode, fetch is failing because thetvdb is returning http error code 522 (or sometimes 520). But when I load the link in a browser window on the same machine I get the expected data.
I remove the file to be renamed from the exclude file, clear the cache and then run the amc script. This seems to be happening for all tv shows, but it's only been today as far as I can tell.
The log file contains the following:
When running amc for an episode, fetch is failing because thetvdb is returning http error code 522 (or sometimes 520). But when I load the link in a browser window on the same machine I get the expected data.
I remove the file to be renamed from the exclude file, clear the cache and then run the amc script. This seems to be happening for all tv shows, but it's only been today as far as I can tell.
Code: Select all
filebot -clear-cache ; ../bin/amc The_Cul_de_Sac_S01E05.mp4
Code: Select all
Run script [fn:amc] at [Thu Sep 15 00:50:15 MDT 2016]
Parameter: excludeList = /home/harleypig/videos/data/amc_exclude_file.list
Parameter: clean = y
Parameter: movieFormat = movies/{self.collection ? concat('series/', collection.space('_')) : concat( 'alpha/', n.sortName() =~ /^(?i)[a-z]/ ? n.sortName()[0].upperInitial() : '_')}/{n.ascii().upperInitial().space('_').replaceAll("'",'')}_{y}{'_CD'+pi}
Parameter: plex = localhost:plexkeygoeshere
Parameter: seriesFormat = tv/{n.replaceTrailingBrackets().replaceAll("'").space('_')}/{n.replaceTrailingBrackets().replaceAll("'").space('_')}_S{s.pad(2)}/{n.replaceTrailingBrackets().replaceAll("'").space('_')}_{s00e00}_{airdate.format('yyyyMMdd')}_{t.upperInitial().space('_')}
Parameter: skipExtract = y
Parameter: storeReport = y
Parameter: unsorted = y
Parameter: unsortedFormat = /home/harleypig/videos/unsorted/{file.structurePathTail}
Argument: /home/harleypig/videos/unsorted/The_Cul_de_Sac_S01E05.mp4
Using excludes: /home/harleypig/videos/data/amc_exclude_file.list (0)
Input: /home/harleypig/videos/unsorted/The_Cul_de_Sac_S01E05.mp4
Group: [tvs:the cul de sac] => [The_Cul_de_Sac_S01E05.mp4]
Rename episodes using [TheTVDB]
Auto-detected query: [the cul de sac]
Fetch failed: java.io.IOException: Server returned HTTP response code: 522 for URL: http://thetvdb.com/api/GetSeries.php?seriesname=the+cul+de+sac&language=en [http://thetvdb.com/api/GetSeries.php?seriesname=the+cul+de+sac&language=en]
java.io.IOException: Server returned HTTP response code: 522 for URL: http://thetvdb.com/api/GetSeries.php?seriesname=the+cul+de+sac&language=en
Processing 1 unsorted files
Skipped [/home/harleypig/videos/unsorted/The_Cul_de_Sac_S01E05.mp4] because [/home/harleypig/videos/unsorted/The_Cul_de_Sac_S01E05.mp4] already exists
Processed 0 files
Clean clutter files and empty folders
Finished without processing any files
Failure (°_°)
Code: Select all
$ filebot -script fn:sysinfo
FileBot 4.7.2 (r4252)
JNA Native: 4.0.1
MediaInfo: MediaInfoLib - v0.7.69
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.1.0 (/usr/share/filebot/fpcalc)
Extended Attributes: OK
GVFS: OK
Groovy Engine: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_101
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 13 GB Max Memory / 1 GB Used Memory
OS: Linux (amd64)
Package: DEB
Data: /home/harleypig/.filebot
uname: Linux sweetums 3.19.3-031903-lowlatency #201503261036 SMP PREEMPT Thu Mar 26 14:46:22 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ