-
Notifications
You must be signed in to change notification settings - Fork 41
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
Uploading errors #15
Comments
Ignoring the odd These sorts of issues should be addressed when we get the new UI live (but its still in the dev branch) which removes the need for nginx, it is also much nicer to use. |
Thanks Alex. The samples that i try to upload are not so large. I have the same issue with .exe or .xls files. On NGINX:
|
Awesome so now we are back to the error I was confused about before, which is nginx trying to open a file path rather than doing proxy pass through: |
I don't modify NGINX conf. The NGINX conf, from install.sh process: root /var/www/snake-skin; |
Ah yeah, I would hazard a guess you are hitting this issue: #8? Again, this solution is resolved in the new Snake Skin, it is just not ready to go live yet. So either of these should work: #8 (comment) This is due to lack of foresight in the install scripts on my behalf, apologies for the inconvenience. This is fixed in the docker images but not the system based install. |
Literally working on it now, so should not be too long :p |
I'have some problems during the upload step of samples.
I have installed Snake on Ubuntu Server 18.04.
snake and snake-pit services are working correctly.
When i try to upload a sample:
On NGINX error log:
2019/12/18 13:48:42 [error] 1394#1394: *4 open() "/var/www/snake-skin/api/store" failed (2: No such file or directory), client: XXX.XXX.XXX.XXX, server: _, request: "GET /api/store?file_type=file&limit=10&sort=timestamp HTTP/1.1", host: "XXX.XXX.XXX.XXX:8000", referrer: "http://XXX.XXX.XXX.XXX:8000/" 2019/12/18 13:48:42 [error] 1393#1393: *1 open() "/var/www/snake-skin/api/store" failed (2: No such file or directory), client: XXX.XXX.XXX.XXX, server: _, request: "GET /api/store?file_type=memory&limit=10&sort=timestamp HTTP/1.1", host: "XXX.XXX.XXX.XXX:8000", referrer: "http://XXX.XXX.XXX.XXX:8000/" 2019/12/18 13:48:44 [error] 1393#1393: *6 open() "/var/www/snake-skin/api/scales" failed (2: No such file or directory), client: XXX.XXX.XXX.XXX, server: _, request: "GET /api/scales?file_type=file HTTP/1.1", host: "XXX.XXX.XXX.XXX:8000", referrer: "http://XXX.XXX.XXX.XXXm:8000/" 2019/12/18 13:48:58 [error] 1393#1393: *6 client intended to send too large body: 2409045 bytes, client: XXX.XXX.XXX.XXX, server: _, request: "POST /api/upload/file HTTP/1.1", host: "XXX.XXX.XXX.XXX:8000", referrer: "http://XXX.XXX.XXX.XXX:8000/"
The text was updated successfully, but these errors were encountered: