exadel-inc / CompreFace

Leading free and open-source face recognition system
https://exadel.com/accelerator-showcase/compreface/
Apache License 2.0
5.71k stars 775 forks source link

Connection Error: No route to host: compreface-postgres-db #1086

Open Flamelsoft opened 1 year ago

Flamelsoft commented 1 year ago

Hello, I followed the instructions on how to deploy CompreFace_1.1.0, at the moment of executing 2 services do not work (compreface-admin, compreface-api). Apparently the error is that they cannot resolve the connection to the database. I leave the log that is shown.

I did not do any customization.

2023-06-10 22:54:12.769 ERROR 6 --- [ main] c.e.f.c.t.s.NotificationSenderService : Error during connection to Postgres Connection Error: No route to host: compreface-postgres-db/172.19.0.2:5432

pospielov commented 1 year ago

Could you run two commands: docker ps docker logs compreface-postgres-db This is a rare case that databases do not run.

pospynow commented 1 year ago

Hello, we also encountered this error in the image of a single container. How should we solve it?

pospielov commented 1 year ago

Could you send the exact error? It shouldn't be "No route to host: compreface-postgres-db" error, as in single container DB is located on "localhost" domain, not "compreface-postgres-db"