-
Notifications
You must be signed in to change notification settings - Fork 278
Closed
Description
I have a Golang gRPC server daemon: https://github.com/btcsuite/btcwallet
And I created a Dart RPC client package for it (utility): https://github.com/stevenroose/dart-btcwallet-rpc
I'm trying to make them connect as follows (btcwallet generates a certificate file for localhost):
var certFile = new File("/home/steven/.btcwallet/rpc.cert");
var cert = await certFile.readAsBytes();
var rpcUri = Uri.parse("https://localhost:9090");
_grpcChannel = new ClientChannel(rpcUri.host, port: rpcUri.port,
options: new ChannelOptions.secure(certificate: rpcCertificate));
_grpcWalletService = new WalletServiceClient(_grpcChannel);
Calling any of the methods of _grpcWalletService
returns in the following error on the server while I can't catch any exceptions on the server.
Server.Serve failed to complete security handshake from "127.0.0.1:58620": EOF
Metadata
Metadata
Assignees
Labels
No labels