Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Develop branch: upload of layer runs into size limit #50

Open
mskyttner opened this issue Sep 24, 2019 · 1 comment
Open

Develop branch: upload of layer runs into size limit #50

mskyttner opened this issue Sep 24, 2019 · 1 comment
Assignees

Comments

@mskyttner
Copy link
Collaborator

While uploading one of the layers, a size limit in the spatialservice exceeding 524288000 (bytes?) prevented the upload from succeeding.

Log messages:

webserver | 2019/09/24 11:12:22 [warn] 6#6: *3835 a client request body is buffered to a temporary file /var/cache/nginx/client_temp/0000000084, client: 172.18.0.39, server: beta.bioatlas.se, request: "POST /spatial-service/manageLayers/upload HTTP/1.1", host: "beta.bioatlas.se", referrer: "https://beta.bioatlas.se/spatial-service/manageLayers/uploads?error=MALFORMED+-+see+logs+for+details"

spatialservice        | [SPATIAL-SERVICE] 11:12:25.893 StackTrace : Full Stack Trace:
spatialservice        | 
spatialservice        | org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request; nested exception is java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (579193424) exceeds the configured maximum (524288000)
@mskyttner
Copy link
Collaborator Author

The proxy chain may have limits, setting the nginx-proxy conf may resolve it at one of the entry points into the chain:

~/repos/ala-docker$ more nginx-proxy/nginx-proxy.conf client_max_body_size 0; proxy_request_buffering off;
But it seems that the spatial-service also has a limit.

And there may be things in between (such as the webserver).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants