Okay, so recently I found that the link https://api.cobinhood.com/v1/market/trading_pairs if fetched by reqwest (which uses hyper under the hood) throws an SSL error:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error {
kind: Io(Custom {
kind: Other, error: Ssl(ErrorStack([Error {
code: 336134278,
library: "SSL routines",
function: "SSL3_GET_SERVER_CERTIFICATE",
reason: "certificate verify failed",
file: "s3_clnt.c",
line: 1180
}])) }),
url: Some("https://api.cobinhood.com/v1/market/trading_pairs/") }', libcore/result.rs:945:5
This error might be related the following stackoverflow issue - here. However, I'm not too familiar with how and why this happens and how to approach solving, given that my browsers work fine. I have a good sucpicion that given that Hyper uses the Ubuntu native ssl library, this is not a Rust issue at all, but was hoping someone could advise me on how to fix it.