try this.. export http_proxy="http://172.24.0.8:80/" export https_proxy="http://172.24.0.8:80/"
curl -vvv https://c23-ngxorg-01/assets/sintel/vod/250kbit.m3u8 On Tue, Dec 24, 2019 at 11:41 AM ezko <[email protected]> wrote: > > Hi, > we are use ATS 8.0.5 as forward proxy. > it works fine with HTTP , but fails with Proxy CONNECT aborted for HTTPS. > what are we missing ? > Thanks, > erez > > > using exports for curl: > export http_proxy="http://172.24.0.8:80/" > export https_proxy="https://172.24.0.8:443/" > > curl -vvv https://c23-ngxorg-01/assets/sintel/vod/250kbit.m3u8 > > * About to connect() to proxy 172.24.0.8 port 443 (#0) > * Trying 172.24.0.8... > * Connected to 172.24.0.8 (172.24.0.8) port 443 (#0) > * Establish HTTP proxy tunnel to c23-ngxorg-01:443 > > CONNECT c23-ngxorg-01:443 HTTP/1.1 > > Host: c23-ngxorg-01:443 > > User-Agent: curl/7.29.0 > > Proxy-Connection: Keep-Alive > > > * Proxy CONNECT aborted > * Closing connection 0 > curl: (56) Proxy CONNECT aborted > > _____________________________________________________________________ > _____________________________________________________________________ > > for HTTP , it works as expected: > > curl -vvv http://c23-ngxorg-01/assets/sintel/vod/250kbit.m3u8 > > * About to connect() to proxy 172.24.0.8 port 80 (#0) > * Trying 172.24.0.8... > * Connected to 172.24.0.8 (172.24.0.8) port 80 (#0) > > GET http://c23-ngxorg-01/assets/sintel/vod/250kbit.m3u8 HTTP/1.1 > > User-Agent: curl/7.29.0 > > Host: c23-ngxorg-01 > > Accept: */* > > Proxy-Connection: Keep-Alive > > > < HTTP/1.1 200 OK > < Server: ATS/8.0.5 > < Date: Tue, 24 Dec 2019 17:34:51 GMT > < Content-Type: application/vnd.apple.mpegurl > < Content-Length: 2993 > < Last-Modified: Sun, 01 Dec 2019 17:44:00 GMT > < ETag: "5de3fbe0-bb1" > < Accept-Ranges: bytes > < Age: 0 > < Proxy-Connection: keep-alive > < Via: http/1.1 c23-atmid-01 (ApacheTrafficServer/8.0.5 [uScMsSfWpSeN:t cCMp > sS]) > < > > > > > -- > Sent from: http://apache-traffic-server.24303.n7.nabble.com/
