<div dir="ltr"><div>Hello group,</div><div><br></div><div>(coss-post from keycloak-user Mailing List)</div><div><br></div><div>the undertow servlet-container is started pretty early during the startup of the</div><div>wildfly application server. However the initialization of the keycloak serverĀ </div><div>application might take a while to complete. Within this period requests that are</div><div>sent to the keycloak endpoints result in responses with HTTP Status Code 404.</div><div><br></div><div>Is it possible to configure undertow to return a HTTP Status Code 503 (Service Unvailable)</div><div>until the keycloak application startup has completed?</div><div><br></div><div>This would ease configuring load-balancers and to avoid showing a file not foundĀ </div><div>to users during server restarts.</div><div><br></div><div>Cheers,</div><div>Thomas</div></div>