Rank 1: Thread
I have rewritten a working node cloud function to the new syntax. The function is triggered on a create or update event in a bucket.
When I try to access the file that triggered the function I have the following Error: "An internal curl error has occurred within the executor! Error Msg: Http invalid protocol\nError Code: 500"
I'm testing on a local Appwrite instance. All other functions I have rewritten are working. Only storage access seems to be broken.
Do you have an idea what could cause this problem?
openruntimes-executor | [Error] Message: An internal curl error has occurred within the executor! Error Msg: Http invalid protocol
openruntimes-executor | [Error] File: /usr/local/app/http.php
openruntimes-executor | [Error] Line: 1027
openruntimes-executor | Skipping runtimes stats loop due to error: Docker Error: EOF
[...]
const promise = storage.getFileView(bucketID, fileID);
promise.then(
function (response) {
log(response);
},
function (error) {
log(error);
}
);
[...]