Open
Description
Hello,
I'm using Envoy version 1.34.0 with the example configuration provided at:
https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/dynamic_forward_proxy_filter
I started Envoy as follows:
./envoy-contrib-1.34.0-linux-x86_64 -c envoy.yaml -l debug
Afterward, I tested it with curl. While HTTP requests succeed, HTTPS requests fail as shown below. The issue occurs with domains other than Google as well. Could someone please assist?
HTTP request (successful):
curl -s -v --proxy http://127.0.0.1:10000 http://google.com
HTTPS request (fails):
curl -s -v --proxy http://127.0.0.1:10000 https://www.google.com
* Trying 127.0.0.1:10000...
* Connected to 127.0.0.1 (127.0.0.1) port 10000
* CONNECT tunnel: HTTP/1.1 negotiated
* allocate connect buffer
* Establish HTTP proxy tunnel to www.google.com:443
> CONNECT www.google.com:443 HTTP/1.1
> Host: www.google.com:443
> User-Agent: curl/8.5.0
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 404 Not Found
< date: Fri, 25 Apr 2025 02:09:51 GMT
< server: envoy
< connection: close
< content-length: 0
<
* CONNECT tunnel failed, response 404
* Closing connection