Hello everyone,
I'm facing an issue with the Appwrite dashboard where it generates URLs for functions in an incorrect format. The URLs currently look like this:
6726d46da941bbf9cbfd.https://appwrite.xxxx.app
However, the correct format should be:
6726d46da941bbf9cbfd.appwrite.xxxx.app
I'm self-hosting Appwrite using Coolify, and I've reviewed my domain and server configurations, which all seem to be set up correctly.
What does your environment variable for _APP_DOMAIN_FUNCTIONS have?
My _APP_DOMAIN_FUNCTIONS is set to $SERVICE_FQDN_APPWRITE.
Coolify uses this variable, $SERVICE_FQDN_APPWRITE, as the main URL for the dashboard.
does that include the https://?
That's probably your issue.
Yes, it is included. I tried removing it, but when I create a function, it still generates the same URL format (https://...).
I also tried using a new subdomain I created, but it doesn't load the new subdomain. It keeps defaulting to the main dashboard URL.
I am updating the .env file from the Coolify dashboard. After making the updates, I restart the system.
Do you have recreated the containers?
not sure about that
Anyupdates plz ?
If you installed appwrite with the default commands, you should recreate them with docker compose up -d
I recommend having backups
None of this was helpful initially. Coolify automatically added https:// at the beginning of the domain. I was able to fix the issue by manually removing the https:// from the SERVICE_FQDN_APPWRITE field in the dashboard's Production Environment Variables. Now, the URL format is generated correctly.
Interesting. Can I mark this as solved then?
yes you can
Recommended threads
- Error connecting Github
I have followed the documentation online for setting up VCS and cannot get my Github to properly connect in Functions. When I press the "Connect to Github" I am...
- TLS provisioning failure for custom doma...
Hi Appwrite team, we’re using Appwrite Sites and TLS provisioning for our custom domain fails. Domain: somnara.app Error: Failed to create TLS subscription –...
- Functions Problem
Whenever I run my AI Generate through Appwrite Functions, I am getting this Call Stack AIService.generateServer (src\services\ai\gemini.ts) next (<native>) ...