realm / realm-dart

Realm is a mobile database: a replacement for SQLite & ORMs.
Apache License 2.0
769 stars 86 forks source link

Handshake error in client #1807

Open sylvbravo opened 3 days ago

sylvbravo commented 3 days ago

What happened?

A bug happened! after creating a new project and adding realm as a package it throws error

Repro steps

flutter pub add realm

dart run realm install

Version

Flutter 3.24.4

What Atlas Services are you using?

-- select --

What type of application is this?

Flutter Application

Client OS and version

realm: ^20.0.0

Code snippets

No response

Stacktrace of the exception/crash you're getting

dart run realm install
Building package executable... (9.9s)
Built realm:realm.

HostedDependency: ^20.0.0
Directory: 'C:\Users\iketoke\AppData\Local\Pub\Cache\hosted\pub.dev\realm-20.0.0\windows\binary\windows'
Downloading Realm binaries for 20.0.0 to C:\Users\IKETOKE~1\AppData\Local\Temp\realm-binary-a74a4a8\windows.tar.gz
Unhandled exception:
HandshakeException: Handshake error in client (OS Error: 
        CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(../../third_party/boringssl/src/ssl/handshake.cc:393))
#0      _SecureFilterImpl._handshake (dart:io-patch/secure_socket_patch.dart:99:46)
#1      _SecureFilterImpl.handshake (dart:io-patch/secure_socket_patch.dart:143:25)
#2      _RawSecureSocket._secureHandshake (dart:io/secure_socket.dart:920:54)
#3      _RawSecureSocket._tryFilter (dart:io/secure_socket.dart:1049:19)
<asynchronous suspension>

Relevant log output

No response

sync-by-unito[bot] commented 3 days ago

➤ PM Bot commented:

Jira ticket: RDART-1110

Bohemiaking commented 3 days ago

same issue

dangchinh171 commented 2 days ago

same issue.

tdhoa commented 2 days ago

same issue.

quanggiau commented 2 days ago

same issue.