Server Error (HTTP 503) when doing an AcoustID scan

Tags: #<Tag:0x00007f2a547b1120> #<Tag:0x00007f2a547b0fe0> #<Tag:0x00007f2a547b0ea0>

I’ve been having an issue recently where Scans are not hitting the acoustid.org site correctly in MusicBrainz Picard. The issue seems to have started when I upgraded to Fedora 30, but I am not positive if that is the problem. But I definitely did not have this issue a month ago or prior.

I am pretty sure this is an issue with my local system since no one else has reported it, and AcoustID seems to be working fine. But I can’t for the life of me figure it out. I have uninstalled and reinstalled the application with no success. It is installed from the Fedora repository (v. 2.1.3).

Here’s the issue I am seeing:

  1. Drag in an audio file (in this case I used one that already had an acoustID generated, but I get the same behavior in either case).
  2. Click “Scan”

The scan fails, with the following debug output:

Summary
D: 21:14:31,364 /usr/lib64/python3.7/site-packages/picard/file.update:501: Updating file <File '01 Un Petit Tour.mp3'>

D: 21:14:31,375 /usr/lib64/python3.7/site-packages/picard/acoustid/__init__._run_next_task:213: Starting fingerprint calculator '/usr/bin/fpcalc' '/run/media/dnb/FLAC/AUDIO_Picard_Update/Music/Albums/Aki Onda/Un Petit Tour/01 Un Petit Tour.mp3'

D: 21:14:31,645 /usr/lib64/python3.7/site-packages/picard/acoustid/__init__._lookup_fingerprint:134: AcoustID: looking up the fingerprint for file '/run/media/dnb/FLAC/AUDIO_Picard_Update/Music/Albums/Aki Onda/Un Petit Tour/01 Un Petit Tour.mp3'

D: 21:14:31,646 /usr/lib64/python3.7/site-packages/picard/webservice/__init__.post:458: POST-DATA 'meta=recordings%20releasegroups%20releases%20tracks%20compress%20sources&fingerprint=AQADtFKiRInCOMGUh0Ge49GP_oU_PEd6sDqaNBOQcwvEyVwQj_gZlL_BUUaXHmF1QX0GH_kx_cGRSzcqiOdhfSj5DPFJIhaF74IuGaElPGrx9kHT4Y9wRDc0SmjyIOcnND9K8vgyHed0NDmqisZlNJehlQuao9OYD5xz48_RZzmakQLyB0y4LBU0-8N740SfTMIUCz-68vB1nIOzC72gP0cfX3DE4Id64XdRP5SQl7iOC7OPJ8J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EcQoBAAwkQABEgGCMAESMMEAIQkERRAFAAEFAECWIAcwRQoACRCNCDBBAIAQQgQIsICxRQFDACBCIEcEcUQARRwBQSkFCECQEAAGEAIIgIpglhAECHAMMGEIUQUg4ASRxCBgBEBBSACQQYFIJiQwhQAigkENAGEAIAUgYAoQxQggEAEHAKCCEAYQBJAECACASjDBAEEMAAQIAAKQgwEAAHADKGM2AYtIorAABRFBEACCIGyGMogQ4wQCBIACDFAMWYOCMApAowpgChGBGgAKECCGAQUAoQAjTDAihEBMOGUAMMgQRYJQDRCkFAGBMOKNMg8ogoIEhAAhgABDGISAAQAQZBoEgAikEiBBEAGKIEBQ4AQAhggAkjFEaEWYRIkAgAhAFTBhEEBKAAM8ENEApQQAgBChigCAAAQUIIUgQAYgDSBAFuAAEAMYEIRY&duration=355&client=v8pQ6oyB&clientversion=2.1.3.final0&format=json'

D: 21:14:31,655 /usr/lib64/python3.7/site-packages/picard/webservice/ratecontrol.get_delay_to_next_request:114: ('api.acoustid.org', 80): Last request was 401462 ms ago, starting another one

D: 21:14:31,657 /usr/lib64/python3.7/site-packages/picard/webservice/ratecontrol.increment_requests:134: ('api.acoustid.org', 80): Incrementing requests to: 1

D: 21:14:31,842 /usr/lib64/python3.7/site-packages/picard/webservice/ratecontrol.decrement_requests:142: ('api.acoustid.org', 80): Decrementing requests to: 0

After this, the following error:

E: 21:14:31,845 /usr/lib64/python3.7/site-packages/picard/webservice/__init__._handle_reply:383: Network request error for http://api.acoustid.org:80/v2/lookup: Error transferring http://api.acoustid.org:80/v2/lookup - server replied: Service Unavailable (QT code 403, HTTP code 503)

This error repeats 4 times, after 30 second intervals, until it gives up.

However, if I take the metadata and form a valid acoustid.org URL, I get a status message of “OK”, which leads me to believe that the server is, in fact, working.

Any tips on what might be going on here?

1 Like

Further info - here is the URL I created to test the acoustid.org server (appending the metadata from the logs to the standard URL):

Summary

http://api.acoustid.org:80/v2/lookup?meta=recordings%20releasegroups%20releases%20tracks%20compress%20sources&fingerprint=AQAD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NwQwggCQCAgHCLOGCAAEB8AZQIgRUghhgHFUqAIYkEYAAYBSYAJDgHEKMGKEIEYQYZggAghBBQFGCEGQcAoAIQwACBFCEGIKEuEIQEAIJARiwCCgnBCCCSAIYYAJBgAQlBmHCBBCOSEMAAIDQAkQAyClCESCEAMAUAAIAxgwQipFGFBCiYYAcgQ4oIwAAgCBkCGAaCIMdIoQBQQRxhnkkCDCEAeIMQAIApAECACikDCEBESEcQoBAAwkQABEgGCMAESMMEAIQkERRAFAAEFAECWIAcwRQoACRCNCDBBAIAQQgQIsICxRQFDACBCIEcEcUQARRwBQSkFCECQEAAGEAIIgIpglhAECHAMMGEIUQUg4ASRxCBgBEBBSACQQYFIJiQwhQAigkENAGEAIAUgYAoQxQggEAEHAKCCEAYQBJAECACASjDBAEEMAAQIAAKQgwEAAHADKGM2AYtIorAABRFBEACCIGyGMogQ4wQCBIACDFAMWYOCMApAowpgChGBGgAKECCGAQUAoQAjTDAihEBMOGUAMMgQRYJQDRCkFAGBMOKNMg8ogoIEhAAhgABDGISAAQAQZBoEgAikEiBBEAGKIEBQ4AQAhggAkjFEaEWYRIkAgAhAFTBhEEBKAAM8ENEApQQAgBChigCAAAQUIIUgQAYgDSBAFuAAEAMYEIRY&duration=355&client=v8pQ6oyB&clientversion=2.1.3.final0&format=json

When I put this into a browser I get the following output:
{"results": [{"id": "a656e96f-b34a-487e-8eb4-73e01dcfb061", "score": 0.994396}], "status": "ok"}

…which looks like acoustid.org is working.

I think this is the same problem I started having today. A release that I found by acoustid last night is returning no results in Picard today, with a similar error.

Update: I also can’t submit acoustids.

Yeah, same error here, affecting both scan and submit.

Same problem here. Since yesterday afternoon.

I use some of the scripts like “Inline Stuff” that add the AcoustiIDs to the main MB website pages when I look at them. Last couple of days they have become very unreliable and usually fail to load anything up.

Same problem here for about 2 days.

Same problem here for a couple of days

Same issue here as well…

E: 08:09:32,648 webservice._handle_reply:383: Network request error for http://api.acoustid.org:80/v2/lookup: Error transferring http://api.acoustid.org:80/v2/lookup - server replied: Service Unavailable (QT code 403, HTTP code 503)

I thought it was just me.

Since multiple people are affected, should this become a bug report? I’m assuming this is a Picard issue and not an AcoustID issue, but not really sure.

Hi

I Have been suffering the same problem. I have just managed to resolve my issue by opening musicbrainz. Click on help tab at the top of the screen. Click on view error/debug log. When the log opens up, in the bottom left corner it says debug mode, this was unchecked so I ticked it, and tracks then began to load again when scanned. Good luck

I’m working on changes in the AcoustID infrastructure. Some versions of Picard are making HTTP requests that were not accepted by the server. It should be fixed now.

9 Likes

Yep, fixed for me now! Thanks @lukz!