
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
- Relationship problem
When I UPDATE a document that has a relationship and I pass id and all the data of the relationship it works but if i CREATE a document then it says 401 user un...
- How many functions can I run simultaneou...
I want to konw, how many functions can I can simultaneously in appwrite cloud? I want to make a chat app where user sends text and text is processed using funct...
- Automatic chunking for large media does ...
Hi! Using https://github.com/appwrite/sdk-for-apple to upload images to Storage, it does not upload images larger than ~2mb. Error message: `Invalid document...
