8000 🐛 Bug Report: SSL bug, 0.11 · Issue #2669 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🐛 Bug Report: SSL bug, 0.11 #2669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
reyesmfabian opened this issue Jan 22, 2022 · 5 comments
Closed
2 tasks done

🐛 Bug Report: SSL bug, 0.11 #2669

reyesmfabian opened this issue Jan 22, 2022 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@reyesmfabian
Copy link
reyesmfabian commented Jan 22, 2022

👟 Reproduction steps

One of the certificates on one of my servers expired and it did not renew automatically. Try running

docker-compose exec appwrite ssl

But the certificate still shows the same error.

👍 Expected behavior

The certificate should renew automatically without any problems.

👎 Actual Behavior

The certificate shows the error NET::ERR_CERT_DATE_INVALID, this is the log docker-compose logs appwrite-worker-certificates. I changed my real domain for MYDOMAIN string.

In the logs, I see many domains that I don't know where they come from, domains like "happyfox.com" or "2tech.net". Nowhere in my configuration are these domains found, I did not add them at any time.

Attaching to appwrite-worker-certificates
appwrite-worker-certificates    | Appwrite certificates worker v1 has started
appwrite-worker-certificates    | [notice] Starting worker 67eabea1a2de:7:v1-certificates
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: cd82c1bc2234293c38f90a75c581742c | CertificatesV1 | [{"document":[],"domain":"MYDOMAIN","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [notice] (Job{v1-certificates} | ID: cd82c1bc2234293c38f90a75c581742c | CertificatesV1 | [{"document":[],"domain":"MYDOMAIN","validateTarget":false,"validateCNAME":false}]) has finished
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: 2fb9572174a5c33904685153f49cae3d | CertificatesV1 | [{"document":[],"domain":"server.onelove.drts.ca","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [PDO] MySQL connection restarted
appwrite-worker-certificates    | [notice] (Job{v1-certificates} | ID: 2fb9572174a5c33904685153f49cae3d | CertificatesV1 | [{"document":[],"domain":"server.onelove.drts.ca","validateTarget":false,"validateCNAME":false}]) has finished
appwrite-worker-certificates    |
appwrite-worker-certificates    | Fatal error: Uncaught RedisException: Connection lost in /usr/src/code/vendor/colinmollenhour/credis/Client.php:1171
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/colinmollenhour/credis/Client.php(1171): Redis->ping()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(265): Credis_Client->__call('ping', Array)
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #4 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Next CredisException: Connection lost in /usr/src/code/vendor/colinmollenhour/credis/Client.php:1189
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(265): Credis_Client->__call('ping', Array)
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #3 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Next Resque_RedisException: Error communicating with Redis: Connection lost in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php:268
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #2 {main}
appwrite-worker-certificates    |   thrown in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php on line 268
appwrite-worker-certificates    | Appwrite certificates worker v1 has started
appwrite-worker-certificates    | [notice] Starting worker 67eabea1a2de:7:v1-certificates
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: dc7e2bcda4fce205cb1bf4aca66d43a3 | CertificatesV1 | [{"document":{"$id":"6187ee646cf10","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"happyfox.com"},"domain":"happyfox.com","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: dc7e2bcda4fce205cb1bf4aca66d43a3 | CertificatesV1 | [{"document":{"$id":"6187ee646cf10","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"happyfox.com"},"domain":"happyfox.com","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to issue a certificate with message: Saving debug log to /var/log/letsencrypt/letsencrypt.log
appwrite-worker-certificates    | Some challenges have failed.
appwrite-worker-certificates    | Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
appwrite-worker-certificates    |  in /usr/src/code/app/workers/certificates.php:131
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: 5111c6a6ceb4679c47fbb515ee8412f9 | CertificatesV1 | [{"document":{"$id":"618c8a1674230","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"2tech.net"},"domain":"2tech.net","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [PDO] MySQL connection restarted
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: 5111c6a6ceb4679c47fbb515ee8412f9 | CertificatesV1 | [{"document":{"$id":"618c8a1674230","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"2tech.net"},"domain":"2tech.net","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to issue a certificate with message: Saving debug log to /var/log/letsencrypt/letsencrypt.log
appwrite-worker-certificates    | Some challenges have failed.
appwrite-worker-certificates    | Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
appwrite-worker-certificates    |  in /usr/src/code/app/workers/certificates.php:131
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: b76dcba6a30065563113c00324ef0184 | CertificatesV1 | [{"document":{"$id":"61914da02c121","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"ciri.com"},"domain":"ciri.com","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [PDO] MySQL connection restarted
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: b76dcba6a30065563113c00324ef0184 | CertificatesV1 | [{"document":{"$id":"61914da02c121","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"ciri.com"},"domain":"ciri.com","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to issue a certificate with message: Saving debug log to /var/log/letsencrypt/letsencrypt.log
appwrite-worker-certificates    | Some challenges have failed.
appwrite-worker-certificates    | Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
appwrite-worker-certificates    |  in /usr/src/code/app/workers/certificates.php:131
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Fatal error: Uncaught RedisException: Connection lost in /usr/src/code/vendor/colinmollenhour/credis/Client.php:1171
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/colinmollenhour/credis/Client.php(1171): Redis->ping()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(265): Credis_Client->__call('ping', Array)
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #4 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Next CredisException: Connection lost in /usr/src/code/vendor/colinmollenhour/credis/Client.php:1189
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(265): Credis_Client->__call('ping', Array)
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #3 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Next Resque_RedisException: Error communicating with Redis: Connection lost in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php:268
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #2 {main}
appwrite-worker-certificates    |   thrown in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php on line 268
appwrite-worker-certificates    | Appwrite certificates worker v1 has started
appwrite-worker-certificates    | [notice] Starting worker 67eabea1a2de:7:v1-certificates
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: 815203288eafed03c2324a052feac537 | CertificatesV1 | [{"document":{"$id":"619cdd87e8352","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"zhibojia.cc"},"domain":"zhibojia.cc","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: 815203288eafed03c2324a052feac537 | CertificatesV1 | [{"document":{"$id":"619cdd87e8352","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"zhibojia.cc"},"domain":"zhibojia.cc","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to issue a certificate with message: Saving debug log to /var/log/letsencrypt/letsencrypt.log
appwrite-worker-certificates    | Some challenges have failed.
appwrite-worker-certificates    | Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
appwrite-worker-certificates    |  in /usr/src/code/app/workers/certificates.php:131
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: a87ff52874c1d91007df6a053b986992 | CertificatesV1 | [{"document":{"$id":"619d09e420dab","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"vip.caoxiaohua.cn"},"domain":"vip.caoxiaohua.cn","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: a87ff52874c1d91007df6a053b986992 | CertificatesV1 | [{"document":{"$id":"619d09e420dab","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"vip.caoxiaohua.cn"},"domain":"vip.caoxiaohua.cn","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to issue a certificate with message: Saving debug log to /var/log/letsencrypt/letsencrypt.log
appwrite-worker-certificates    | Some challenges have failed.
appwrite-worker-certificates    | Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
appwrite-worker-certificates    |  in /usr/src/code/app/workers/certificates.php:131
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: b57afe05e31cd522a854684eebb4691c | CertificatesV1 | [{"document":{"$id":"619d0cbd97233","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"www.yagoal.online"},"domain":"www.yagoal.online","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: b57afe05e31cd522a854684eebb4691c | CertificatesV1 | [{"document":{"$id":"619d0cbd97233","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"www.yagoal.online"},"domain":"www.yagoal.online","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to issue a certificate with message: Saving debug log to /var/log/letsencrypt/letsencrypt.log
appwrite-worker-certificates    | Some challenges have failed.
appwrite-worker-certificates    | Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
appwrite-worker-certificates    |  in /usr/src/code/app/workers/certificates.php:131
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: c61cca028f2644e0c8536c4a7b9d331b | CertificatesV1 | [{"document":{"$id":"61a4801587ba6","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"ball365.vip"},"domain":"ball365.vip","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [PDO] MySQL connection restarted
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: c61cca028f2644e0c8536c4a7b9d331b | CertificatesV1 | [{"document":{"$id":"61a4801587ba6","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"ball365.vip"},"domain":"ball365.vip","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to issue a certificate with message: Saving debug log to /var/log/letsencrypt/letsencrypt.log
appwrite-worker-certificates    | Some challenges have failed.
appwrite-worker-certificates    | Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
appwrite-worker-certificates    |  in /usr/src/code/app/workers/certificates.php:131
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Fatal error: Uncaught RedisException: Connection lost in /usr/src/code/vendor/colinmollenhour/credis/Client.php:1171
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/colinmollenhour/credis/Client.php(1171): Redis->ping()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(265): Credis_Client->__call('ping', Array)
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #4 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Next CredisException: Connection lost in /usr/src/code/vendor/colinmollenhour/credis/Client.php:1189
appwrit
8000
e-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(265): Credis_Client->__call('ping', Array)
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #3 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Next Resque_RedisException: Error communicating with Redis: Connection lost in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php:268
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #2 {main}
appwrite-worker-certificates    |   thrown in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php on line 268
appwrite-worker-certificates    | Appwrite certificates worker v1 has started
appwrite-worker-certificates    | [notice] Starting worker 67eabea1a2de:7:v1-certificates
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: 5ee2a76584c126217deb2ee4f0c1a99c | CertificatesV1 | [{"document":{"$id":"61b9c7990cdff","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"sssdun.com"},"domain":"sssdun.com","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: 5ee2a76584c126217deb2ee4f0c1a99c | CertificatesV1 | [{"document":{"$id":"61b9c7990cdff","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"sssdun.com"},"domain":"sssdun.com","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to issue a certificate with message: Saving debug log to /var/log/letsencrypt/letsencrypt.log
appwrite-worker-certificates    | Some challenges have failed.
appwrite-worker-certificates    | Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
appwrite-worker-certificates    |  in /usr/src/code/app/workers/certificates.php:131
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: 8568f39ea21e80d526f056a034dd46c9 | CertificatesV1 | [{"document":{"$id":"61badf7f84e45","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"gt.zxkjwl.com"},"domain":"gt.zxkjwl.com","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [PDO] MySQL connection restarted
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: 8568f39ea21e80d526f056a034dd46c9 | CertificatesV1 | [{"document":{"$id":"61badf7f84e45","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"gt.zxkjwl.com"},"domain":"gt.zxkjwl.com","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to issue a certificate with message: Saving debug log to /var/log/letsencrypt/letsencrypt.log
appwrite-worker-certificates    | Some challenges have failed.
appwrite-worker-certificates    | Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
appwrite-worker-certificates    |  in /usr/src/code/app/workers/certificates.php:131
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: eb8ab450054ee1a78d46a3fa39d44625 | CertificatesV1 | [{"document":{"$id":"61bd9b58b12dd","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"cbc16e58.gtr4563.com"},"domain":"cbc16e58.gtr4563.com","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [PDO] MySQL connection restarted
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: eb8ab450054ee1a78d46a3fa39d44625 | CertificatesV1 | [{"document":{"$id":"61bd9b58b12dd","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"cbc16e58.gtr4563.com"},"domain":"cbc16e58.gtr4563.com","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to issue a certificate with message: Saving debug log to /var/log/letsencrypt/letsencrypt.log
appwrite-worker-certificates    | Some challenges have failed.
appwrite-worker-certificates    | Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
appwrite-worker-certificates    |  in /usr/src/code/app/workers/certificates.php:131
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: f3733cb0b55d95488ef6912018e5ef4a | CertificatesV1 | [{"document":[],"domain":"MYDOMAIN","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [PDO] MySQL connection restarted
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: f3733cb0b55d95488ef6912018e5ef4a | CertificatesV1 | [{"document":[],"domain":"MYDOMAIN","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to rename certificate cert.pem: "Requesting a certificate for MYDOMAIN\n\nSuccessfully received certificate.\nCertificate is saved at: \/etc\/letsencrypt\/live\/MYDOMAIN-0001\/fullchain.pem\nKey is saved at:         \/etc\/letsencrypt\/live\/MYDOMAIN-0001\/privkey.pem\nThis certificate expires on 2022-03-18.\nThese files will be updated when the certificate renews.\n\nNEXT STEPS:\n- The certificate will need to be renewed before it expires. Certbot can automatically renew the certificate in the background, but you may need to take steps to enable that functionality. See https:\/\/certbot.org\/renewal-setup for instructions.\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nIf you like Certbot, please consider supporting our work by:\n * Donating to ISRG \/ Let's Encrypt:   https:\/\/letsencrypt.org\/donate\n * Donating to EFF:                    https:\/\/eff.org\/donate-le\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n" in /usr/src/code/app/workers/certificates.php:143
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: 14ef8b4a64c0e2db84662708a35af5d5 | CertificatesV1 | [{"document":{"$id":"61c2b1352e46e","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"bby.rip"},"domain":"bby.rip","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [PDO] MySQL connection restarted
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: 14ef8b4a64c0e2db84662708a35af5d5 | CertificatesV1 | [{"document":{"$id":"61c2b1352e46e","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"bby.rip"},"domain":"bby.rip","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to issue a certificate with message: Saving debug log to /var/log/letsencrypt/letsencrypt.log
appwrite-worker-certificates    | Some challenges have failed.
appwrite-worker-certificates    | Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.
appwrite-worker-certificates    |  in /usr/src/code/app/workers/certificates.php:131
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: 4196abfb05c74572fa743cda7139f1db | CertificatesV1 | [{"document":[],"domain":"server.onelove.drts.ca","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [PDO] MySQL connection restarted
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: 4196abfb05c74572fa743cda7139f1db | CertificatesV1 | [{"document":[],"domain":"server.onelove.drts.ca","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to rename certificate cert.pem: "Requesting a certificate for server.onelove.drts.ca\n\nSuccessfully received certificate.\nCertificate is saved at: \/etc\/letsencrypt\/live\/server.onelove.drts.ca-0001\/fullchain.pem\nKey is saved at:         \/etc\/letsencrypt\/live\/server.onelove.drts.ca-0001\/privkey.pem\nThis certificate expires on 2022-03-28.\nThese files will be updated when the certificate renews.\n\nNEXT STEPS:\n- The certificate will need to be renewed before it expires. Certbot can automatically renew the certificate in the background, but you may need to take steps to enable that functionality. See https:\/\/certbot.org\/renewal-setup for instructions.\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nIf you like Certbot, please consider supporting our work by:\n * Donating to ISRG \/ Let's Encrypt:   https:\/\/letsencrypt.org\/donate\n * Donating to EFF:                    https:\/\/eff.org\/donate-le\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n" in /usr/src/code/app/workers/certificates.php:143
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Fatal error: Uncaught RedisException: Connection lost in /usr/src/code/vendor/colinmollenhour/credis/Client.php:1171
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/colinmollenhour/credis/Client.php(1171): Redis->ping()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(265): Credis_Client->__call('ping', Array)
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #4 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Next CredisException: Connection lost in /usr/src/code/vendor/colinmollenhour/credis/Client.php:1189
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(265): Credis_Client->__call('ping', Array)
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #3 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Next Resque_RedisException: Error communicating with Redis: Connection lost in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php:268
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #2 {main}
appwrite-worker-certificates    |   thrown in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php on line 268
appwrite-worker-certificates    | Appwrite certificates worker v1 has started
appwrite-worker-certificates    | [notice] Starting worker 67eabea1a2de:7:v1-certificates
appwrite-worker-certificates    |
appwrite-worker-certificates    | Fatal error: Uncaught RedisException: Connection lost in /usr/src/code/vendor/colinmollenhour/credis/Client.php:1171
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/colinmollenhour/credis/Client.php(1171): Redis->ping()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(265): Credis_Client->__call('ping', Array)
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #4 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Next CredisException: Connection lost in /usr/src/code/vendor/colinmollenhour/credis/Client.php:1189
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(265): Credis_Client->__call('ping', Array)
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #3 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Next Resque_RedisException: Error communicating with Redis: Connection lost in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php:268
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #2 {main}
appwrite-worker-certificates    |   thrown in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php on line 268
appwrite-worker-certificates    | Appwrite certificates worker v1 has started
appwrite-worker-certificates    | [notice] Starting worker 67eabea1a2de:7:v1-certificates
appwrite-worker-certificates    |
appwrite-worker-certificates    | Fatal error: Uncaught RedisException: socket error on read socket in /usr/src/code/vendor/colinmollenhour/credis/Client.php:1171
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/colinmollenhour/credis/Client.php(1171): Redis->ping()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(265): Credis_Client->__call('ping', Array)
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #4 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Next CredisException: socket error on read socket in /usr/src/code/vendor/colinmollenhour/credis/Client.php:1189
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(265): Credis_Client->__call('ping', Array)
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #3 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Next Resque_RedisException: Error communicating with Redis: socket error on read socket in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php:268
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #2 {main}
appwrite-worker-certificates    |   thrown in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php on line 268
appwrite-worker-certificates    | Appwrite certificates worker v1 has started
appwrite-worker-certificates    | [notice] Starting worker 67eabea1a2de:7:v1-certificates
appwrite-worker-certificates    |
appwrite-worker-certificates    | Fatal error: Uncaught CredisException: Connection to Redis redis:6379 failed after 1 failures.Last Error : (1) Host is unreachable in /usr/src/code/vendor/colinmollenhour/credis/Client.php:496
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/colinmollenhour/credis/Client.php(814): Credis_Client->connect()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/colinmollenhour/credis/Client.php(658): Credis_Client->__call('select', Array)
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(148): Credis_Client->select(0)
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque.php(69): Resque_Redis->__construct('redis:6379', 0)
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(104): Resque::redis()
appwrite-worker-certificates    | #5 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(517): Resque_Worker::all()
appwrite-worker-certificates    | #6 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(391): Resque_Worker->pruneDeadWorkers()
appwrite-worker-certificates    | #7 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(167): Resque_Worker->startup()
appwrite-worker-certificates    | #8 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #9 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Next Resque_RedisException: Error communicating with Redis: Connection to Redis redis:6379 failed after 1 failures.Last Error : (1) Host is unreachable in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php:152
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/resque/php-resque/lib/Resque.php(69): Resque_Redis->__construct('redis:6379', 0)
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(104): Resque::redis()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(517): Resque_Worker::all()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(391): Resque_Worker->pruneDeadWorkers()
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(167): Resque_Worker->startup()
appwrite-worker-certificates    | #5 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #6 {main}
appwrite-worker-certificates    |   thrown in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php on line 152
appwrite-worker-certificates    | Appwrite certificates worker v1 has started
appwrite-worker-certificates    | [notice] Starting worker 67eabea1a2de:7:v1-certificates
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: 34f20158ca83b9f6d5311ecc6b0df6e3 | CertificatesV1 | [{"document":[],"domain":"MYDOMAIN","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: 34f20158ca83b9f6d5311ecc6b0df6e3 | CertificatesV1 | [{"document":[],"domain":"MYDOMAIN","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to rename certificate cert.pem: "Certificate not yet due for renewal\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nCertificate not yet due for renewal; no action taken.\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n" in /usr/src/code/app/workers/certificates.php:143
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Fatal error: Uncaught RedisException: Connection lost in /usr/src/code/vendor/colinmollenhour/credis/Client.php:1171
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/colinmollenhour/credis/Client.php(1171): Redis->ping()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(265): Credis_Client->__call('ping', Array)
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #4 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Next CredisException: Connection lost in /usr/src/code/vendor/colinmollenhour/credis/Client.php:1189
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php(265): Credis_Client->__call('ping', Array)
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #3 {main}
appwrite-worker-certificates    |
appwrite-worker-certificates    | Next Resque_RedisException: Error communicating with Redis: Connection lost in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php:268
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(180): Resque_Redis->__call('ping', Array)
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #2 {main}
appwrite-worker-certificates    |   thrown in /usr/src/code/vendor/resque/php-resque/lib/Resque/Redis.php on line 268
appwrite-worker-certificates    | Appwrite certificates worker v1 has started
appwrite-worker-certificates    | [notice] Starting worker 67eabea1a2de:7:v1-certificates
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: b36d2923bde66b6405a81b271bac7613 | CertificatesV1 | [{"document":{"$id":"61ec2371c4c2b","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"MYDOMAIN"},"domain":"MYDOMAIN","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: b36d2923bde66b6405a81b271bac7613 | CertificatesV1 | [{"document":{"$id":"61ec2371c4c2b","$permissions":{"read":[],"write":[]},"$collection":"certificates","domain":"MYDOMAIN"},"domain":"MYDOMAIN","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to rename certificate cert.pem: "Certificate not yet due for renewal\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nCertificate not yet due for renewal; no action taken.\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n" in /usr/src/code/app/workers/certificates.php:143
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: 575d587e7247317e158096fe66db19f4 | CertificatesV1 | [{"document":[],"domain":"MYDOMAIN","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: 575d587e7247317e158096fe66db19f4 | CertificatesV1 | [{"document":[],"domain":"MYDOMAIN","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to rename certificate cert.pem: "Certificate not yet due for renewal\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nCertificate not yet due for renewal; no action taken.\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n" in /usr/src/code/app/workers/certificates.php:143
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}
appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: 3d93985b339242e857f369b30e35e608 | CertificatesV1 | [{"document":[],"domain":"MYDOMAIN","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: 3d93985b339242e857f369b30e35e608 | CertificatesV1 | [{"document":[],"domain":"MYDOMAIN","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to rename certificate cert.pem: "Certificate not yet due for renewal\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\nCertificate not yet due for renewal; no action taken.\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n" in /usr/src/code/app/workers/certificates.php:143
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(22): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}

🎲 Appwrite version

Version 0.11.x

💻 Operating system

Linux

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@reyesmfabian reyesmfabian added the bug Something isn't working label Jan 22, 2022
@lost-RD
Copy link
lost-RD commented Jan 24, 2022

I've been having similar issues:

appwrite-worker-certificates    | [notice] Starting work on (Job{v1-certificates} | ID: 65a9b0e25fc00ae2b640d03564ed5909 | CertificatesV1 | [{"document":{"domain":"appwrite.mydomain.dev","tld":"dev","registerable":"mydomain.dev","verification":false,"certificateId":null,"$id":"61ee2bfd4a253ee74866","$collection":"domains","projectId":null,"updated":null},"domain":"appwrite.mydomain.dev","validateTarget":false,"validateCNAME":false}])
appwrite-worker-certificates    | [critical] (Job{v1-certificates} | ID: 65a9b0e25fc00ae2b640d03564ed5909 | CertificatesV1 | [{"document":{"domain":"appwrite.mydomain.dev","tld":"dev","registerable":"mydomain.dev","verification":false,"certificateId":null,"$id":"61ee2bfd4a253ee74866","$collection":"domains","projectId":null,"updated":null},"domain":"appwrite.mydomain.dev","validateTarget":false,"validateCNAME":false}]) has failed Exception: Failed to rename certificate cert.pem: "Account registered.\nSimulating a certificate request for appwrite.mydomain.dev\nThe dry run was successful.\n" in /usr/src/code/app/workers/certificates.php:132
appwrite-worker-certificates    | Stack trace:
appwrite-worker-certificates    | #0 /usr/src/code/src/Appwrite/Resque/Worker.php(107): CertificatesV1->run()
appwrite-worker-certificates    | #1 /usr/src/code/vendor/resque/php-resque/lib/Resque/Job.php(201): Appwrite\Resque\Worker->perform()
appwrite-worker-certificates    | #2 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(303): Resque_Job->perform()
appwrite-worker-certificates    | #3 /usr/src/code/vendor/resque/php-resque/lib/Resque/Worker.php(242): Resque_Worker->perform(Object(Resque_Job))
appwrite-worker-certificates    | #4 /usr/src/code/vendor/resque/php-resque/bin/resque(185): Resque_Worker->work('1', false)
appwrite-worker-certificates    | #5 {main}

@eldadfux
Copy link
Member

@lost-RD the The dry run was successful message might indicate that you're running your Appwrite instance in dev-mode. You might want to switch to production mode to be able to generate certificates.

@eldadfux
Copy link
Member

@reyesmfabian it seems like your certificates worker has problems connecting to Redis. Try to restart it and check your Redis instance status. You can also use the Appwrite Doctor to check for any potential issues.

@eldadfux eldadfux self-assigned this Jan 24, 2022
@reyesmfabian
Copy link
Author

@reyesmfabian it seems like your certificates worker has problems connecting to Redis. Try to restart it and check your Redis instance status. You can also use the Appwrite Doctor to check for any potential issues.

Hi @eldadfux I did everything but nothing seems to work, I restarted the service, restarted the containers, restarted the server, everything, and it never fixed. The only thing that worked was deleting everything and restoring an old copy of my Appwrite instance. I'm worried that something similar will happen again. The other thing, I don't know where all those domains are coming from in my instance, I never added them.

image

@eldadfux
Copy link
Member

SSL has been completely refactored lately, if new issues arise please open a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
0