delightful-microphone-63906
01/09/2024, 3:37 PM[oathkeeper] {"audience":"application","error":{"message":"The requested resource could not be found"},"http_request":{"headers":{"accept-encoding":"gzip","user-agent":"Go-http-client/2.0"},"host":"oathkeeper.test-tls.svc.cluster.local:4456","method":"GET","path":"/health/ready","query":null,"remote":"172.31.6.205:9927","scheme":"https"},"http_response":{"status_code":503},"level":"error","msg":"An error occurred while handling a request","service_name":"ORY Oathkeeper","service_version":"v0.40.6","time":"2024-01-09T14:55:46.544664509Z"}
witty-holiday-65473
01/09/2024, 4:23 PMdelightful-microphone-63906
01/09/2024, 4:48 PM# curl <https://oathkeeper.test.svc.cluster.local:4456/health/alive>
{"status":"ok"}
# curl <https://oathkeeper.test.svc.cluster.local:4456/health/ready>
{"error":{"code":500,"status":"Internal Server Error","message":"The requested resource could not be found"}}
witty-holiday-65473
01/09/2024, 4:49 PMcurl --insecure ...
witty-holiday-65473
01/09/2024, 4:50 PMhttp
instead of https
delightful-microphone-63906
01/09/2024, 5:01 PM--insecure
gives the same output. I tried both with and without tls. When oathkeeper listens on tls, I get 500 rather than 503 response.witty-holiday-65473
01/09/2024, 5:02 PMdelightful-microphone-63906
01/09/2024, 5:08 PMwitty-holiday-65473
01/09/2024, 5:12 PMhttp
instead of https
Or just run this:
curl <http://oathkeeper.test.svc.cluster.local:4456/health/ready>
delightful-microphone-63906
01/10/2024, 9:28 AM# curl <http://oathkeeper.test.svc.cluster.local:4456/health/ready>
{"error":{"code":500,"status":"Internal Server Error","message":"The requested resource could not be found"}}
[oathkeeper] {"audience":"application","error":{"message":"The requested resource could not be found"},"http_request":{"headers":{"accept-encoding":"gzip","user-agent":"Go-http-client/1.1"},"host":"localhost:4456","method":"GET","path":"/health/ready","query":null,"remote":"[::1]:33966","scheme":"http"},"http_response":{"status_code":503},"level":"error","msg":"An error occurred while handling a request","service_name":"ORY Oathkeeper","service_version":"v0.40.6","time":"2024-01-10T09:15:32.165277395Z"}
Interesting. Curl returns 500 but the container logs show 503.