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

S3 Remote State Refresh Error: EOF #7254

Closed
marcuswl345 opened this issue Jan 22, 2019 · 2 comments
Closed

S3 Remote State Refresh Error: EOF #7254

marcuswl345 opened this issue Jan 22, 2019 · 2 comments
Labels
question A question about existing functionality; most questions are re-routed to discuss.hashicorp.com. upstream-terraform Addresses functionality related to the Terraform core binary.

Comments

@marcuswl345
Copy link

marcuswl345 commented Jan 22, 2019

I Getting an error when running "terraform init"

Error refreshing state: RequestError: send request failed caused by: Get <S3_URL>/terraform.tfstate: EOF�

Can someone please explain what this error means?

Subsequent runs have been successful so I can't recreate this error

@marcuswl345 marcuswl345 added the question A question about existing functionality; most questions are re-routed to discuss.hashicorp.com. label Jan 22, 2019
@bflad bflad added the upstream-terraform Addresses functionality related to the Terraform core binary. label Jan 25, 2019
@bflad
Copy link
Contributor

bflad commented Jan 25, 2019

Hi @marcuswl345 👋

The "EOF" in this case means "End Of File" and is a technical way of saying something interrupted the connection between where Terraform was running and S3. These types of errors are generally temporary and retrying the operation is usually the right answer.

The code for the S3 backend actually lives in the hashicorp/terraform repository, but its probably worth noting here that we did just recently merge in hashicorp/terraform#19951 which should enable automatic retries in this scenario. It'll release with Terraform 0.12 unless its backported to Terraform 0.11 due to hashicorp/terraform#19992

@bflad bflad closed this as completed Jan 25, 2019
@ghost
Copy link

ghost commented Apr 1, 2020

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators Apr 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question A question about existing functionality; most questions are re-routed to discuss.hashicorp.com. upstream-terraform Addresses functionality related to the Terraform core binary.
Projects
None yet
Development

No branches or pull requests

2 participants