Skip to content

/readiness_check occasionally returning 503 service unavailable #166

Open
@tvolkert

Description

@tvolkert

My app is restarting without context. Looking deeper into the logs, I see many requests for /readiness_check are returning 503, which seems to eventually cause the container to kill the app:

A 2019-08-10T02:04:44.874530055Z Waiting for termination, 1 seconds remaining. 
A 2019-08-10T02:04:44.809396670Z Sending SIGKILL to app. 
A 2019-08-10T02:04:44.805334192Z 50b2e7dca1284e0309c09ec3e19d2de195c2d4b5b84456ddeebf5324cbb654d8 
A 2019-08-10T02:04:44.738550379Z <13>Aug 10 02:04:44 vm_runtime_init: Aug 10 02:04:44 Pure compute version. Should skip _ah/start or stop. 
A 2019-08-10T02:04:44.731097521Z Sending SIGTERM to app. 
A 2019-08-10T02:04:44.729567774Z Aug 10 02:04:44 Pure compute version. Should skip _ah/start or stop. 
A 2019-08-10T02:04:44.677616932Z Triggering app shutdown handlers. 
A 2019-08-10T02:04:44.543Z GET 503 10 B 0 ms GoogleHC/1.0 /readiness_check GET 503 10 B 0 ms GoogleHC/1.0 

@jonasfj @dnfield

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions