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
- Appwrite-injected variables are not avai...
I am using rust-1.83 as a runtime and try to access APPWRITE_FUNCTION_API_ENDPOINT or APPWRITE_FUNCTION_API_KEY during runtime. Both are not set during my execu...
- Functions in cloud console not works
please advise as all of my runing functions on Appwrite console was working before , but now it give this error [Invalid `headers` param: Value must be a valid...
- [SOLVED] Production down - createExecuti...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...