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

Support for COMPOSE_HTTP_TIMEOUT? #3

Open
parak opened this issue Sep 11, 2017 · 4 comments
Open

Support for COMPOSE_HTTP_TIMEOUT? #3

parak opened this issue Sep 11, 2017 · 4 comments

Comments

@parak
Copy link

parak commented Sep 11, 2017

During some deployments I sometimes see the following error:

           ERROR: for somenodename UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
           An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
           If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).

As a troubleshooting step I first want to try setting that variable as manual troubleshooting is unfortunately complicated and hard to replicate. However, the cookbook doesn't seem to support setting this, nor does it support the 'environment' property, which would be another way of setting this.

Thanks!

@etki
Copy link
Member

etki commented Sep 11, 2017

@parak Hi! I'm gonna be busy the whole week, so sadly won't have a chance to look it before the weekend. Implementing environment property should be relatively easy.

@parak
Copy link
Author

parak commented Sep 13, 2017

Thanks!

@etki
Copy link
Member

etki commented Sep 17, 2017

@parak i pushed 0.1.2 with environment argument support, feel free to check

@parak
Copy link
Author

parak commented Oct 10, 2017

Sorry for the delay, just added it today to our code. Looks promising so far, hopefully no more failures of the sort :)

Thanks!

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

2 participants