vishalxl / nostr_console

Nostr console is an open-source twitter-like social network, direct chat app and group chat all bundled into one program. Built on the decentralized Nostr protocol.
GNU Affero General Public License v3.0
441 stars 33 forks source link

Unhandled Exception / Handshake Exception : `Handshake error in client` HANDSHAKE_FAILURE_ON_CLIENT_HELLO #78

Closed jnmclarty closed 7 months ago

jnmclarty commented 1 year ago

Hi Folks, I'm getting the following error, running the latest release on Windows.

Waiting for user posts to come in.....Unhandled exception:
HandshakeException: Handshake error in client (OS Error:
        SSLV3_ALERT_HANDSHAKE_FAILURE(../../third_party/boringssl/src/ssl/tls_record.cc:594)
        HANDSHAKE_FAILURE_ON_CLIENT_HELLO(../../third_party/boringssl/src/ssl/handshake.cc:644))
#0      _SecureFilterImpl._handshake (dart:io-patch/secure_socket_patch.dart:99)
#1      _SecureFilterImpl.handshake (dart:io-patch/secure_socket_patch.dart:142)
#2      _RawSecureSocket._secureHandshake (dart:io/secure_socket.dart:911)
#3      _RawSecureSocket._tryFilter (dart:io/secure_socket.dart:1040)
<asynchronous suspension>

Does anybody know how to fix?

jnmclarty commented 1 year ago

@vishalxl I'm happy to help troubleshoot, or supply debugging information, if there is more information I could add. I'm a dev, but not familiar with Dart or SSL / TLS issues.

zapphyre commented 1 year ago

confirmed on Arch.

vishalxl commented 1 year ago

Similar error in network handshake reported/seen here

sgon00 commented 1 year ago

confirmed on Debian.

twofaktor commented 1 year ago

Same issue on Raspbian OS lite arm64

Waiting for user posts to come in.....Unhandled exception:
HandshakeException: Handshake error in client (OS Error:
        SSLV3_ALERT_HANDSHAKE_FAILURE(tls_record.cc:594)
        HANDSHAKE_FAILURE_ON_CLIENT_HELLO(handshake.cc:644))
#0      _SecureFilterImpl._handshake (dart:io-patch/secure_socket_patch.dart:99)
#1      _SecureFilterImpl.handshake (dart:io-patch/secure_socket_patch.dart:142)
#2      _RawSecureSocket._secureHandshake (dart:io/secure_socket.dart:911)
#3      _RawSecureSocket._closeHandler (dart:io/secure_socket.dart:904)
#4      _RawSecureSocket._eventDispatcher (dart:io/secure_socket.dart:847)
#5      _RootZone.runUnaryGuarded (dart:async/zone.dart:1586)
#6      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:339)
#7      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:271)
#8      _SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:774)
#9      _StreamController._add (dart:async/stream_controller.dart:648)
#10     _StreamController.add (dart:async/stream_controller.dart:596)
#11     new _RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1856)
#12     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:1315)
#13     _microtaskLoop (dart:async/schedule_microtask.dart:40)
#14     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
#15     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:122)
#16     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:193)
rf-peixoto commented 1 year ago

Same on Fedora.

Waiting for user posts to come in.....Unhandled exception:
HandshakeException: Handshake error in client (OS Error: 
    SSLV3_ALERT_HANDSHAKE_FAILURE(tls_record.cc:594)
    HANDSHAKE_FAILURE_ON_CLIENT_HELLO(handshake.cc:644))
#0      _SecureFilterImpl._handshake (dart:io-patch/secure_socket_patch.dart:99)
#1      _SecureFilterImpl.handshake (dart:io-patch/secure_socket_patch.dart:142)
#2      _RawSecureSocket._secureHandshake (dart:io/secure_socket.dart:911)
#3      _RawSecureSocket._tryFilter (dart:io/secure_socket.dart:1040)
umop3plsdn commented 1 year ago

77 is the same

vishalxl commented 7 months ago

Not seen in windows as of now. Closing.