Skip to content

Context timeout for terraform install on slow network connection #4129

Closed
@TomiCode

Description

@TomiCode

I wanted to try out this environment on docker, so as noted in the guide, I've downloaded the repository and made docker compose up. The containers start up and seems to be working, but after a short period, the server throws an error and exits abruptly:

Coder v0.8.15+9e9a9e0 - Remote development on your infrastucture
View the Web UI: https://xxx.xxx.xxx.xxx:7080
2022-09-20 11:43:37.415 [INFO]	(coderd)	<./enterprise/coderd/features.go:251>	(*featuresService).syncEntitlements	syncing licensed entitlements

==> Logs will stream in below (press ctrl+c to gracefully exit):
Unexpected error, shutting down server: install terraform: context deadline exceeded
Shutting down API server...
Gracefully shut down API server
Waiting for WebSocket connections to close...
Done waiting for WebSocket connections
install terraform: context deadline exceeded
Run 'coder server --help' for usage.

I think that is because of my slow internet connection (around 3 Mbits) and downloading the terraform binary takes more than a minute.

Is there a way to extend the context timeout for this installation process?

Metadata

Metadata

Assignees

Labels

cliArea: CLI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions