New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lidarr widget not working #180
Comments
Is your Lidarr instance, perhaps, on a sub-path such as https://subdomain.domain.nl/lidarr? |
No it Is not |
Is there anything in the log output from the homepage container? |
The services proxy is reporting that the API key is unauthorized, it forwards the API response 1:1, so that's the actual error returned by the API. I'd check and make sure your key is correct. |
I double checked the API. It is correct. I'll try to generate another API key and see if that works |
I changed the API and still the same results. @JazzFisch this is what I'm only getting from the logs from Homepage |
I can confirm that the Lidarr widget chokes on large libraries. Perhaps this is in play for this issue. |
Ohhh, it very well could be. How large is your library? This is also a problem with the Radarr and Sonarr integrations. |
Mine is failing the same way for Lidarr and Readarr. Seeing this in the container logs.
|
My Lidarr is failling also:
|
Interesting. Also, ever so slightly jealous of the size of your libraries. 😁 |
I have over 1 TB shows on Sonarr and that widget is working without problems. On Lidarr I got like maybe max 5-10 GB music. So something else is going on |
I just looked at Lidarr's source code and they don't have a way to get summary data. I have an idea for a workaround that doesn't proxy the entire Lidarr response body to the client that runs in homepage server side. |
Could the 4MB limit be removed per this: https://nextjs.org/docs/messages/api-routes-response-size-limit. It's not like the API requests are going across the internet in most cases. |
associated: gethomepage#180 associated: gethomepage#194
Just updated to the new release (0.3.55) and large libraries still aren't working. From container logs:
This is similar to what the browser console was doing before the change, makes me think the json is still being truncated. |
I think if this were a data truncation issue, the JSON.parse inside of asJson would have failed. I'll try adding a little more null coalescing logic. |
Looks like Ben just submitted the almost exact same fix I was working on. 😁 |
Lidarr and Readarr are working now with 0.3.57. Nice work. |
I can confirm that Lidarr also works on my side. Thanks guy's! |
Thanks all for getting this one ironed out :) |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. |
Lidarr widget is not working for me. Am I missing something? I don't see instructions for Lidarr.
If I uncomment the "key" section, it loads. But with API Error.
with API key included
The text was updated successfully, but these errors were encountered: