Skip to content
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

Timeout error #8

Open
endymion00 opened this issue Jan 14, 2017 · 0 comments
Open

Timeout error #8

endymion00 opened this issue Jan 14, 2017 · 0 comments

Comments

@endymion00
Copy link

endymion00 commented Jan 14, 2017

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?

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

No branches or pull requests

1 participant