mirror of
https://github.com/Lidarr/Lidarr.git
synced 2026-03-02 22:56:57 -05:00
Unable to communicate with LidarrAPI - Lidarr API "Internal Server Error" 500 | Invalid response received from LidarrAPI | HTTP Request Timeout #4254
Labels
No labels
Area: API
Area: Database
Area: Db-migration
Area: Download Clients
Area: Extras
Area: Import Lists
Area: Indexer
Area: Metadata API
Area: Notifications
Area: Organizer
Area: Parser
Area: Scanning
Area: Tooling
Area: UI
Area: Unit Tests
Area: Update API
On Hold: MetadataAPI Blocking
Priority: High
Priority: Low
Priority: Medium
Status: Accepted
Status: Cannot Reproduce
Status: Confirmed
Status: Don't Merge
Status: Help Wanted
Status: In Progress
Status: Info Needed
Status: Investigating
Status: Logs Needed
Status: Maybe One Day
Status: Needs Triage
Status: On Hold
Status: Ready for Review
Status: Unlikely
Status: Waiting for OP
Status: Won't Fix
Type: Bug
Type: Documentation
Type: Duplicate
Type: Enhancement
Type: Enhancement
Type: External Bug
Type: Feature Request
Type: Regression
Type: Support
Type: Support.
conflict
conflict
no-conflict
not-pulled
radarr-pull
readarr-pull
sonarr upstream
sonarr-pull
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Lidarr#4254
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Legion495 on GitHub (Apr 9, 2025).
Is there an existing issue for this?
Current Behavior
Unless I miss something there might be a issue serverside.
Especially since I am able to get a 500 all the time.
https://api.lidarr.audio/api/v0.4/search?type=all&query=stirling
error "Internal server error"
Expected Behavior
A response to the query.
Steps To Reproduce
Run the request https://api.lidarr.audio/api/v0.4/search?type=all&query=stirling as example.
Then you should see the error. At least I very much hope you will too.
Environment
What branch are you running?
Master
Trace Logs?
lidarr.trace.txt
Trace Logs have been provided as applicable. Reports may be closed if the required logs are not provided.
trace- that are relevant and show this issue.@Legion495 commented on GitHub (Apr 9, 2025):
So this probably easier than going through the trace log:
I first assumed my network change caused this (did not use lidarr the last few days) but luckily it is also reproduceable in any browser.
@jpecora716 commented on GitHub (Apr 9, 2025):
Same issue here. Started today.
@bakerboy448 commented on GitHub (Apr 9, 2025):
Team is aware and investigating.
@mynameisbogdan commented on GitHub (Apr 17, 2025):
All good now.
@cjil commented on GitHub (May 23, 2025):
I am having the same issue today as well.
@bakerboy448 commented on GitHub (May 23, 2025):
*WE ARE AWARE OF A LIDARR METADATA SERVER ISSUE - This is impacting all searches (as of the evening of 5/21). The devs are aware of the issue, which resulted from a musicbrainz metadata schema change that we incorporated yesterday afternoon. We cannot provide an ETA on a fix, but it will be done as soon as the devs are able to. If there is a change in status, it will be updated here. Thank you!
@Binocularbath commented on GitHub (May 26, 2025):
Hi there. is this the same server issue that causes "Unable to communicate with LidarrAPI"?
@bakerboy448 commented on GitHub (May 26, 2025):
Assuming that error relating to it is the server is down or another server side error and not local dns/ipv6 connectivity yes
@HVR88 commented on GitHub (May 26, 2025):
Novel idea: Roll back the change until the issue can be identified and fixed.
@xaetacorenet commented on GitHub (May 26, 2025):
Second this, imho core functionality is important and i consider this a very important feature in lidarr.
The musicbrainz workaround works but is far from ideal
@rstuke82 commented on GitHub (May 26, 2025):
What is the workaround?
@AdamWHY2K commented on GitHub (May 26, 2025):
The change was not performed by the Lidarr team, they are just adapting to musicbrainz schema changes, so it's not something that they are able to roll back.
@mvastum commented on GitHub (May 26, 2025):
What is the musicbrainz workaround and how does it work? Searching for the musicbrainz ID of an artist didnt work for me.
@bakerboy448 commented on GitHub (May 26, 2025):
The suggestion is illogical. Servarr Team has no control over MusicBrainz and their schema / updates.
For support and inquiries, please use our Discord channel. GitHub is designated solely for bug reports and feature requests. It seems that recent discussions fall under a support request, so we kindly ask you to visit our Discord for assistance. Thank you.
@bakerboy448 commented on GitHub (May 27, 2025):
And for those curious in the Servarr / Lidarr metadata server part since there seems to be a lot of speculation.
Why? A central metadata is needed because relying solely on third-party services creates serious reliability, performance, and scalability issues. Lidarr users generate tens of millions of API requests daily—putting that load on external services is unsustainable and unfair. By hosting metadata ourselves, we can pull updates periodically and reduce strain on external APIs. It also allows us to normalize and correct data issues that third-party sources can’t or won’t fix. Most importantly, self-hosting protects against external outages—if a source like MusicBrainz goes offline, Lidarr remains functional. We’ve seen before with TVDB that relying entirely on external metadata sources leads to repeated disruptions. Hosting our own metadata avoids that risk and keeps us in control.
Note that for Lidarr there are issues with the Cloudflare cache not clearing thus requiring manual cache busting on discord - donors and mods can use the command to bust the cf cache.
The Lidarr metadata server is partly open sourced (e.g. only certain caching components are not) https://github.com/Lidarr/LidarrAPI.Metadata and other Lidarr Repos.
The primary development team is engaged in over five applications, including Lidarr, Prowlarr, Radarr, Readarr, Whisparr, and Sonarr. Currently, there is approximately one ish active developer contributing to these projects, with none of the contributors working on them full-time. Additionally, all members involved, whether in development or support roles, are volunteers and do not receive compensation for their contributions. Each team member balances their commitments alongside full-time jobs, family responsibilities, and other personal obligations. The other main Metadata infrastructure dev is assisting when they can in their limited free time due to real life responsibilities.
As previously stated, it's been the current 500 error is caused by musicbrainz latest schema change.
@Daviid-P commented on GitHub (May 27, 2025):
Could we have a clearer error message in the future?
Search for 'lidarr:8d798def-1c72-4e9a-980d-db4f1e7b3f15' failed. Unable to communicate with LidarrAPI. HTTP request failed: [500:InternalServerError] [GET] at [https://api.lidarr.audio/api/v0.4/artist/8d798def-1c72-4e9a-980d-db4f1e7b3f15]makes me think the webapp has trouble communicating with the lidarr API (everything local), not the Lidarr API having a problem communicating with Musicbrainz (external problem)
@bakerboy448 commented on GitHub (May 27, 2025):
The error message is accurate. LidarrApi is not working. It will not be changed.
@aalencia commented on GitHub (May 27, 2025):
your post was not helpful. narcisssim isn't a nice look... clearer error messages reduce communication and is always needed...
@bakerboy448 commented on GitHub (May 27, 2025):
The code is open source - be the change you want and submit a PR.
Given the numerous and continual offtopic comments; locked again
For support and inquiries, please use our Discord channel.
@bakerboy448 commented on GitHub (May 29, 2025):
Infrastructure update
@bakerboy448 commented on GitHub (Jun 5, 2025):
@bakerboy448 commented on GitHub (Jun 12, 2025):
applying the metadata fix [from MusicBrainz] didn't work and borked things even more thus making the migration non-viable. Part of the current headache is technical debt of outdated supporting containers and less than optimal consolidation of supporting tools/code. We're exploring the least painful way to resolve the metadata as this is investigated: update retry the upgrade in place or burn and start clean.
latest update as of ~6/5 the Dev with both the Access to the metadata and the willpower to work through the code is juggling efforts in his freetime while balancing life/dayjob:
No ETA on a fix still. If you wish to contribute to Lidarr - then work on the HUNDREDS of backlogged Sonarr Pulls / Bugs / Feature Requests.
and to reflect the current Discord Pin
@bakerboy448 commented on GitHub (Jun 17, 2025):
progress - fingers crossed we're almost there
Edit
@bakerboy448 commented on GitHub (Jul 25, 2025):
@bakerboy448 commented on GitHub (Aug 1, 2025):
https://discord.com/channels/264387956343570434/1028840582270955612/1400953758225010802
@bakerboy448 commented on GitHub (Aug 18, 2025):
@bakerboy448 commented on GitHub (Aug 19, 2025):
@bakerboy448 commented on GitHub (Aug 22, 2025):
@bakerboy448 commented on GitHub (Aug 28, 2025):
Approximately 60% of requests are now being routed to the new metadata server.
The Cache continues to build.
Various Updates
What should I do?
How the metadata issues Present:
I'm getting a column error, or Torrent not enabled for this artist, when I fire up Lidarr, what's that about?
You were using the Plugins branch (or blampe's early build). You cannot jump back.
Open Issues:
How can I find a Musicbrainz ID?
ID-based searches are working a LOT better than text string searches right now.
@bakerboy448 commented on GitHub (Sep 1, 2025):
@bakerboy448 commented on GitHub (Sep 10, 2025):
@bakerboy448 commented on GitHub (Sep 14, 2025):
@bakerboy448 commented on GitHub (Sep 15, 2025):
@bakerboy448 commented on GitHub (Sep 28, 2025):
(PLEASE READ BEFORE POSTING AN ISSUE)
If you get any error concerning LidarrAPI (500, 503 or any other), please be patient and try again later - there is nothing else you can do at this moment.
PLEASE read the Pins - they contain a lot more information and will save you from having to ask.
(desktop) Click the pin icon in the upper right corner of this channel. (mobile) Tap the channel name, and then the Pins tab.
@bakerboy448 commented on GitHub (Sep 30, 2025):
@bakerboy448 commented on GitHub (Oct 5, 2025):
Going to go ahead and close this now.
@augustuen commented on GitHub (Jan 5, 2026):
Re-opening because some issues with the metadata server still remain:
(copied from our Discord server)
The metadata server is MOSTLY back!.