loupOriginal post
Rank 4: Virtual Machine
I try to setup a custom domain for using my functions without the sub object body so my only solution is using a custom endpoint. So Ive add in env _APP_DOMAIN_FUNCTIONS : appwrite-functions.mydomain.com. My DNS look like :
A appwrite.mydomain.com [IP_OF_MY_VPS] Proxied
A appwrite-functions.mydomain.com [IP_OF_MY_VPS] Proxied
CNAME *.appwrite-functions.mydomain.com appwrite-functions.mydomain.com DNS Only
But in appwrite's logs I have this :
appwrite-worker-certificates | [Job] Received Job (673087dada1957.51103021).
appwrite-worker-certificates | Cannot renew domain (*.appwrite-functions.mydomain.com) on attempt no. 4 certificate: Failed to verify domain DNS records.
appwrite-worker-certificates | [Job] (673087dada1957.51103021) failed to run.
appwrite-worker-certificates | [Job] (673087dada1957.51103021) Failed to verify domain DNS records.
appwrite-worker-certificates | Using deprecated logging configuration. Please update your configuration to use DSN format.Unable to parse DSN: scheme is required
appwrite-worker-certificates | [Error] Type: Exception
appwrite-worker-certificates | [Error] Message: Failed to verify domain DNS records.
appwrite-worker-certificates | [Error] File: /usr/src/code/src/Appwrite/Platform/Workers/Certificates.php
appwrite-worker-certificates | [Error] Line: 287
...
Summary
Developers having trouble generating SSL for wildcard custom domain for Appwrite Functions. The issue is likely with setting up the DNS records. Make sure to verify and configure the DNS correctly. The error message indicates failure in verifying domain DNS records. Check DNS settings and ensure they are correct.