Authorization Headers are send to the primary connection but not to the secondary

Issue description:

Hi!

I notice that when Authorization Headers are send to the primary connection but not to the second. So when I have my local as primary and external (which needs Auth Headers), I cannot use the external connection.

Logs:

Upload description: Akasiek

Additional information:

Reproduction steps:

When adding new connection, add a secondary connection that needs Authorization Header. Add Authorization Header and be sure that the primary connection is inaccessible. This will not send Headers to the secondary connection but it will send to the primary.

Media provider:

Subsonic

Screenshots:

This is not possible. What is your real issue ?

In the logs you are trying to connect to LMS with invalid API Keys.

What do you mean “not possible”?

When setting my external hostname as primary connection and adding the Auth Header the connection is tested correctly.

But when I set primary connection to my local IP (which is inaccessible) and set my secondary connection to the external hostname. Also with Auth Header. Then the testing fails.

This looks like the Auth Headers are only passed to the primary connection and not the secondary.

Again that’s not what happens. When you edit the host the primary connection needs to be active.

If you want to bypass the checks you can triple click the provider logo at the top.

OK. Thanks for letting me know about it. I probably could have read it somewhere. Sorry for wasting your time.