jupyterhub/configurable-http-proxy

TLSv1_3 not working

suryag10 opened this issue · 1 comments

Hi,
I am trying to use chp 4.2.1(node version v14.14.0) with ssl-protocol version TLSv1_3. I am getting the following error.
TypeError: Unknown method: TLSv1_3_method
at new SecureContext (node:_tls_common:88:16)
at Object.createSecureContext (node:_tls_common:192:13)
at Server.setSecureContext (node:_tls_wrap:1335:27)
at Server (node:_tls_wrap:1191:8)
at new Server (node:https:74:3)
at Object.createServer (node:https:99:10)
at new ConfigurableProxy (/opt/cjup/conda/lib/node_modules/configurable-http-proxy/lib/configproxy.js:223:32)
at Object. (/opt/cjup/conda/lib/node_modules/configurable-http-proxy/bin/configurable-http-proxy:333:13)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10) {
code: 'ERR_TLS_INVALID_PROTOCOL_METHOD'
}

Does chp support TLSv1_3?

I think so, but it's not something explicitly managed by CHP directly - but by the tls library part of node as I understand it.

See #287 for example. I'll go ahead and close this issue as it isn't having a clear action point and relate to discussions already had in referenced issue and what it in turn reference in its comments.