Reproduction steps
Install a private CA on Android; open the self-hosted discovery endpoint successfully in Brave; enter the same HTTPS hostname into Fluxer's Android instance switcher; press Connect; observe the failure.
Expected behaviour
Fluxer should securely recognise a CA explicitly trusted by the user, while maintaining certificate-chain and hostname verification.
Actual behaviour
Instance discovery fails before login. The app displays a generic connection error, while ADB confirms CERTIFICATE_VERIFY_FAILED.
Build information
2026.10.100-beta.8
Platform
Android, Self-hosting
Evidence
DioException [unknown]: null
Error: HandshakeException: Handshake error in client (OS Error:
CERTIFICATE_VERIFY_FAILED: self signed certificate in certificate chain(handshake.cc:320))
StackTrace:
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:598)
#1 InstanceDiscoveryService.connectToEndpoint (package:fluxer_app/core/instance/instance_discovery_service.dart:58)
#2 ActiveInstance.connectToEndpoint (package:fluxer_app/core/providers/active_instance_provider.dart:43)
#3 InstanceSelector.connectToUrl (package:fluxer_app/features/auth/providers/instance_selector_provider.dart:255)
4 comments
Comment by mesub
Comment by Wolfae
Comment by Wolfae
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:Comment by Wolfae
- Android client:
- Device: Samsung Galaxy S25 Ultra
- Android version: 17
- Server: Freshly updated Fluxer self-hosted deployment (5 November 2026 Compose release)
- Instance:
- TLS: Private CA, installed and trusted by Android's user certificate store
Observed behaviour: The Android application now displays a different frontend error:2026.11.100-beta.4https://(LAN URL)Failed to reach https://(LAN URL)/api/.well-known/fluxer (unknown)However, ADB Logcat reveals that the underlying failure is unchanged:InstanceDiscoveryService._fetchWellKnownatinstance_discovery_service.dart:96. Conclusion: Despite updating both the server and Android application, the original certificate verification failure remains reproducible. The frontend error presentation has changed, but the underlying Flutter/Dart TLS handshake failure has not. This appears consistent with the original report concerning certificate trust for privately hosted instances. I can provide additional ADB diagnostics if useful.