Back

[SOLVED] Runtime failed to launch in allocated time.

  • 0
  • Functions
SenZi
8 Jun, 2023, 17:36

i've sent it via dm

TL;DR
Users are experiencing an issue where a function fails to launch within the allocated time. Some suggestions include checking server resources, trying a different VPS, and monitoring logs for any useful information. It is unclear if upgrading the server or resolving a different error message would solve the issue. The potential causes mentioned include server load, varying execution times, and potential frontend UI bugs. No specific solution is provided in the thread.
Drake
9 Jun, 2023, 01:24

these logs say the function is triggered by HTTP, but it looks like this function is supposed to be triggered by event 🧐

SenZi
9 Jun, 2023, 07:32

oh ya that's true, it's supposed to be triggered by user session create event

SenZi
9 Jun, 2023, 10:47

its some frontend ui bugs ig, i checked all the executions now and it says event

SenZi
9 Jun, 2023, 10:49

i get these errors as well today: An internal curl error has occurred within the executor! Error Msg: Connection reset by peer

An internal curl error has occurred within the executor! Error Msg: Host is unreachable

An internal curl error has occurred within the executor! Error Msg: Operation timed out

SenZi
9 Jun, 2023, 10:49

Are these because of the traffic?

Drake
9 Jun, 2023, 13:59

connection reset by peer occurs when it is killed by the maintenance task while processing.

host is unreachable is odd...

can you share the latest executor logs again?

Drake
9 Jun, 2023, 13:59

how long does this function typically execute for when it runs successfully?

SenZi
9 Jun, 2023, 14:04

well that particular function is all over the place ig

SenZi
9 Jun, 2023, 14:05

it just isnt one function has has an issue, any function that once timesout will no longer work without restart

Drake
9 Jun, 2023, 14:07

that is quite odd it varies so much..

Drake
9 Jun, 2023, 14:07

let's just focus on 1

SenZi
9 Jun, 2023, 14:08

i'm thinking is it because of server load?

Drake
9 Jun, 2023, 14:12

could be...if you're getting a lot of requests to the server

SenZi
9 Jun, 2023, 15:05

well everything seems to be working for now, until some function timesout

Guille
19 Jun, 2023, 13:07

[SOLVED] Runtime failed to launch in allocated time.

SenZi
19 Jun, 2023, 17:07

Hi @Steven , the issue seems to be back, the function is failing with the error message "Runtime failed to launch in allocated time."

SenZi
19 Jun, 2023, 17:08

the latest error seems to be some xml response

Drake
19 Jun, 2023, 17:17

Can you share?

Drake
19 Jun, 2023, 17:21

This is also a different error message... Maybe you need a stronger server?

SenZi
19 Jun, 2023, 17:30

Its like a 4 core, 4gb ram server, but it doesnt even seem to be using that much resources either, so did not upgrade it.

Drake
19 Jun, 2023, 18:15

Some people have reported some VPS' say they have enough resources, but it doesn't really so you could try a different vps.

Otherwise, keep an eye on logs and see if you can find something useful. For now I'm not sure what else to do

SenZi
1 Jul, 2023, 16:31

Hi, this issue isn't solved nor able to find any solution for it as well...

JoeYi
6 Jul, 2023, 18:53

Hi, have the same issue, and i've tried what you mentioned before but it keeps failing. Some advices?

Drake
6 Jul, 2023, 19:46

Create a new <#1072905050399191082> post and include your code

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