You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Terraform spits out this error message after ~25 mins into the provisioner:
null_resource.post_config: Still creating... [24m1s elapsed]
null_resource.post_config: Still creating... [24m11s elapsed]
null_resource.post_config: Still creating... [24m21s elapsed]
Error: error executing "C:/Temp/terraform_2114901051.cmd": unknown error Post http://10.245.162.87:5985/wsman: read tcp 10.245.160.198:53154->10.245.162.87:5985: wsarecv: An existing connection was forcibly closed by the remote host.
Steps to Reproduce
Run a Terraform script that makes a connection via WinRM to the provisioned instance.
That script needs to run longer than ~25 mins after making the connection.
Additional Context
I used to be able to complete TF runs without any issues. After upgrading to TF v 0.12 I started getting errors when running provisioners over WinRM when the run goes over ~25 mins.
Is there a timeout that is being set somewhere for TF v0.12?
My terraform run consists of running a set of chef recipes on the provisioned node. I don't see this issue with connections over SSH for Linux boxes I provision.
References
The text was updated successfully, but these errors were encountered:
@johnkratos We were seeing a bunch of WinRM issues after upgrading to 0.12.x earlier this year from 0.11.x. After trying to reproduce the issue with newer Terraform builds, we found that we are unable to reproduce them starting with 0.12.26.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Terraform Version
Terraform Configuration Files
...
Debug Output
Crash Output
Expected Behavior
Terraform run should have finished
Actual Behavior
Terraform spits out this error message after ~25 mins into the provisioner:
null_resource.post_config: Still creating... [24m1s elapsed]
null_resource.post_config: Still creating... [24m11s elapsed]
null_resource.post_config: Still creating... [24m21s elapsed]
Error: error executing "C:/Temp/terraform_2114901051.cmd": unknown error Post http://10.245.162.87:5985/wsman: read tcp 10.245.160.198:53154->10.245.162.87:5985: wsarecv: An existing connection was forcibly closed by the remote host.
Steps to Reproduce
Run a Terraform script that makes a connection via WinRM to the provisioned instance.
That script needs to run longer than ~25 mins after making the connection.
Additional Context
I used to be able to complete TF runs without any issues. After upgrading to TF v 0.12 I started getting errors when running provisioners over WinRM when the run goes over ~25 mins.
Is there a timeout that is being set somewhere for TF v0.12?
My terraform run consists of running a set of chef recipes on the provisioned node. I don't see this issue with connections over SSH for Linux boxes I provision.
References
The text was updated successfully, but these errors were encountered: