SSL: error:1408F10B:SSL routines:ssl3_get_record:wrong version number) while SSL handshaking to upstream

Hey I have a service set up to hit https://api.statuspage.io with request-transformer plugin to pass in the apikey but I get this error

SSL_do_handshake() failed (SSL: error:1408F10B:SSL routines:ssl3_get_record:wrong version number) while SSL handshaking to upstream, client: 172.20.0.1, server: kong, request: "GET /v1/pages/mt3cgp6g4zq0/components/tnwcnz8bydyd HTTP/1.1"

the service port is 443 and protocol is https for the service

I also have proxy_ssl_server_name set to on in the nginx config

Any help is appreciated.

It seems like a protocol version mismatch between what Kong expects and what upstream expects.

Which TLS/SSL version is the upstream service expecting?

I get a 404 with an ExternalName service set to Datadog; is there a better way to debug this?

Maybe run Kong in debug mode to dump all the steps in its Service, Route, Plugin processing?

This sounds like a whole another issue. Please open another post. Let’s try not to hijack the original thread.