Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"the handshake failed" error with v0.0.57 #179

Open
inaltoasinistra opened this issue Nov 28, 2022 · 3 comments
Open

"the handshake failed" error with v0.0.57 #179

inaltoasinistra opened this issue Nov 28, 2022 · 3 comments

Comments

@inaltoasinistra
Copy link
Member

Hello,
I'm updating Gdk from versione 0.0.55 to 0.0.57 in our unreleased wallet.

I receive the error

{ message: "the handshake failed: Interrupted system call (os error 4)", error: "id_unknown" }

on Gdk calls GA_get_fee_estimates and GA_send_transaction. The methods interface was not changed from v0.0.55.

Have you already had this problem? Thanks

@jjyy21
Copy link

jjyy21 commented Oct 19, 2023

Was this ever solved?

@jgriffiths
Copy link
Contributor

Hi, we haven't seen this problem before. If you can reproduce it with a log we can take a look. To enable logging, set "log_level" to "debug" in the JSON passed to GA_init.

@jjyy21
Copy link

jjyy21 commented Oct 22, 2023

Here are the additional lines I see when setting log_level to debug.

W/gdk_electrum( 3454): build client failed ClientError(SslHandshakeError(Failure(MidHandshakeSslStream { stream: SslStream { stream: TcpStream { addr: 10.0.2.16:35988, peer: 35.201.74.156:700, fd: 162 }, ssl: Ssl { state: "SSLv3/TLS write client hello", verify_result: X509VerifyResult { code: 0, error: "ok" } } }, error: Error { code: ErrorCode(5), cause: Some(Io(Os { code: 4, kind: Interrupted, message: "Interrupted system call" })) } })))
I/gdk_rust( 3454): GDKRUST_call_session connect output "Ok(Null)"
I/flutter ( 3454): 1697947759911 [D] TIME: 2023-10-21T23:09:19.911741 Aqua: [BitcoinProvider] Login to electrum-mainnet
W/gdk_electrum( 3454): build client failed ClientError(SslHandshakeError(Failure(MidHandshakeSslStream { stream: SslStream { stream: TcpStream { addr: 10.0.2.16:44438, peer: 35.201.74.156:995, fd: 160 }, ssl: Ssl { state: "SSLv3/TLS write client hello", verify_result: X509VerifyResult { code: 0, error: "ok" } } }, error: Error { code: ErrorCode(5), cause: Some(Io(Os { code: 4, kind: Interrupted, message: "Interrupted system call" })) } })))
I/gdk_rust( 3454): GDKRUST_call_session connect output "Ok(Null)"

I am on gdk 0.0.65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants