Cannot edit media provider with mTLS enabled

App version

Production

Issue description

I have successfully managed to create a media provider with an mTLS certificate, however it seems that editing is not possible - the error “Unable to get media provider version” will appear.

Device type

Phone

Media provider

Navidrome

Steps to reproduce

  1. Create a new media provider using mTLS.
  2. Verify the provider connection is working as expected.
  3. Go to Manage media providers → tap on your newly added provider → Edit.
  4. Click on ‘Update’. (No changes to the configuration are necessary to reproduce.)

Expected result: Config is saved.
Actual result: “Unable to get media provider version. Check the port value […]”

Additional information

Thank you for implementing mTLS support! This unlocks my use case for your awesome app.

This is mostly a problem because you cannot change all the settings on the media provider creation page (I discovered this when I wanted to enable caching the entire library).

I searched existing issues first

on

I understand that logs are mandatory

on

Log upload name / description

mTLS_cannot_edit

Can you confirm if you used the android keychain or imported a certificate ?

It’s from the Android keychain.

Edit: I have just confirmed on my end that the same does not happen with a certificate that has been directly imported.

Another thanks for mTLS support!

I can also confirm issues with using certs from the Android keychain: I also see Unable to get media provider version. When switching to importing a cert file directly, the issue goes away.

In my case, the provider was setup without mTLS initially.