Skip to content
Back

Cloud Function go down regularly

  • 0
  • Functions
  • Cloud
circuit6
5 Aug, 2025, 13:13

I dont have great numbers here for you, since I just test it every few hours on DEV

TL;DR
Cloud Function in Golang experiencing recurring downtime, affecting multiple developers. Requests not showing in Console-UI; edge case issue identified but under review. Developers advised to increase CPU/memory. To assist, devs requested to share error logs from 500 requests. Function orchestrates API calls, with HTTP processing and database queries. Despite some success, function unreliable on a daily basis. Collaboration ongoing with serverless team. Contact for more info: twilliams@docutrust.ai and atimofeev@docutrust.ai.
eldad
5 Aug, 2025, 13:13

how many 500 do you see recently? even a rough number will do

circuit6
5 Aug, 2025, 13:14

Every execute - so if I use our auto-complete tool (it sends 1x API call after you stop typing in an editor for >500ms), I might have 50x of those 500 errors in a span of 2 minutes

circuit6
5 Aug, 2025, 13:15

And randomly: it works now again

circuit6
5 Aug, 2025, 13:15

πŸ˜„

circuit6
5 Aug, 2025, 13:16
eldad
5 Aug, 2025, 13:17

cool, got it. I do see one issue on our error logs, but its related to an edge case we're already working on a fix for and it only happened one time last 24h. I'll get in touch with our serverless team to dive deeper into the logs. Can you tell if this specific function is doing more intensive work cpu/memory wise?

eldad
5 Aug, 2025, 13:19

@circuit6 did you try increasing cpu and memory to see if this issue persist?

circuit6
5 Aug, 2025, 13:21

The function orchestrates a bunch of API calls - but its nothing too heavy I would say.

main tasks I believe are:

HTTP request/response processing JSON parsing Basic string operations Database queries

circuit6
5 Aug, 2025, 13:21

The function is running on 4x CPU and 4GB RAM

circuit6
5 Aug, 2025, 13:21

Runtime: golang

circuit6
5 Aug, 2025, 13:27

More than happy to help you - We really want to make appwrite functions work and we would kill for 100% stability

eldad
5 Aug, 2025, 13:27

for sure, we're making this a high priority issue for the serverless engineers RN - I'll make sure they reach out if they need to.

eldad
5 Aug, 2025, 13:28

@circuit6 btw, do you have and error logs you can share from the 500 requests?

circuit6
5 Aug, 2025, 13:28

No - the Executions do not show in the Console-UI

opbaba_
5 Aug, 2025, 13:28

My functions aren't working

opbaba_
5 Aug, 2025, 13:28

The execution isn't starting

opbaba_
5 Aug, 2025, 13:29
circuit6
5 Aug, 2025, 13:29

here: you can only see that successfull functions show

circuit6
5 Aug, 2025, 13:29

We flagged this exact issue with @Steven last week too

Darshan Pandya
5 Aug, 2025, 13:30

cc @Meldiron

opbaba_
5 Aug, 2025, 13:30

Seems like a lot of people have the functions not running

eldad
5 Aug, 2025, 13:36

@circuit6 we added some better logging to our systems, if you can try and reproduce the errors now we might be able to get better visibility.

circuit6
5 Aug, 2025, 13:37

Will add Details, as soon as we got them

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