Back

Error in function execution

  • 0
  • Functions
  • Cloud
versun
27 Sep, 2023, 01:38
TL;DR
There is an error occurring with the function execution, specifically with the rss_action function in the RSS_Translator project. The error message is "An internal curl error has occurred within the executor! Error Msg: Connection reset by peer\nError Code: 500." It seems to be an intermittent problem that occurs when the function runs for a longer period of time. After redeploying the function, the error does not occur again for a while. There is also a separate Docker error related to conflicting container names. The issue seems to occur after the function has been successfully executed multiple times. The open source code is not available, but there is
versun
27 Sep, 2023, 01:39

BTW, I also got multiple error: An internal curl error has occurred within the executor! Error Msg: Connection reset by peer\nError Code: 500

versun
27 Sep, 2023, 01:42

After I manually re-deploy the function, the problem doesn't occur again for a while, but it's will occurs again after the function has been successfully executed multiple times

versun
27 Sep, 2023, 01:42

Hi @Steven Could you please help to check this issue. Thanks a lot

versun
27 Sep, 2023, 01:44

It's seams will occur after one hour

Drake
27 Sep, 2023, 02:10

@Meldiron it sounds like this could be related to the maintenance task that removes inactive runtimes

versun
27 Sep, 2023, 08:28

It seems that docker related errors only appear in the 00:00 am to 00:30 am UTC time zone

versun
28 Sep, 2023, 00:26

never happened again, it's worked now

Christy Jacob
28 Sep, 2023, 14:58

πŸ˜…

versun
29 Sep, 2023, 23:27

Guys, I am still get docker error: An internal curl error has occurred while starting runtime! Error Msg: Docker Error: docker: Error response from daemon: Conflict. The container name "/exc4-RSS_Translator-651683d59fe35b3aae61" is already in use by container "c11239954a38726a023d91a489023009d63573d75c2f885106e89c6e2b118313". You have to remove (or rename) that container to be able to reuse that name. See 'docker run --help'. \nError Code: 500

And it's working now after redeploy the function

Drake
29 Sep, 2023, 23:28

what's your code?

versun
29 Sep, 2023, 23:28

python

Drake
29 Sep, 2023, 23:28

i mean your actual function code

versun
29 Sep, 2023, 23:29

oh, It has over 700 lines.....

versun
29 Sep, 2023, 23:29

It usually runs for about 1-5 minutes

versun
29 Sep, 2023, 23:31

I don't have the open source code yet, but I can send it to you if needed

versun
29 Sep, 2023, 23:37

oh, i got a error after redeploy Error: An internal curl error has occurred within the executor! Error Msg: Connection reset by peer\nError Code: 500 But it's ok. This was common before, just run it again

Drake
29 Sep, 2023, 23:38

the longer your function runs. the more likely this type of stuff will happen, especially if it doesn't run frequently

Drake
29 Sep, 2023, 23:39

sure, i can take a quick peek

versun
29 Sep, 2023, 23:44

I've sent it to you privately. Please check it. Thanks!

Drake
29 Sep, 2023, 23:52

what's your function id and project id?

Drake
29 Sep, 2023, 23:54

this is the primary intermittent problem, right?

versun
29 Sep, 2023, 23:56

project id is RSS_Translator

versun
29 Sep, 2023, 23:57

function id is rss_action

versun
29 Sep, 2023, 23:57

yes

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