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
- Function global variables
when i create a top-level global variable in go or bun how will it behave? is the heap getting renewed on every execution or could i do some kind of temp. cachi...
- Appwrite Auth & Function don't reveal cl...
When I execute a function or sign in with my Flutter app, Appwrite does not show my real IP: instead, it seems that Appwrite shows Fastly CDN IP address.
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...