Hiya,
We are looking into enabling health checks for our Service Framework containers. This works fine for most containers (either with or without HTTPS), except for containers serving up a web portal, which return a ‘404 Not Found’ response.
I’ve been testing with a wget call:
wget https://10.128.19.72:7777/health --no-check-certificate
The log shows the expected rerouting to the service and connection name:
Incoming 'https://10.128.19.72:7777/health' has been mapped to 'https://10.128.19.72:443/APP_PORTAL/APP_OUT/health'
server-ip:10.128.19.72 method:GET uri:/health query:- server-port:7777 client-ip:10.131.33.222 client-user-agent:Wget/1.21.2 client-referer:-
MediaType unresolved, set to octet stream, for website/health in WebSite/health
status-code:404 status-string:Not Found client-ip:10.131.33.222 method:GET uri:/health content-media-type:null time-taken:1
But that is not where the /health
endpoint lives, of course… Anyone know of a way to work around this problem?