bsorahan / certbot-dns-vultr

Certbot-dns-vultr is an authenticator plugin for Certbot to configure Vultr to respond to ACME dns-01 challenges to obtain HTTPS certificates
MIT License
9 stars 1 forks source link

NameError: name 'response_error_message' is not defined #2

Open chuyenim opened 1 year ago

chuyenim commented 1 year ago

Thank you for making the plugin. However, I got this error when run the certbot command:

An unexpected error occurred: NameError: name 'response_error_message' is not defined

My command:

$ certbot dns-vultr --dns-vultr-credentials ~/.secrets/vultr.ini --dns-vultr-propagation-seconds 60 -d "*.domain.com"

I run on Almalinux 8, Nginx.

Please help!

chuyenim commented 1 year ago

I noticed that when "_acme-challenge" TXT record existed will caused this error. I can remove this record to run the command at the first time, however, what happens when the certbot renews when this record exists?

bsorahan commented 1 year ago

@chuyenim, I'm not sure which library is throwing that NameError exception you are experiencing. Can you please switch the verbose logs on with '-vvv' and provide the output?

Also, if the plugin runs correctly then it should also be cleaning up the '_acme-challenge' TXT record, so you shouldnt need to be removing it manually.