serverless-plugin-browserify icon indicating copy to clipboard operation
serverless-plugin-browserify copied to clipboard

Timeout error

Open endymion00 opened this issue 9 years ago • 0 comments

Hi, I'm getting this error since I installed serverless-plugin-browserify:

Serverless Error ---------------------------------------

 Your socket connection to the server was not read from
 or written to within the timeout period. Idle connections
 will be closed.

Maybe it is related to amazon sdk timeout value so I raised aws tiemout by doing export AWS_CLIENT_TIMEOUT=900000 (before it was export AWS_CLIENT_TIMEOUT=300000) but i'm still having the same issue.

My previous deploy script was perfoming: npm --prune production before sls deploy... but I had to remove it because the plugin is installed in dev dependencies and it was not found. It seems the size produced by the plugin is higher than performing a npm --prune production but I can't find where are located the zip files that the plugin generates. With my previous configuration my project was 12.09 MB and my functions are not separated individually (although I used the "individually: true" as stated in the plugin readme)

How can I check if the zips using the plugin are greater than my previous setup?

endymion00 avatar Jan 14 '17 01:01 endymion00