addon-nginx-proxy-manager
addon-nginx-proxy-manager copied to clipboard
renewing certs error with no message
Problem/Motivation
Error renewing certs
Expected behavior
renewal or understandable error message
Actual behavior
Error without explanation
Steps to reproduce
make a cert and verify it, allow your api key to expire or some other issue with your creds, then try to renew.
Proposed changes
Display the stacktrace or something that people don't have to know to go to devtools and look at payloads 😄
Screenshots
devtools response output on call:
{ "error": { "message": "Internal Error" }, "debug": { "stack": [ "Error: Command failed: certbot renew --config "/etc/letsencrypt.ini" --work-dir "/tmp/letsencrypt-lib" --logs-dir "/tmp/letsencrypt-log" --cert-name "npm-4" --disable-hook-validation --no-random-sleep-on-renew ", "Saving debug log to /tmp/letsencrypt-log/letsencrypt.log", "Failed to renew certificate npm-4 with error: Error finding domain using the DigitalOcean API: Unable to authenticate you (Did you provide a valid API token?)", "All renewals failed. The following certificates could not be renewed:", " /etc/letsencrypt/live/npm-4/fullchain.pem (failure)", "1 renew failure(s), 0 parse failure(s)", "Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /tmp/letsencrypt-log/letsencrypt.log or re-run Certbot with -v for more details.", "", " at ChildProcess.exithandler (node:child_process:422:12)", " at ChildProcess.emit (node:events:517:28)", " at maybeClose (node:internal/child_process:1098:16)", " at ChildProcess._handle.onexit (node:internal/child_process:303:5)" ] } }