exadel-inc / exadel-inc/CompreFace

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

Open
#1,174 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
8.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

**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'
4. See error

**Expected behavior**

No warnings.

**Screenshots**

If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**

- OS: Ubuntu 20.04 Docker compose (latest)

**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.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the repeated GET /healthcheck 404 from the compreface-core container and inspect the Docker Compose health-check configuration. Trace the configured endpoint against the service behavior; done means the health check is valid and the repeated warnings no longer appear in the logs.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, docker-compose, flask, python
Domain
backend, devops, observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.