Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Commit 5ebd428

Browse files
authored
fix https scheme being refused by tonic (#675)
1 parent 26cc5b2 commit 5ebd428

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqld/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ async fn make_rpc_client_config(config: &Cli) -> anyhow::Result<Option<RpcClient
398398
match config.primary_grpc_url {
399399
Some(ref url) => {
400400
let mut connector = HttpConnector::new();
401-
connector.enforce_http(true);
401+
connector.enforce_http(false);
402402
connector.set_nodelay(true);
403403
let tls_config = if config.primary_grpc_tls {
404404
Some(TlsConfig {

0 commit comments

Comments
 (0)