Skip to content

windows problem with boringssl #149

@marcocatelli

Description

@marcocatelli

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions