Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specific Image + Invalid API Key = API Hanging #556

Closed
jakowenko opened this issue Jun 29, 2021 · 3 comments
Closed

Specific Image + Invalid API Key = API Hanging #556

jakowenko opened this issue Jun 29, 2021 · 3 comments
Assignees
Labels
bug Something isn't working hacktoberfest Java This means that issue related to Java code

Comments

@jakowenko
Copy link

jakowenko commented Jun 29, 2021

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

  • Version: v0.5.1

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 pospielov added the bug Something isn't working label Jun 29, 2021
@pospielov
Copy link
Collaborator

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

jakowenko added a commit to jakowenko/double-take that referenced this issue Jun 30, 2021
@pospielov pospielov added hacktoberfest Java This means that issue related to Java code labels Sep 30, 2021
@ksidikov
Copy link
Contributor

ksidikov commented Oct 8, 2021

Hi there.
I will be checking this out

@pospielov
Copy link
Collaborator

Fixed in 1.0.x (next release)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest Java This means that issue related to Java code
Projects
None yet
Development

No branches or pull requests

3 participants