Unexpected curl error between proxy and executor ID exc5 (104): Connection reset by peer\nError Code
- 0
- Functions
- Cloud
Timeout was 30 before.
Cron schedule is every weekday at 4:30 UTC
Ok so increasing it will help
I would try to make it run faster, though. The longer it runs without completing successfully, the more likely it is to be killed and removed due to inactivity
If there are 20k documents, I’m querying it for the top 13 records based on time and correct answer.
We might get over 100k submissions too
What’s the best way.
I’m getting that error after increasing alsoo
Use queries to filter and sort.
https://appwrite.io/docs/products/databases/queries#query-class https://appwrite.io/docs/products/databases/order
You should also look into breaking your function to perform smaller, more frequent executions
Yess. I have used it.
Whats the ideal timeout for my case ?
You set it to how long it typically runs for ..
But the long running execution is a separate problem you should address
Okayy. But why do I this error ?
Yeahh but the max timeout is 900secs right ?
Mine’s not even going over 30secs
No, this is irrespective of your timeout
Its bot taking so much time know then. Why is it getting killed
Thanks. Got it.
Is there any workaround for resolving this ?
Make your function finish faster...
Is that the only option ? Coz my function depends upon other apis.
I would focus on what I suggested
Actually, we dont have that option since we are dependent on external APIs.
Recommended threads
- TLS provisioning failure for custom doma...
Hi Appwrite team, we’re using Appwrite Sites and TLS provisioning for our custom domain fails. Domain: somnara.app Error: Failed to create TLS subscription –...
- Functions Problem
Whenever I run my AI Generate through Appwrite Functions, I am getting this Call Stack AIService.generateServer (src\services\ai\gemini.ts) next (<native>) ...
- How Can I Create landing page in appwrit...
I created function called invoice URL https://app.getrestt.com/v1/functions/invoice/executions?id=test-76f948fe83c43422561fe096c0674a1bd3ff0702cdfcf2444293ab31...