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
SSL not supported in http-proxy #96
Comments
Did you enable ssl feature? |
How to enable the |
See how to choose features in Cargo.toml https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#choosing-features We have free separate SSL related features: |
Thank you, I solved my question by change |
See https://github.com/actix/actix-web/blob/master/examples/client.rs for how to use SSL with modern Actix |
When I run the http-proxy example, I used
curl http://127.0.0.1:8080/streaming
, I got an error message:ERROR 2019-03-28T09:34:05Z: actix_web::pipeline: Error occurred during request handling, status: 502 Bad Gateway Failed to connect to host: SSL is not supported
INFO 2019-03-28T09:34:05Z: actix_web::middleware::logger: 127.0.0.1:52863 "GET /streaming HTTP/1.1" 502 0 "-" "curl/7.54.0" 0.001003
Is there something I missing?
The text was updated successfully, but these errors were encountered: