[Android] Self-hosted instance discovery fails with user-installed CA (CERTIFICATE_VERIFY_FAILED)

(#4126) Bug Open: Confirmed Priority: P2 mobile self-hosting

Thread

Comment by Wolfae
Wolfae OP1 vote Still happening
Yes, the issue is still reproducible as of 25 October 2026, using Android version 2026.10.100-beta.11. I reproduced the problem again at 13:29 GMT. The Android application still fails during discovery of my self-hosted instance with the following error:
DioExceptionType.unknown
DioException [unknown]: null
HandshakeException: Handshake error in client

CERTIFICATE_VERIFY_FAILED:
self signed certificate in certificate chain
(handshake.cc:320)

InstanceDiscoveryService.connectToEndpoint
(instance_discovery_service.dart:58)
My instance uses a private certificate authority installed in Android's user certificate store. As previously reported, the discovery endpoint is accessible through Brave on the same Android device, but Fluxer's Android application rejects the TLS connection before completing instance discovery. The self-hosted deployment is operational, with all 25 running Docker containers reporting healthy status. It has not yet been upgraded to the 24 October server release, so this reproduction isolates the newer Android client against the existing working server. Current status: Still reproducible on beta 11. This appears consistent with the Android application's certificate trust configuration not recognising the user-installed CA.