An internal curl error has occurred within the executor! Error Msg: Http invalid protocol
- 0
- Self Hosted
- Functions
Most of the calls I make to my functions fails with this error.
For example, when I open my app it will fetch 4 items from the database and for each item it will call a function passing their id and the function will only make a query to the database ($databases->getDocument('proj', 'db', 'id')) and a request to an external API using GuzzlePHP (takes less than 500ms when I make this APIrequest through postman). Appwrite fails almost all the time with the error above and sometimes with others like the ones below:
Failed to connect to appwrite-executor port 80 after 10243 ms: Couldn't connect to server with status code 0\nError Code: 0
or
Operation timed out after 30001 milliseconds with 0 bytes received with status code 0\nError Code: 0
The errors above I see in the openruntimes-executor container. If I go to the logs of the container it creates to run the functions I only see
Warning: foreach() argument must be of type array|object, null given in /usr/local/server/src/server.php on line 86
Is there any way I can see more detailed logs? I have no idea what's going on.
Recommended threads
- Selfhost - Starting Docker containers fa...
I am stuck at installing appwrite. Specifically, the containers dont want to start up. The images are downloaded and ready. Dockhand is reporting containers st...
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...