-
Notifications
You must be signed in to change notification settings - Fork 6
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
Image upload failed #6
Comments
Hi, |
Server system version Centos 7.9 kernel version 3.10.0-1160. el7.x86_ sixty-four
thanks |
Found an error in nginx Attempt local access to pims, curl http://172.19.0.9:5000 Return {"detail": "Method Not Allowed"}, curl http://172.19.0.9:5000/upload?cytomine=http://core.local , return {"detail": "Method Not Allowed"} Do you have any troubleshooting suggestions |
The nginx error seems to be an issue with containers IP Addresses. Could you try to restart your Cytomine instance?
If the problem persists, could you please try to debug the dns resolutions?
Hope this helps 🤓 |
Hello, I have modified the hosts files of the internal core and nginx of the container. Executing the ping command returns the IP address of the domain name mapping in the hosts file. By executing the dig upload.local command, I have returned an NXDOMAIN response, which means that the domain name cannot be resolved in the local DNS. I plan to access in the intranet environment. For Domain Name System, it seems useless to modify the local hosts file. What other solutions are recommended? Thank you! |
I'm having the same issue. File upload works fine when the server is run locally but when it's distant I get an error at the end of the file upload. Core is returning 2 exceptions in the console, A json parser exception and a nullpointer:
I dunno if it's related. here are the results for the DNS resolutions:
|
Hello folks, right now Cytomine and the final client need to resolve the URLs defined in the
In other words, in your LAN, those URLs must resolve to the IP of the machine running Cytomine. That must be true from within the containers and for the end-user browsing those URLs. Hope this helps. |
Thanks for the help but I believe I've already set the correct values, it still doesn't explain why the upload is working locally but not remotely. I get an HTTP 413 when used remotely. I tried to change the nginx upload size but it didn't work. The file uploads to the server but then when it's finished uploading this error pop-out. Is there another way to upload files to Cytomine other than the web UI? By mounting a volume onto the pods for example? Thanks! |
This seems to be a DNS problem.
Your previous comment shows no
No, Cytomine needs to process the image before you can work with it. The only way to have import images into Cytomine is to upload them trough the web UI. Hope this helps 🤞 |
Image upload failed
http://cytomine.local/api/imageserver/format.json(Return 500)
http://upload.cytomine.local/upload?cytomine=http://cytomine.local&idStorage=51&idProject=(Return 404)
Do you have any good troubleshooting suggestions
The text was updated successfully, but these errors were encountered: