Getting 500 error when renewing using Terraform

My domain is: *

I ran this command: terraform apply, I can't provide the whole plan. It uses as the provider to

It produced this output:

Error: acme: error: 500 :: POST :: :: urn:ietf:params:acme:error:serverInternal :: Error creating new order

My web server is (include version): none

The operating system my web server runs on is (include version): none

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know): yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot):

Terraform module

The error timestamp on our logs is: 2021-08-27T00:00:39.135579309Z (2021-08-27 00:00:39.135579309 UTC)

This could be a terraform module bug (that it doesn't retry on 5xx error). I opened a ticket against it too here: Getting 500 error from Let's Encrypt, left with certificate deleted · Issue #201 · vancluever/terraform-provider-acme · GitHub but was wondering if the audience here had experience with such an error and what did you do about it.

Internal server errors are usually just that: something internal on the Let's Encrypt servers, mostly of transient nature. It is usually sufficient to try again later.

1 Like

Yep. That's what I figured out too (based on a generic understanding of HTTP error codes).

I was wondering whether anyone here used the Terraform module I use and knows how to tell it to retry on such errors?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.