- 
                Notifications
    
You must be signed in to change notification settings  - Fork 206
 
Open
Labels
questionFurther information is requestedFurther information is requested
Description
This very simple example fails due to a TLS timeout with both the rustls backend as well as the native-tls:
let agent: ureq::Agent = ureq::Agent::config_builder()
    .timeout_connect(Some(Duration::from_secs(5)))
    .build()
    .into();
agent.get("https://google.com").call().unwrap();->
called `Result::unwrap()` on an `Err` value: Timeout(Connect)
I tried doing the same w/ reqwest via:
reqwest::blocking::Client::new()
    .get("https://google.com")
    .send()
    .unwrap();as well as w/ curl, and they both work.
Interestingly, if I send the request to https://httpbin.org it works, but most websites cause the request to time out.
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested