-
Notifications
You must be signed in to change notification settings - Fork 18
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
Fix TLS issues #484
Fix TLS issues #484
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files
|
@@ -45,7 +45,7 @@ bech32 = { version = "0.11.0", default-features = false, features = ["alloc"] } | |||
hex = { version = "0.4.3" } | |||
ripemd = { version = "0.1.3" } | |||
tokio = { workspace = true, features = ["full"] } | |||
tonic = { workspace = true, features = ["tls", "tls-roots"] } | |||
tonic = { workspace = true, features = ["tls"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reallt removing the tls roots here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works without so not sure why we should enable it.
@@ -2,7 +2,8 @@ use cosmrs::proto::cosmos::base::tendermint::v1beta1::{ | |||
service_client::ServiceClient, GetNodeInfoRequest, | |||
}; | |||
use cw_orch_core::{environment::ChainInfoOwned, log::connectivity_target}; | |||
use tonic::transport::{Channel, ClientTlsConfig}; | |||
use http::Uri; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you tried this new code with http://
prefixed URIs ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, see the tests in query_only.rs
. There's a http and https test there.
Fixes the TLS related issues that we've ran into for https URLs