
I setup appwrite self hosting on my machine and followed the docs to setup appwrite functions. It suggested to use ngrok as proxy if running on localhost. But the domain assigned to the function is not accessible. Any suggestions?

What happens when you proceed from this selfsigned ssl warning?

There's no proceed option

You can't use ngrok with the custom domain function because there is no SSL certificate

Type thisisunsafe

I was working on an issue which requires Deno runtime which is not available in cloud version. The function acts like a webhook receiver... so need a public endpoint. If not ngrok what would you suggest🤒


Yep...it doesn't work ... Only self hosted appwrite is accessible through ngrok

You might need a custom domain...or you can try setting up another ngrok tunnel and using that as a custom domain

Do you have any resources/docs to augment my understanding. Regrettably my knowledge in this topic is inadequate

Not really. To explain further, you have an ngrok tunnel for one specific domain. The function domain is a different domain so it's not pointing anywhere

we need to create a specific endpoint for each function and validate , then add the corresponding subdomain CNAME to DNS of the main domain.
hope my understanding is correct
I use cloudflare tunnel, for that too we need SSL on server end??

Yes. Although some services set up an SSL cert for you so the certificate in appwrite may not be required

got it. bcoz I am lazy lolz 😛

btw, these two cant be same right? _APP_DOMAIN_TARGET= _APP_DOMAIN_FUNCTIONS
valid will be _APP_DOMAIN_TARGET=appwrite.text.xyz _APP_DOMAIN_FUNCTIONS=functions.text.xyz
?? in that case all functions will be 17264326.functions.text.xyz ??

They can be the same
Recommended threads
- Failed to verify JWT. Invalid token: Exp...
Hi I am trying to call a function from my mobile app, but I am receiving "Invalid token expired." My code looks more or less like this ```ts // from my app ...
- How do I pair Polar.sh + Hono + Appwrite...
This is what all it required by polar to see the webhook data. Managing with webhook data is not an issue, but how do I pair this all with appwrite functions st...
- The function became slower after being e...
I used the Python SDK and set `xasync=True` in `create_execution`, expecting it to execute quickly on another worker. However, the execution ended up taking sev...
