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
- Broken Appwrite can’t make functions nor...
Hii guys, I was having this issue with my locally hosted Appwrite, I can’t create functions ( both template and manual), I can’t make a custom domain ( like in ...
- Tips for Debugging Appwrite Functions Lo...
Hi everyone! 👋 I have an Appwrite Function running locally with Docker, but I’m struggling to debug it because execution doesn’t reach the breakpoints I set. ...
- AttributeError: 'Context' object has no ...
I'm getting an error executing my function. I'm not able to replicate this locally since I have to use a mock context. Is there a way to debug this kind of erro...