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

Fix #490: Connection timed out after 120000ms in function deployment #937

Merged
merged 1 commit into from
Apr 6, 2016

Conversation

pwagener
Copy link
Contributor

@pwagener pwagener commented Apr 3, 2016

This allows users to work around a network with a slow upload speed by setting the AWS_CLIENT_TIMEOUT environment variable to something greater than 120000 (2 minutes). If found, it sets the AWS.client.httpOptions.timeout value.

It follows the existing convention set by looking for HTTP_PROXY/HTTPS_PROXY in the environment.

@adir1661
Copy link

adir1661 commented Jun 6, 2019

is There example for how to do it? because i didnt understand how to export it...
i mean the SET command in windows on the project directory is enough?
there some obvious requirements i miss?

@pwagener
Copy link
Contributor Author

pwagener commented Jun 7, 2019

I haven't used this in years, but I expect ...

$ export AWS_CLIENT_TIMEOUT=600000
$ serverless deploy 
...

For further support let's move the conversation over to the forums.

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

Successfully merging this pull request may close these issues.

None yet

3 participants