You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/05/14 11:58:36 UTC

[GitHub] jthomas opened a new issue #124: Docker Compose limiting action size to 512KB?

jthomas opened a new issue #124: Docker Compose limiting action size to 512KB?
URL: https://github.com/apache/incubator-openwhisk-devtools/issues/124
 
 
   User [has reported](
   https://stackoverflow.com/questions/50203277/openwhisk-request-entity-too-large?noredirect=1#comment87573429_50203277) an issue deploying larger actions with error returned: `413 Request Entity Too Large`. 
   
   I've started devtools using docker compose and can reproduce the issue using the following command.
   ```
   mkfile -n 512k source.js; ls -lh source.js; wsk action create test --kind nodejs:6 source.js -v
   ```
   This is the response body from the CLI command.
   
   ```
   <html>
   <head><title>413 Request Entity Too Large</title></head>
   <body bgcolor="white">
   <center><h1>413 Request Entity Too Large</h1></center>
   <hr><center>openresty/1.13.6.1</center>
   </body>
   </html>
   ```
   
   Using a file with less than 512KB doesn't have this issue, e.g. `mkfile -n 511k`. Looks like the default body size configuration from nginx in the api gateway service could be set as 512k?
   https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
   
   If this is correct, can we update it to be the same as the maximum file size (48MB) for actions?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services