Skip to content

Parsing Authentication-Errors with cloudflare #5

@ChrisB9

Description

@ChrisB9

The following error should be catched beforehand and not been silently thrown in the logs

[/app/scripts/notify.php]: file not found /etc/nginx/certs/----.dev.crt global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: Saving debug log to /var/log/letsencrypt/letsencrypt.log global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: Saving debug log to /var/log/letsencrypt/letsencrypt.log global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: Plugins selected: Authenticator dns-cloudflare, Installer None global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: Obtaining a new certificate global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: Performing the following challenges: global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: dns-01 challenge for ----.dev global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: Cleaning up challenges global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: Error determining zone_id: 9103 Unknown X-Auth-Key or X-Auth-Email. Please confirm that you have supplied valid Cloudflare API credentials. (Did you enter the correct email address?) global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: PHP Fatal error: Uncaught RuntimeException: This should never happen, cert got not created? domains: sanogym.local.cben.dev in /app/src/Certificate/LetsEncryptCertificate.php:31 global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: Stack trace: global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: #0 /app/src/Certificate/LetsEncryptCertificate.php(76): Kanti\LetsencryptClient\Certificate\LetsEncryptCertificate->__construct(Array) global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: #1 /app/src/CertChecker.php(50): Kanti\LetsencryptClient\Certificate\LetsEncryptCertificate::fromDomainList(Array) global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: #2 /app/src/CertChecker.php(26): Kanti\LetsencryptClient\CertChecker->createCertificatesWithDomains(Array) global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: #3 /app/src/Main.php(31): Kanti\LetsencryptClient\CertChecker->createIfNotExists(Array) global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: #4 /app/scripts/notify.php(10): Kanti\LetsencryptClient\Main->notify() global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: #5 {main} global-letsencrypt-cben_1 | 2019/07/02 22:53:27 [/app/scripts/notify.php]: thrown in /app/src/Certificate/LetsEncryptCertificate.php on line 31

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions