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
Empty response to test curl #8
Comments
Just out of curiosity, to do the request with Postman? |
As suggested here: https://github.com/cyrildiagne/ar-cutpaste/issues/26#issuecomment-625352279 |
Could you try increasing the RAM of Docker as mentioned here? https://github.com/cyrildiagne/ar-cutpaste/issues/26#issuecomment-625689672 |
i have the same with mac os , i change the settings of my docker to 4 core and more ram and works fine |
Thanks @cyrildiagne @sotospez |
Nice! @j1m-renwick can you confirm that works for you too? |
Works fine thanks @cyrildiagne |
@cyrildiagne yes that fixed the problem, thanks for your help :) |
When I start the docker image and run a GET curl request, I get the expected "Hello BASNet!" response, but when I try the POST test request mentioned in the readme, I only get an empty response:
Curl seems to upload and send the image, but there is no response - if I try sending a bad request like ""data=" I get a 400 error, so it looks like the endpoint is correct and the code is being executed...just not when I send an image to be processed.
The only thing I can think of at this point is that the processing is so extreme. that the Macbook Pro I'm running it on can't handle it before the flask request timeout is reached, but this is just a wild guess. Anything you can suggest/advise would be helpful. Thanks :)
The text was updated successfully, but these errors were encountered: