I think it's better to always load proxy from the config and do not force it via code: https://github.com/tabledog/tdog-cli/blob/master/crates/tdog_core/src/providers/stripe/watch.rs#L90
I had tcp connect error error no matter what I do and it was ambiguous why it was happening. Turns out proxy was enabled in debug mode even if it's disabled in config.
HTTP request failed: Err(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.stripe.com")), port: None, path: "/v1/account", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })) })
I think it's better to always load proxy from the config and do not force it via code: https://github.com/tabledog/tdog-cli/blob/master/crates/tdog_core/src/providers/stripe/watch.rs#L90 I had
tcp connect error
error no matter what I do and it was ambiguous why it was happening. Turns out proxy was enabled in debug mode even if it's disabled in config.HTTP request failed: Err(reqwest::Error { kind: Request, url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("api.stripe.com")), port: None, path: "/v1/account", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 61, kind: ConnectionRefused, message: "Connection refused" })) })