Open
Description
I'm trying to use offloaded SSL traffic with ESI. Handler config:
require("ledge").set_handler_defaults({
upstream_host = "127.0.0.2",
upstream_port = 80,
advertise_ledge = false,
upstream_use_ssl = false,
})
While trying to use ESI I've got error:
[error] 4219#0: *69822327 [lua] processor_1_0.lua:461: esi_fetch_include(): ssl handshake failed: handshake failed, client: 127.0.0.3, server: test, request: "GET / HTTP/1.1", host: "test"
[error] 4219#0: *69822327 SSL_do_handshake() failed (SSL: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol), client: 127.0.0.3, server: test, request: "GET / HTTP/1.1", host: "test"
I found that ESI proccessor is trying to use ssl handshake even if config.upstream_use_ssl
is set to false
, so I already fixed that in code (see attachment) ;)
Metadata
Metadata
Assignees
Labels
No labels