I’m running docker for traefik, and pretty much all of my services. I restored my VM to a previous state and started getting browser warnings that my site was potentially being hijacked. I deleted acme.json, touched it and did a chmod 600. I then brought my stack down and up again and I’m getting the following errors in traefik. FWIW I deleted both the dns record for noakland.com and the cname for *.noakland.com.
time="2019-06-13T22:19:13Z" level=error msg="Unable to obtain ACME certificate for domains \"NOAKLAND.COM\" : unable to generate a certificate for the domains [noakland.com]: acme: Error -> One or more domains had a problem:\n[noakland.com] [noakland.com] acme: error presenting token: cloudflare: failed to create TXT record: error from makeRequest: HTTP status 400: content \"{\\\"success\\\":false,\\\"errors\\\":[{\\\"code\\\":81057,\\\"message\\\":\\\"The record already exists.\\\"}],\\\"messages\\\":[],\\\"result\\\":null}\"\n",
time="2019-06-13T22:19:14Z" level=error msg="Unable to obtain ACME certificate for domains \"*.NOAKLAND.COM\" : unable to generate a certificate for the domains [*.noakland.com]: acme: Error -> One or more domains had a problem:\n[*.noakland.com] [*.noakland.com] acme: error presenting token: cloudflare: failed to create TXT record: error from makeRequest: HTTP status 400: content \"{\\\"success\\\":false,\\\"errors\\\":[{\\\"code\\\":81057,\\\"message\\\":\\\"The record already exists.\\\"}],\\\"messages\\\":[],\\\"result\\\":null}\"\n"
J.F.C!
I deleted everything and ran it again, THEN recreated the CNAME manually and it started working. What happened?