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
- HTTP POST to function returning "No Appw...
Hi everyone, I’m running into an issue with my self-hosted Appwrite instance. I’ve set up my environment variables (APPWRITE_FUNCTION_PROJECT_ID, APPWRITE_FUNC...
- Can't add dart 3.5 runtime
Modified the `.env` to enable dart 3.5 runtime on my self-hosted instance but still can't find the runtime when creating a new function. I manually pulled the i...
- How to verify an user using AppWrite Fun...
I have seen similar questions but none whose solutions serve me. I have a function to verify a user with their secret and their id: https://blahblah.appwrite.gl...