exadel-inc / CompreFace

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

Specific Image + Invalid API Key = API Hanging #556

Closed jakowenko closed 2 years ago

jakowenko commented 3 years ago

Thank you for this amazing project. I've encountered a weird issue and I'm not sure what is causing it.

Describe the bug Using the provided image along with an invalid API key causes the /api/v1/recognition/recognize endpoint to hang.

To Reproduce

  1. Download this image: lenna.png
  2. Pass image to/api/v1/recognition/recognize with an invalid API key

Expected behavior The expected output should be this.

{
    "message": "Service API key should be UUID",
    "code": 26
}

Additional context

Using another image with an incorrect API key produces the expected behavior. I can't figure out why this specific image makes the API hang, even if I save it as a jpg it still hangs.

pospielov commented 3 years ago

Thanks for reporting the issue. I'll add it to our backlog.

ksidikov commented 3 years ago

Hi there. I will be checking this out

pospielov commented 2 years ago

Fixed in 1.0.x (next release)