Hi, I need your support please. I am trying to deploy my first function to a self-host installation. I was able to execute functions locally but not in my server. I have tried with different URLs:
- .setEndpoint('http://app.do.inspiracode.com/v1')
- .setEndpoint('https://app.do.inspiracode.com/v1')
- .setEndpoint('http://137.184.113.45/v1')
- .setEndpoint('http://traefik/v1')
- .setEndpoint('http://appwrite/v1') however I am getting error: "Execution timed out."
I can see in my logs: "GET users" (take a look at the screenshot) So I assume this has to do with the endpoint URL Could you help me please 🙏
For the endpoint, you should use whatever you would use to access Appwrite in your browser /v1 (the second one here seems to be correct).
Are you sure the envvars are being set correctly?
I was just following the instructions in another thread and it seems it is now working, let me double check, I will let you know 🙂 https://discord.com/channels/564160730845151244/1155442466426736651/1156022884049879080
wow, it is working now, it had to do with firewall settings in my digital ocean droplet, I appreciate your quick response
If your issue has been solved, you can close this post by adding “[SOLVED]” to the beginning of the title
sure thank you
[SOLVED] Functions timeout execution
Recommended threads
- Local appwrite run functions --user-id n...
Hi, I'm running into an issue when testing Appwrite functions locally with user impersonation. I'm using a self-hosted Appwrite instance and running functions ...
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...