Closed SinnoSong closed 9 months ago
@SinnoSong Lambda Web Adapter will send HTTP GET to "/" path to check if the web app is ready. You can either add such an endpoint or configure LWA to use TCP connect for a readiness check.
Adding an environment variable AWS_LWA_READINESS_CHECK_PROTOCOL=TCP
, this tells LWA to use TCP connect for readiness check.
@bnusunny Thank you. It works after I add the environment variable AWS_LWA_READINESS_CHECK_PROTOCOL
.
I have an endpoint
/equipment/equipment/v1 GET
in Spring Boot Application. I build this application to native image use GraalVM and run this native image on local matching is ok, but run on Lambda get "No mapping for GET /" error. My dockerFile:Lambda test event:
And here is logs: