hashicorp / terraform-provider-dyn

Terraform Dyn provider. Please note: This Terraform provider is archived per our provider archiving process: https://terraform.io/docs/internals/archiving.html
https://registry.terraform.io
Mozilla Public License 2.0
7 stars 16 forks source link

provider.dyn -- connection reset by peer #21

Open lczxpplnzeey opened 6 years ago

lczxpplnzeey commented 6 years ago

Hi there,

Running into an issue where whenever there is a dyn record state refresh or change, it would error out about peer resetting the connection. It seems sporadic, but happens too often and worries me as I have setup up an automated process for terraform. This time I did it manually because of specific issues.

I've reached out to DYN support but they couldnt find anything specific and I wasn't able to give them what calls are actually being made. They've also said it wasn't an api rate limit issue.

Terraform Version

Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed. v0.10.7

Affected Resource(s)

Please list the resources as a list, for example: Happens during terraform plan and apply.

Error#1 Error refreshing state: 1 error(s) occurred:

Error#2 dyn_record.: Refreshing state... (ID: 308573916) dyn_record.: Refreshing state... (ID: 308799407)


Error running plan: 1 error(s) occurred:

Error#3 dyn_record.some_record2: Refreshing state... (ID: 308799407) dyn_record.some_record: Refreshing state... (ID: 308573916) Error running plan: 1 error(s) occurred:

Error#4 dyn_record.some_record: Refreshing state... (ID: 308573916) dyn_record.some_record2: Refreshing state... (ID: 308799407)


Error running plan: 1 error(s) occurred:

Error#5 fastly_service_v1.: Destruction complete after 3s Error applying plan:

1 error(s) occurred:

Usually running a 2nd time makes it successful.

Expected Behavior

What should have happened? Should have worked

Actual Behavior

What actually happened? Connection reset, by what looks like an IP belonging to DYN I've reached out to dyn support and they said it's not an api limit issue.

Steps to Reproduce

Please list the steps required to reproduce the issue, for example: Not really reproducibile. Sometimes it works, sometimes it doesnt. Very hard to pinpoint and also same for Dyn support. Since they said they need to know what calls are being made and I don't know what terraform does during what looks like a state refresh of the dyn records.

Sorry if all this is being very vague. I have very little to go on.

But let me know if there are debug commands I can run to generate more helpful information.

This is an EC2 instance on amazon.