CompreFace icon indicating copy to clipboard operation
CompreFace copied to clipboard

Unable to open Application

Open nimeshgarg opened this issue 1 year ago • 6 comments

The following error shows open trying to open application

502 Bad Gateway

502 Bad Gateway


nginx

Steps to reproduce the behavior:

  1. Go to https://compreface-ytwodnusoa-em.a.run.app/
  2. Create user/Login
  3. Error message show whenever any application is tried to open

Screenshots

If applicable, add screenshots to help explain your problem. image

nimeshgarg avatar Mar 01 '23 03:03 nimeshgarg

Could you run those commands and attach the result to the ticket? docker ps docker-compose logs

pospielov avatar Mar 06 '23 15:03 pospielov

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 avatar Apr 13 '23 09:04 kigorw

@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

pospielov avatar Apr 21 '23 14:04 pospielov

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

marq24 avatar Apr 23 '23 09:04 marq24

same problem here

jsapede avatar Jul 29 '23 08:07 jsapede

@jsapede Could you run those commands and attach the result here? docker ps docker-compose logs

pospielov avatar Aug 01 '23 16:08 pospielov