Skip to content
Init is here / May 19 - 23
Back

[SOLVED] Functions timeout execution

  • 0
  • Functions
Alfredo
22 Nov, 2023, 02:15

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:

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 🙏

TL;DR
Issue: The user is experiencing a timeout error when trying to execute functions on their self-hosted installation of Appwrite. Solution: The issue was resolved by adjusting the firewall settings in the user's digital ocean droplet. They had to follow the instructions in another thread, and after making the necessary changes, the functions started working.
ideclon
22 Nov, 2023, 02:37

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?

Alfredo
22 Nov, 2023, 02:38

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

Alfredo
22 Nov, 2023, 02:41

wow, it is working now, it had to do with firewall settings in my digital ocean droplet, I appreciate your quick response

ideclon
22 Nov, 2023, 03:02

If your issue has been solved, you can close this post by adding “[SOLVED]” to the beginning of the title

Alfredo
22 Nov, 2023, 03:21

sure thank you

Alfredo
22 Nov, 2023, 03:22

[SOLVED] Functions timeout execution

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more