You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems we have weak health checks which easily bypass the docker-smoketest we have. This can also be seen in the codepipeline logs:
+ docker logs ooniapi-smoketest-20970
--
531 | INFO: Started server process [1]
532 | INFO: Waiting for application startup.
533 | INFO: Application startup complete.
534 | INFO: Uvicorn running on http://0.0.0.0:80 (Press CTRL+C to quit)
535 | (psycopg2.OperationalError) connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused
536 | Is the server running on that host and accepting TCP/IP connections?
537 | connection to server at "localhost" (::1), port 5432 failed: Cannot assign requested address
538 | Is the server running on that host and accepting TCP/IP connections?
539 |
540 | (Background on this error at: https://sqlalche.me/e/20/e3q8)
541 | INFO: 172.18.0.1:34152 - "GET /health HTTP/1.1" 200 OK
We should trandform these into real health check for the services. The key component missing here is passing the required environment variables.
The text was updated successfully, but these errors were encountered:
It seems we have weak health checks which easily bypass the
docker-smoketest
we have. This can also be seen in the codepipeline logs:We should trandform these into real health check for the services. The key component missing here is passing the required environment variables.
The text was updated successfully, but these errors were encountered: