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
- Clean install of 1.9.0 shows errors in a...
I just run a full clean install of Appwrite on my server following the Manual installation guide in the docs page. The console seems to work, visually there d...
- Setup custom domain on selfhosted behind...
Hello everyone, can anyone help me to setup a custom domain on a selfhosted appwrite instance thats running behind cloudflare tunnels? Current setup: Appwrite r...
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...