Question: How to ignore tls error to connect upstream peer
Closed this issue · 4 comments
tianxiu2b2t commented
I want to ignore tls cert error to connect upstream
this error:
2025-07-02T14:34:13.348773Z ERROR pingora_proxy: Fail to proxy: Upstream ConnectionClosed context: Peer: addr: 127.0.0.1:8006, scheme: HTTPS,sni: localhost, cause: context: while reading response headers, bytes already read: 0, status: 502, tries: 1, retry: false, GET /, Host: 192.168.2.254:6188
how i configure?
this code:
event!(Level::INFO, "connecting to {addr:?}");
let peer = Box::new(HttpPeer::new(addr, tls, sni));
Ok(peer)
zonblade commented
I answer in your other question #655
hope it helps.
arisygdc commented
I don't know your client or server configuration, but I have experienced this error.
Pingora has not provided default, you have to select tls acceptor. hope this helps you @tianxiu2b2t .
pingora-core = {version = "0.5.0", features = ["openssl"]} // or boringssl, rusttls is experimental
github-actions commented
This question has been stale for a week. It will be closed in an additional day if not updated.
github-actions commented
This issue has been closed because it has been stalled with no activity.