
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
- Create owner team member with Server fun...
I understand that when creating a team with a function, the user that made the request will not be the owner so I think I have to add the user that did the requ...
- Schedule a function job with timezone
I am aware that cron schedule will work on UTC timezone. I would like to run my function at a particular time everyday in new york time. If I use UTC, it will m...
- Appwrite processing global envs and chan...
So I define a global env - GCP_CREDENTIALS in global env of my appwrite projcet and refer to it in my functions as ```gcp_creds: JSON.PARSE(GCP_CREDENTIALS)```...
