I just migrated everything over to v2 on my docker instance, and am getting a weird error in my logs with regards to renewing my certificates. (domains changed to protect the innocent)
time="2019-09-26T08:20:34-04:00" level=error msg="Error renewing certificate from LE: {<domain> []}, acme: Error -> One or more domains had a problem:\n[<domain>] [<domain>] acme: error presenting token: cloudflare: failed to find zone <domain>.: ListZonesContext command failed: error from makeRequest: HTTP status 400: content \"{\\\"success\\\":false,\\\"errors\\\":[{\\\"code\\\":6003,\\\"message\\\":\\\"Invalid request headers\\\",\\\"error_chain\\\":[{\\\"code\\\":6102,\\\"message\\\":\\\"Invalid format for X-Auth-Email header\\\"}]}],\\\"messages\\\":[],\\\"result\\\":null}\"\n" providerName=default.acme
I used the migration tool to update my acme.json file, so things should be ok there. I manually updated my static configuration, as the migration tool came back with a lot of manual needs. Everything was working just fine in v1 land. Docker is passing the CF_API_EMAIL correctly.
Anyone else having this issue?