windows problem with boringssl
Describe the bug
Handshake exception from boringssl on windows
Steps to reproduce the behavior:
this is my typesense class:
`import 'package:typesense/typesense.dart';
final typesenseConfig = Configuration( 'xyz', nodes: {Node(Protocol.https, 'xyz', port: 443)}, connectionTimeout: const Duration(seconds: 5), );
Client get typeSenseClient => Client(typesenseConfig);`
it works on several platforms (tested on MacOS, Web, Android), but on Windows it gives a Handshake exception from boringssl
Expected behavior
I expect it to work like on other platforms
Additional context
[log] HandshakeException: Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(../../../flutter/third_party/boringssl/src/ssl/handshake.cc:298))
I have a LetsEncrypt certificate set on Typesense server and is working fine on everything, from postman to my flutter apps on web, mobile and macos, I'm only getting this error on Windows, and it won't load data
maybe it's my blame, but this code is working on all platforms except Windows (and Linux not tested). I'm using Firebase Firestore too, and I've seen that even Firebase has problems on Desktops (except MacOS), but I believe this problem comes from Typesense plugin since it happens in pages where I only call Typesense to load data
Hey @marcocatelli, I'm not sure if this can be fixed on our end. I looked up this issue and found this comment. Can you try these suggestions and let me know if any of these work for you?