ErnestOriginal post
Rank 4: Virtual Machine
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:
[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
Summary
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.