When I set up Navidrome (subsonic) with a Basic Auth proxy, the album art and artist images aren’t loading.
Within my proxy network, I get an error saying the Basic Auth header is attached twice to the request, which isn’t allowed. Therefore, the HTTP request is terminated prematurely.
The cover works in navidrome, and the request getAlbumInfo2.view also returns working URLs.
I’ve now booted a man-in-the-middle proxy (mitmproxy/mitmproxy 12.1.2) in my local network, and it actually records traffic in the path /rest/getCoverArt.view with two Authorization headers (both with the same username/password). The paths /search3.view/ or /ping/ only have one header.
Hello, following as I am having this exact same issue. I am trying the same thing you are, and album art doesn’t show up with basic_authorization set (Navidrome), but does with X-Sym-Key set as a custom header and not basic auith.
But ironically, when passing a custom header (X-Sym-Key) only, it fails to play the music because it doesn’t attach it to those headers to the stream, but can retrieve the art, because it doesn’t collide with the authorization header.
If you attach both the custom header and the basic authorization, the music plays, but no album art.
OP Did you ever fix this? I’ve spent a few hours tweaking my configs and found it to not be a reverse proxy issue.
When I had the problem with the basic auth proxy, I thought, “Just enter it as a custom header instead of the proxy config.” But then I suddenly had problems with the stream.
I’d rather use the stream, but no cover art.
Funny side note: If you set the proxy configuration and the custom header, the auth header appears three times on the album cover request.
I tested it against the standard Navidrome setup from the Navidrome website. Very interesting.
Of course, I can’t rule out the possibility that it’s somehow related to my setup; I’m working on debugging it now and then.
It was both to be honest, but I was already much of a jerk with logs, didn’t feel like wasting your time further lmao (idk hopefully I won’t repeat but might)