Back

An internal curl error has occurred within the executor

  • 0
  • Self Hosted
  • Functions
Ernest
30 Apr, 2024, 20:06

I have a function (dart 3.3) that performs some heavy computation. Now, I understand that I can't call it synchronously since it'll be terminated (timeout) long before it completes. However, even after increasing the timeout to 15 minutes and running the function asynchronously (setting xasync: true) I'm still getting the same error (after about 30s to 1min). Anyone with any idea on how I can keep the function running longer?

Executer logs:

TypeScript
[Error] Type: Exception
[Error] Message: An internal curl error has occurred within the executor! Error Number: 104. Error Msg: Connection reset by peer
[Error] File: /usr/local/app/http.php
[Error] Line: 1027
TL;DR
Developers experiencing curl error 104 when attempting heavy computation in Dart within an executor. Even after setting timeout to 15 min and running the function asynchronously, the error persists. To resolve, consider adjusting timeout configurations or optimizing the heavy computation function to reduce resource consumption and completion time.
Steven
30 Apr, 2024, 20:34

What's the output of docker ps -a?

Ernest
30 Apr, 2024, 20:44

Here it is

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