truecharts / charts

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.13k stars 622 forks source link

automatic_music_downloader is unable to connect to MusicBrainz #11551

Closed Klomgor closed 2 months ago

Klomgor commented 1 year ago

App Name

automatic_music_downloader

SCALE Version

22.02.3

App Version

latest_6.0.0

Application Events

2023-08-14 8:24:40
Started container automatic-music-downloader
2023-08-14 8:24:39
Add eth0 [172.16.14.56/16] from ix-net
2023-08-14 8:24:39
Container image "tccr.io/truecharts/automatic-music-downloader:latest@sha256:541eff647695209e9071e9483f434420e2d333068865e75e9db40b045e1a8358" already present on machine
2023-08-14 8:24:39
Created container automatic-music-downloader
2023-08-14 8:24:38
Scaled up replica set automatic-music-downloader-654b9f97fb to 1
2023-08-14 8:24:38
Created pod: automatic-music-downloader-654b9f97fb-7nddw
2023-08-14 8:24:38
Successfully assigned ix-automatic-music-downloader/automatic-music-downloader-654b9f97fb-7nddw to ix-truenas
2023-08-14 8:24:33
Scaled down replica set automatic-music-downloader-5999b6c7ff to 0 from 1
2023-08-14 8:24:33
Deleted pod: automatic-music-downloader-5999b6c7ff-955p8
2023-08-14 8:24:33
Stopping container automatic-music-downloader
2023-08-14 8:06:24
Created container automatic-music-downloader
2023-08-14 8:06:24
Started container automatic-music-downloader
2023-08-14 8:06:23
Successfully pulled image "tccr.io/truecharts/automatic-music-downloader:latest@sha256:541eff647695209e9071e9483f434420e2d333068865e75e9db40b045e1a8358" in 10.916572838s
2023-08-14 8:06:12
Add eth0 [172.16.14.52/16] from ix-net
2023-08-14 8:06:12
Pulling image "tccr.io/truecharts/automatic-music-downloader:latest@sha256:541eff647695209e9071e9483f434420e2d333068865e75e9db40b045e1a8358"
2023-08-14 8:06:11
Scaled up replica set automatic-music-downloader-5999b6c7ff to 1
2023-08-14 8:06:11
Created pod: automatic-music-downloader-5999b6c7ff-955p8
2023-08-14 8:06:11
Successfully assigned ix-automatic-music-downloader/automatic-music-downloader-5999b6c7ff-955p8 to ix-truenas

Application Logs

2023-08-14 12:37:23.762845+00:002023-08-14 08:37:23 :: ####### Automated Music Downloader (AMD)
2023-08-14 12:37:23.763942+00:002023-08-14 08:37:23 :: ####### SCRIPT VERSION 1.5.483
2023-08-14 12:37:23.765458+00:002023-08-14 08:37:23 :: ####### DOCKER VERSION 1.1.10
2023-08-14 12:37:23.766915+00:002023-08-14 08:37:23 :: ####### CONFIGURATION VERIFICATION
2023-08-14 12:37:23.768257+00:002023-08-14 08:37:23 :: AMD Script Autostart: ENABLED
2023-08-14 12:37:23.769668+00:002023-08-14 08:37:23 :: AMD Script Interval: 1h
2023-08-14 12:37:23.814709+00:002023-08-14 08:37:23 :: Lidarr Connection Valid, version: 1.3.4.3458
2023-08-14 12:37:24.201734+00:002023-08-14 08:37:24 :: ERROR: Cannot communicate with Musicbrainz
2023-08-14 12:37:24.203424+00:002023-08-14 08:37:24 :: ERROR: Expected Response "Linkin Park", received response "null"
2023-08-14 12:37:24.205503+00:002023-08-14 08:37:24 :: ERROR: URL might be Invalid: https://musicbrainz.org
2023-08-14 12:37:24.207180+00:002023-08-14 08:37:24 :: ERROR: Remote Mirror may be throttling connection...
2023-08-14 12:37:24.208605+00:002023-08-14 08:37:24 :: ERROR: Link used for testing: https://musicbrainz.org/ws/2/artist/f59c5520-5f46-4d2c-b2c4-822eabf53419?fmt=json
2023-08-14 12:37:24.209682+00:002023-08-14 08:37:24 :: ERROR: Please correct error, consider using official Musicbrainz URL: https://musicbrainz.org
2023-08-14 12:37:24.211269+00:002023-08-14 08:37:24 :: Downloads Location: /downloads-amd/amd/dlclient
2023-08-14 12:37:24.212625+00:002023-08-14 08:37:24 :: Import Location: /downloads-amd/amd/import
2023-08-14 12:37:24.213719+00:002023-08-14 08:37:24 :: ARL Token: Configured
2023-08-14 12:37:24.216399+00:002023-08-14 08:37:24 :: Audio: Concurrency: 1
2023-08-14 12:37:24.219772+00:002023-08-14 08:37:24 :: Audio: FALLBACKSEARCH: true
2023-08-14 12:37:24.224178+00:002023-08-14 08:37:24 :: Audio: Download Format: FLAC
2023-08-14 12:37:24.225812+00:002023-08-14 08:37:24 :: Audio: Download File Bitrate: lossless
2023-08-14 12:37:24.227560+00:002023-08-14 08:37:24 :: Audio: Force Convert: ENABLED
2023-08-14 12:37:24.228953+00:002023-08-14 08:37:24 :: Audio: Audio Post Processing: ENABLED
2023-08-14 12:37:24.229933+00:002023-08-14 08:37:24 :: Audio: Number of Post Process Threads: 1
2023-08-14 12:37:24.231284+00:002023-08-14 08:37:24 :: Audio: Embedded Cover Quality: 80 (%)
2023-08-14 12:37:24.234235+00:002023-08-14 08:37:24 :: Audio: Require Quality: ENABLED
2023-08-14 12:37:24.235448+00:002023-08-14 08:37:24 :: Audio: Download Mode: wanted (Processes monitored albums)
2023-08-14 12:37:24.236810+00:002023-08-14 08:37:24 :: Audio: Wanted List Type: Both (missing & cutoff)
2023-08-14 12:37:24.238020+00:002023-08-14 08:37:24 :: Audio: Search Type: Artist Searching & Backup Fuzzy Searching
2023-08-14 12:37:24.239613+00:002023-08-14 08:37:24 :: Audio: Match Distance: 10
2023-08-14 12:37:24.242341+00:002023-08-14 08:37:24 :: Audio: Replaygain Tagging: ENABLED
2023-08-14 12:37:24.244326+00:002023-08-14 08:37:24 :: Audio: File Permissions: 666
2023-08-14 12:37:24.245815+00:002023-08-14 08:37:24 :: Audio: Folder Permissions: 766
2023-08-14 12:37:24.247229+00:002023-08-14 08:37:24 :: Please correct errors before attempting to run script again...
2023-08-14 12:37:24.248175+00:002023-08-14 08:37:24 :: Exiting...

Application Configuration

Default Configuration, as shown in the Logs.

Describe the bug

I am able to access MusicBrainz webpage from my browser, as well as the test link stated in the error message from the logs, but I keep getting this error from the app.

To Reproduce

Install amd with the default configuration.

Expected Behavior

not sure as this is my first time to use the app.

Screenshots

N/A

Additional Context

N/A

I've read and agree with the following

TimothyWright95 commented 1 year ago

image While debugging this issue i determined that music brainz is throttling due to the application not identifying itself. Im looking into it further (mostly for my own benefit) but ill post updates as they come.

TimothyWright95 commented 1 year ago

After some testing it looks like musicbrainz is throttling that specific repo, I replaced the user agent URL with the charts repo for AMD and it works image

Not sure if this is an acceptable fix for deployment but since this repo isnt maintained by the upstream project anymore it seems appropriate for the user agent to change

But for now this works Log into shell and run this command sed 's/https:\/\/github\.com\/RandomNinjaAtk\/docker-amd/https:\/\/github\.com\/truecharts\/charts\/tree\/master\/charts\/stable\/automatic-music-downloader/g' /scripts/download.bash > /scripts/test.bash & mv /scripts/download.bash /scripts/download.bash.old & mv /scripts/test.bash /scripts/download.bash you then need to kill the current process (everytime i tested the pid was 235 so kill -9 235, but replace with the pid in the logs if its different) After which you need to start the start.bash file in /scripts (cd /scripts & ./start.bash &

unfortunatly you have to do this everytime the chart restarts

stavros-k commented 9 months ago

Upstream seems to be deprecated. @StevenMcElligott take a look if there is an alternative, or deprecate this on our side too

PrivatePuffin commented 9 months ago

Upstream seems to be deprecated. @StevenMcElligott take a look if there is an alternative, or deprecate this on our side too

We do not deprecate helm charts.

truecharts-admin commented 3 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.

truecharts-admin commented 2 months ago

This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.