Back

Error Msg: Connection reset by peer

  • 0
  • Functions
ianmont
12 Apr, 2023, 22:22

While I was testing a function, one gave an error saying "Error Msg: Connection reset by peer", it only happened once and it didn't happen again, I wonder what is that error?

TL;DR
The user is experiencing an error message saying "Connection reset by peer". They are wondering if they can prevent the maintenance task from discarding their functions every half hour or if they can increase the time of the maintenance. They also mention that they encountered an error message saying "Error Msg: Connection reset by peer" while testing a function.
Tessa
12 Apr, 2023, 22:29

Maybe unstable internet?

Also, is this related to your issue? https://discord.com/channels/564160730845151244/1086623492562239578

ianmont
13 Apr, 2023, 00:05

thanks for the response, it is related, I still have a doubt, the maintenance task that appwrite has to save resources, runs every half hour and discards the functions that continue to be processed, did I understand correctly?

The thing is that my function takes a little time, between 1 to 3 minutes, is there anyway i can I prevent the maintenance task from throwing away my function every half hour, or at least increase the time of the maintenance in this way it will not throw my functions so frecuently?

Drake
13 Apr, 2023, 00:32

See the _APP_FUNCTIONS_INACTIVE_THRESHOLD environment variable: https://appwrite.io/docs/environment-variables#functions. You would probably have to increase this to however long your function takes to execute.

joeyouss
24 Apr, 2023, 07:54

Hi @iamdinesh - do you need more help with this?

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