An internal curl error has occurred while starting runtime! Error Msg: Runtime already exists.\nError Code: 500
Can you give some additional context and details?
This error appears when I execute a function. After conducting several experiments, I’ve noticed that sometimes the function gets stuck in execution until a timeout error is displayed. Following this, it remains stuck in all executions for a certain period of time. However, if I stop the server and restart it, the function works fine again. I’m curious as to why this happens. Could it be related to cache or something similar? I’m also wondering if the _APP_FUNCTIONS_MAINTENANCE_INTERVAL, _APP_FUNCTIONS_INACTIVE_THRESHOLD, and _APP_MAINTENANCE_INTERVAL settings are related to this issue.
??
@Nour Could you also say if you are Self-Hosted or on the Cloud? Please use the tags in the posts so others can see more easily. For example:
Self-Hosted
What's the timing of things? Also, the executor logs around the time would be helpful
When I overloaded the function with numerous requests, all of them were executed synchronously at the same time. As a result, some of the executions received a 200 response, while others shows timeout error with a 500 response. After the function worker finished, if I tried to execute it again with a single call, it would get stuck in execution until a timeout error was displayed. This state would persist for a period of time, but if I restarted the server, it would work again.
??
Recommended threads
- Flutter OAuth2 webAuth Bug?
I created with flutter an app where I can login in with my Microsoft Account. When I compile it to Web (WASM) or Android (aab) then there is no problem what so ...
- Function running for more than 2 hours i...
This is my projectID: 669fe01b003800dd0503 Cloud functionID is 696ea05400147eb8eb3b I hope this doesn't count against my GB-hours?
- Session not found. Please run appwrite l...
I have encounter an issue with appwrite CLI They asking for a login session but in the doc, it’s mention that only setup client with endpoint / api key is enou...