Skip to content

Timeout error #8

@endymion00

Description

@endymion00

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions