CompreFace
CompreFace copied to clipboard
Unable to open Application
The following error shows open trying to open application
502 Bad Gateway
Steps to reproduce the behavior:
- Go to https://compreface-ytwodnusoa-em.a.run.app/
- Create user/Login
- Error message show whenever any application is tried to open
Screenshots
If applicable, add screenshots to help explain your problem.
Could you run those commands and attach the result to the ticket?
docker ps
docker-compose logs
Similar issue compreface-ui | 2023/04/13 09:54:32 [error] 64#64: *81 connect() failed (111: Connection refused) while connecting to upstream, client: 172.18.0.1, server: ui, request: "GET /api/v1/consistence/status HTTP/1.1", upstream: "http://172.18.0.4:8080/api/v1/consistence/status", host: "127.0.0.1:8000", referrer: "http://127.0.0.1:8000/application?app=00000000-0000-0000-0000-000000000001"
@kigorw, I can't understand the problem from your log
Could you run those commands and attach the result to the ticket?
docker ps
docker-compose logs
I just run into the same issue - in my case I am are running my postgres on a different port (in the .env) - so in order to solve my issue I need to insert an appropriate port mapping into my docker-compose.yml (remove the old containers) after you altered the compose file...
compreface-postgres-db:
image: ${registry}compreface-postgres-db:${POSTGRES_VERSION}
restart: always
container_name: "compreface-postgres-db"
ports:
- ${postgres_port}:5432
environment:
- POSTGRES_USER=${postgres_username}
- POSTGRES_PASSWORD=${postgres_password}
- POSTGRES_DB=${postgres_db}
volumes:
- postgres-data:/var/lib/postgresql/data
same problem here
@jsapede Could you run those commands and attach the result here? docker ps docker-compose logs