Skip to content

Commit

Permalink
fix: adding accepting of invalid certs (#491)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaMilosa committed Jun 17, 2024
1 parent 9ffa97b commit 792748e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rs/ic-observability/sns-downloader/src/downloader_loop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ pub async fn run_downloader_loop(logger: Logger, cli: CliArgs, stop_signal: Rece
let interval = crossbeam::channel::tick(cli.poll_interval);

let sns_canister: SnsWasmCanister = IcAgentCanisterClient::from_anonymous(cli.nns_urls[0].clone()).unwrap().into();
let client = Client::builder().timeout(cli.registry_query_timeout).build().unwrap();
let client = Client::builder()
.timeout(cli.registry_query_timeout)
.danger_accept_invalid_certs(true)
.build()
.unwrap();

let mut current_hash: u64 = 0;
let limit: u64 = 100;
Expand Down

0 comments on commit 792748e

Please sign in to comment.