Hello, I’m new to the forum but I’ve been using the MusicBrainz API in iOS 26 for a few weeks without any issue. But after the power outage that the Internet Archive had last week I’ve had Intermittent TLS “connection reset by peer” errors. I’ve also been testing this in the Terminal on macOS using curl (I’ve been using this: curl -vIL https://coverartarchive.org/release/fef8b229-ee77-4e63-a07f-222c1ad56c97).
Sometimes the request works and I get the expected 307 redirect and then the JSON from archive.org; other times the TLS connection to coverartarchive.org is reset immediately after the ClientHello. Here is an example of what it returns (I tried forcing IPv4 to confirm it wasn’t an IPv6 issue):
curl -4 -vIL https://coverartarchive.org/release/fef8b229-ee77-4e63-a07f-222c1ad56c97
LibreSSL/3.3.6: error:02FFF036:system library:func(4095):Connection reset by peer
Closing connection
curl: (35) Recv failure: Connection reset by peer
Is this happening with anyone else? Am I possibly doing something wrong on my end, or is there something that happened during the power outage at the Internet Archive that could possibly be causing this?
If there is anything else I can add to help troubleshoot this please let me know!
I have definitely seen those several times the last days when using Picard. So it’s not only you, I’m sure this is somewhere on the Internet Archive side.
Is this something I should try and now make Internet Archive aware of separately you think? Maybe they don’t even know if no one has reported to them… I’ll look into this as well
I’m encountering an identical intermittent issue with ListenBrainz. Given the timing and identical IP, I suspect it’s affecting many services and may not be the fault of the Internet Archive. It affects non-API domains, but I’ve never had an issue on my browser, perhaps because it retries and/or keeps the session open.
I’m also haunted by this, and it looks like it’s happening when the URL resolves to moon.musicbrainz.org instead of one of the archive.org servers (like dn710602.ca.archive.org )
Happening for me simply using the https://musicbrainz.org/ws/2/artist/{*mbid*} api to get artist info. I’m throttling my script well below 50/rpm and seeing maybe 1 in 10 succeed. The other are returning “Connection reset by peer“ (using the Python requests client)
Update: It seems to be doing much better at a different time of day.
Results:
Wednesday evening USA Mountain Standard Time: Frequent peer resets
Thursday morning MST: 100% success
Indicates a problem with overall load on the system during peak times.
Just to add I’ve also seen multiple discussions online where people report similar connectivity issues related to Hetzner, especially with some German locations. Quite often the suggested workaround is migrating workloads from Germany to Finland or putting Cloudflare in front to stabilize routing and availability.
Hi, I’m experiencing a very similar issue. I’m using the MusicBrainz API from a Node.js script and after several requests the connection starts getting reset. At the same time I can see packet loss to static.227.51.201.195.clients.your-server.de increasing up to ~95%.
After the first connection reset, the API becomes unreachable for several minutes not only from my ISP, but also from my Hetzner server which did not send any requests at that moment. Interestingly, it is still reachable from another server I have in a different AS.
Because of this behaviour, I suspect this might be related to routing problems towards Hetzner rather than strict API rate limiting. I’ve previously observed similar routing instability on my own Hetzner-hosted services without Cloudflare in front, connectivity to Hetzner can become very unreliable from some networks.
Hi,
I’m also observing (and seeing other users hit) this issue when trying to use ListenBrainz APIs. In my case, I’m seeing anywhere from 8 to 82 listens (now playing or submission) fail a day, as well as /user/<user>/playlists/createdfor or individual playlist fetches hitting the same problem.
So far, I haven’t seen any 429 errors in the log signifying a rate limit was hit.
Is there any possible mitigation client-side (aside from retries?)