Summary
PR #229 rewrote ark_grpc::Client::connect() to construct the gRPC channel manually via
tonic::transport::Endpoint::from_shared(url).connect() instead of the generated ArkServiceClient::connect(url) static. The manual path does not configure TLS, so consumers hitting an https:// ASP fail.
Confirmed in v0.9.1 (also present on master HEAD). v0.9.0 was unaffected.
Reproduction
Any consumer of ark-grpc v0.9.1 with default features against an HTTPS Ark server:
let mut client = ark_grpc::Client::new("https://your-asp.example.com".into());
client.connect().await?; // fails with `tonic::transport::Error`, kind "transport error"
Reproduced against a locally developed arkade wallet on bitcoin mainnet, hitting (https://arkade.computer). Same wallet code on v0.9.0 connected fine
Summary
PR #229 rewrote
ark_grpc::Client::connect()to construct the gRPC channel manually viatonic::transport::Endpoint::from_shared(url).connect()instead of the generatedArkServiceClient::connect(url)static. The manual path does not configure TLS, so consumers hitting anhttps://ASP fail.Confirmed in v0.9.1 (also present on
masterHEAD). v0.9.0 was unaffected.Reproduction
Any consumer of
ark-grpcv0.9.1 with default features against an HTTPS Ark server:Reproduced against a locally developed arkade wallet on
bitcoinmainnet, hitting (https://arkade.computer). Same wallet code on v0.9.0 connected fine