Hello,
I have deployed a k3s cluster along with Traefik on the ec2 instance. I have a pingfederate application deployed and running without any issues. There is an ingress created for that. I’m unable to access the application using the ingress it complains with the following error.
Traefik version: 1.7.19
{"level":"debug","msg":"Upstream ResponseWriter of type *pipelining.writerWithoutCloseNotify does not implement http.CloseNotifier. Returning dummy channel.","time":"2021-01-06T12:22:47Z"}
{"level":"debug","msg":"'500 Internal Server Error' caused by: net/http: HTTP/1.x transport connection broken: malformed HTTP response \"\\x15\\x03\\x03\\x00\\x02\\x02P\"","time":"2021-01-06T12:22:47Z"}
{"level":"debug","msg":"vulcand/oxy/forward/http: Round trip: http://10.42.0.153:9999, code: 500, Length: 21, duration: 2.76265ms tls:version: 303, tls:resume:false, tls:csuite:c02f, tls:server:my-server.com","time":"2021-01-06T12:22:47Z"}
I did find a similar error here and configured the backend to be reachable in HTTPS by setting the ingress.kubernetes.io/protocol: https
One way to get this work is by setting the backend to HTTPS(as per the post). After setting the backend to HTTPS, I get the following error:
{"level":"debug","msg":"Upstream ResponseWriter of type *pipelining.writerWithoutCloseNotify does not implement http.CloseNotifier. Returning dummy channel.","time":"2021-01-06T15:15:36Z"}
{"level":"debug","msg":"'500 Internal Server Error' caused by: x509: cannot validate certificate for 10.42.0.153 because it doesn't contain any IP SANs","time":"2021-01-06T15:15:36Z"}
{"level":"debug","msg":"vulcand/oxy/forward/http: Round trip: https://10.42.0.153:9999, code: 500, Length: 21, duration: 5.626069ms tls:version: 303, tls:resume:false, tls:csuite:c02f, tls:server:my-server.com","time":"2021-01-06T15:15:36Z"}
To remediate this, I set
insecureSkipVerify=true
in traefik.toml
unfortunately, this gives me the first error which I was facing. I have spent quite some time on this and did not get any breakthrough. Any assistance will be appreciated.