RandomNinjaAtk / docker-amd

AMD is a Lidarr companion script to automatically download music for Lidarr
GNU General Public License v3.0
220 stars 28 forks source link

wget: server returned error: HTTP/1.1 500 Internal Server Error #72

Closed zickyls closed 2 years ago

zickyls commented 2 years ago

I get strange error when it connect to lidarr and I couldn't figure out why. Here is the log.

2021-12-13 09:37:41 :: To kill the download script, use the following command: 2021-12-13 09:37:41 :: kill -9 233 2021-12-13 09:37:41 :: 2021-12-13 09:37:41 :: 2021-12-13 09:37:43 :: ####### Automated Music Downloader (AMD) 2021-12-13 09:37:43 :: ####### SCRIPT VERSION 1.5.482 2021-12-13 09:37:43 :: ####### DOCKER VERSION 1.1.8 2021-12-13 09:37:43 :: ####### CONFIGURATION VERIFICATION 2021-12-13 09:37:43 :: AMD Script Autostart: ENABLED 2021-12-13 09:37:43 :: AMD Script Interval: 15m 2021-12-13 09:37:43 :: Lidarr Connection Valid, version: 0.8.1.2135 2021-12-13 09:37:43 :: Musicbrainz Mirror Valid: https://musicbrainz.org 2021-12-13 09:37:43 :: Musicbrainz Rate Limit: 1 (Queries Per Second) 2021-12-13 09:37:43 :: Downloads Location: /downloads-amd/amd/dlclient 2021-12-13 09:37:43 :: Import Location: /downloads-amd/amd/import 2021-12-13 09:37:43 :: ARL Token: Configured 2021-12-13 09:37:43 :: Audio: Concurrency: 1 2021-12-13 09:37:43 :: Audio: FALLBACKSEARCH: True 2021-12-13 09:37:43 :: Audio: Download Format: FLAC 2021-12-13 09:37:43 :: Audio: Download File Bitrate: lossless 2021-12-13 09:37:43 :: Audio: Force Convert: DISABLED 2021-12-13 09:37:43 :: Audio: Audio Post Processing: ENABLED 2021-12-13 09:37:43 :: Audio: Number of Post Process Threads: 1 2021-12-13 09:37:43 :: Audio: Embedded Cover Quality: 80 (%) 2021-12-13 09:37:43 :: Audio: Require Quality: DISABLED 2021-12-13 09:37:43 :: Audio: Download Mode: wanted (Processes monitored albums) 2021-12-13 09:37:43 :: Audio: Wanted List Type: Both (missing & cutoff) 2021-12-13 09:37:43 :: Audio: Search Type: Artist Searching & Backup Fuzzy Searching 2021-12-13 09:37:43 :: Audio: Match Distance: 10 2021-12-13 09:37:43 :: Audio: Replaygain Tagging: ENABLED 2021-12-13 09:37:43 :: Audio: File Permissions: 666 2021-12-13 09:37:43 :: Audio: Folder Permissions: 777 ####### DOWNLOAD AUDIO (WANTED MODE) 2021-12-13 09:37:46 :: Downloading missing list... Connecting to 10.1.1.2:8686 (10.1.1.2:8686) wget: server returned error: HTTP/1.1 500 Internal Server Error cat: /scripts/temp-lidarr-missing.json: No such file or directory 2021-12-13 09:37:54 :: FINDING MISSING ALBUMS: 0 Found 2021-12-13 09:37:54 :: Downloading cutoff list... Connecting to 10.1.1.2:8686 (10.1.1.2:8686) saving to '/scripts/temp-lidarr-cutoff.json' temp-lidarr-cutoff.j 100% |****| 140 0:00:00 ETA '/scripts/temp-lidarr-cutoff.json' saved 2021-12-13 09:37:54 :: FINDING CUTOFF ALBUMS: 0 Found ####### DOWNLOAD AUDIO COMPLETE 2021-12-13 09:37:55 :: ####### SCRIPT COMPLETE 2021-12-13 09:37:55 :: ####### SCRIPT SLEEPING FOR 15m

I thought the API was wrong. When I changed it I got

2021-12-13 09:35:01 :: To kill the download script, use the following command: 2021-12-13 09:35:01 :: kill -9 234 2021-12-13 09:35:01 :: 2021-12-13 09:35:01 :: 2021-12-13 09:35:03 :: ####### Automated Music Downloader (AMD) 2021-12-13 09:35:03 :: ####### SCRIPT VERSION 1.5.482 2021-12-13 09:35:03 :: ####### DOCKER VERSION 1.1.8 2021-12-13 09:35:03 :: ####### CONFIGURATION VERIFICATION 2021-12-13 09:35:03 :: AMD Script Autostart: ENABLED 2021-12-13 09:35:03 :: AMD Script Interval: 15m 2021-12-13 09:35:03 :: ERROR: Cannot communicate with Lidarr, most likely a.... 2021-12-13 09:35:03 :: ERROR: Invalid API Key: 123456 2021-12-13 09:35:03 :: Musicbrainz Mirror Valid: https://musicbrainz.org 2021-12-13 09:35:03 :: Musicbrainz Rate Limit: 1 (Queries Per Second) 2021-12-13 09:35:03 :: Downloads Location: /downloads-amd/amd/dlclient 2021-12-13 09:35:03 :: Import Location: /downloads-amd/amd/import 2021-12-13 09:35:03 :: ARL Token: Configured 2021-12-13 09:35:03 :: Audio: Concurrency: 1 2021-12-13 09:35:03 :: Audio: FALLBACKSEARCH: True 2021-12-13 09:35:03 :: Audio: Download Format: FLAC 2021-12-13 09:35:03 :: Audio: Download File Bitrate: lossless 2021-12-13 09:35:03 :: Audio: Force Convert: DISABLED 2021-12-13 09:35:03 :: Audio: Audio Post Processing: ENABLED 2021-12-13 09:35:03 :: WARNING: ENABLEPOSTPROCESSING setting invalid, using default setting 2021-12-13 09:35:03 :: Audio: Number of Post Process Threads: 1 2021-12-13 09:35:03 :: Audio: Embedded Cover Quality: 80 (%) 2021-12-13 09:35:03 :: Audio: Require Quality: DISABLED 2021-12-13 09:35:03 :: Audio: Download Mode: wanted (Processes monitored albums) 2021-12-13 09:35:03 :: Audio: Wanted List Type: Both (missing & cutoff) 2021-12-13 09:35:03 :: Audio: Search Type: Artist Searching & Backup Fuzzy Searching 2021-12-13 09:35:03 :: Audio: Match Distance: 10 2021-12-13 09:35:03 :: Audio: Replaygain Tagging: ENABLED 2021-12-13 09:35:03 :: Audio: File Permissions: 666 2021-12-13 09:35:03 :: Audio: Folder Permissions: 777 2021-12-13 09:35:03 :: Please correct errors before attempting to run script again... 2021-12-13 09:35:03 :: Exiting... 2021-12-13 09:35:06 :: To kill the download script, use the following command: 2021-12-13 09:35:06 :: kill -9 234

The Lidarr version (linuxserver/lidarr:latest) is 0.8.1.2135

Does anyone know what's going on?

RandomNinjaAtk commented 2 years ago

Looks like you've miss configured your lidarr url/api key... try again with your docker config...

zickyls commented 2 years ago

Thanks you for the reply. But the first log is my problem. I have tested if I purposely input the wrong api key I have the second log. So I'm pretty sure I got the address and api correctly inputed.

RandomNinjaAtk commented 2 years ago

Did you check to make sure you had anything actually marked as wanted...? Your first message indicates a connection worked, but likely your wanted list was empty, so nothing to find... Same with cutoff, so that would be a Lidarr Config issue...

zickyls commented 2 years ago

I remove all the configs and import the library in lidarr. Now it's working. I'm not sure what's the issue but I'm happy it's working now. Thank you.