Open HT154 opened 4 years ago
@reveller Could you take a look? It looks like the combination of :pp
& :ssl
goes something wrong. I tired some combinations with above settings (8443:ssl:pp:proto=http
).
What is the expected behavior of ProxyProtocol & TLS ? (I'm not sure if it's make sense or not)
1) curl -vs -k https://localhost:8443/ --http1.1 --haproxy-protocol
curl -vs -k https://localhost:8443/ --http1.1 --haproxy-protocol --no-alpn
curl -vs -k https://localhost:8443/ --http1.1
curl -vs -k https://localhost:8443/ --http1.1 --no-alpn
16:27:10 zues:~$ curl -vs -k https://controller.trafficserver.org --http1.1 --no-alpn
* Trying 72.167.225.157:443...
...
< HTTP/1.1 404 Not Found on Accelerator
ATS: 8.0.5 OpenSSL: 1.0.2r
Running Nginx on localhost, proxying TCP connections on 80/443 to 8080/8443 with PROXY protocol:
Working via cURL:
Not working via cURL with ALPN disabled:
Not working via Python
requests
:Working via Python
requests
after forcing ALPN:@masaori335 was able to reproduce this and track down that it was the
pp
in theserver_ports
config line that was triggering this behavior. Whenpp
was not specified, clients received successful responses even when not performing ALPN