exadel-inc / CompreFace

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

compreface-core[987]: {"severity": "WARNING", "message": "404 Not Found: #1174

Open lee-costa opened 1 year ago

lee-costa commented 1 year ago

Describe the bug

            compreface-core[987]: {"severity": "WARNING", "message": "404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.", "request": {"method": "GET", "path": "/healthcheck", "filename": "", "api_key": "", "remote_addr": "127.0.0.1"}, "logger": "root", "module": "error_handling", "traceback": "Traceback (most recent call last):\n File \"/usr/local/lib/python3.7/site-packages/flask/app.py\", line 1950, in full_dispatch_request\n rv = self.dispatch_request()\n File \"/usr/local/lib/python3.7/site-packages/flask/app.py\", line 1926, in dispatch_request\n self.raise_routing_exception(req)\n File \"/usr/local/lib/python3.7/site-packages/flask/app.py\", line 1908, in raise_routing_exception\n raise request.routing_exception\n File \"/usr/local/lib/python3.7/site-packages/flask/ctx.py\", line 350, in match_request\n result = self.url_adapter.match(return_rule=True)\n File \"/usr/local/lib/python3.7/site-packages/werkzeug/routing.py\", line 1945, in match\n raise NotFound()\nwerkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.\n", "build_version": "dev"}

To Reproduce

Steps to reproduce the behavior:

  1. Go to '.logs'
  2. See error

Expected behavior

No warnings.

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Logs

Run those commands and attach result to the ticket:

docker ps

            7d8b1e0c9341   jakowenko/double-take                    "/bin/bash ./entrypo…"   20 hours ago   Up 20 hours               0.0.0.0:3000->3000/tcp, :::3000->3000/tcp                                                                                                             double-take
            e6698d219d6b   exadel/compreface-fe:1.1.0               "/docker-entrypoint.…"   20 hours ago   Up 20 hours               0.0.0.0:8000->80/tcp, :::8000->80/tcp                                                                                                                 compreface-ui
            bcae55d778e1   exadel/compreface-admin:1.1.0            "sh -c 'java $ADMIN_…"   20 hours ago   Up 20 hours                                                                                                                                                                     compreface-admin
            2b4f8b1259a0   exadel/compreface-api:1.1.0              "sh -c 'java $API_JA…"   20 hours ago   Up 20 hours                                                                                                                                                                     compreface-api
            32044a67d736   exadel/compreface-postgres-db:1.1.0      "docker-entrypoint.s…"   20 hours ago   Up 20 hours               5432/tcp                                                                                                                                              compreface-postgres-db
            67219503b587   exadel/compreface-core:1.1.0             "uwsgi --ini uwsgi.i…"   20 hours ago   Up 20 hours (unhealthy)   3000/tcp                                                                                                                                              compreface-core
            38de0dc6e4dd   ghcr.io/blakeblackshear/frigate:stable   "/init"                  21 hours ago   Up 20 hours               0.0.0.0:1935->1935/tcp, :::1935->1935/tcp, 0.0.0.0:5000->5000/tcp, :::5000->5000/tcp, 0.0.0.0:8554->8554/tcp, :::8554->8554/tcp, 8555/tcp, 8555/udp   frigate

Additional context

I keep seeing these warnings in the logs every few seconds and was wondering what is causing it.

lee-costa commented 1 year ago

I believe it to be related to my Doubletake instance being on port 3000 which clashes with the healthcheck port.