Appwrite version 1.3.7. On the very first api the login. We get the error. This only happens to some users, a low percentage.
I did try several fixes like overriding the https with a x509:
class MyHttpOverrides extends HttpOverrides{ @override HttpClient createHttpClient(SecurityContext? context){ return super.createHttpClient(context) ..badCertificateCallback = (X509Certificate cert, String host, int port)=> true; }
^ Did not work.
what error?
Looking at the code, I assume you have an invalid cert error. You can use client.setSelfSigned() then.
Sorry sems like photo did not upload.
HandshakeException
HandshakeException on some devices
Wondering why is it happening on some devices ?
It's hard to reproduce, fix
some devices don't get updates so their CA certificates are outdated
Thank you for the selfSigned tip, this is not easy to find in the docs.
I will give it a go.
And report back
[SOLVED] HandshakeException on some devices
Recommended threads
- Self-Hosted and Multi Region support
Hey Appwrite Team, As a test and to expand self-hosted capabilities even more, i was thinking of understanding and testing how to deploy a multi-region instanc...
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- Migration from Cloud to Self-Hosted not ...
Hello Appwrite Community, I've got the problem, that when I try to migrate my Appwrite Project from the cloud to my self-hosted Appwrite, that an API Key is mi...