An internal curl error has occurred within the executor! Error Msg: Http invalid protocol\nError Code: 500
This is the error I just got while executing my function. There's no other error or log, and no idea where this happened or why.
Anyone got any ideas?
It is supposed to create about 1800 documents or something like that, through 4 collections.
It only partially creates them, like some collections get documents, some are empty, and that error occurs.
Curious why would it happen because exec time is set to 120 seconds and it was working just finr yesterday..
Some questions:
- how long does it run for?
- What version of Appwrite are you on?
- What is your
_APP_FUNCTIONS_MAINTENANCE_INTERVAL
env var set to?
It is in cloud so it's 1.4.3 it runs for about 30-33 seconds _APP_FUNCTIONS_MAINTENANCE_INTERVAL what is this?
@Steven
If you are able to see some other logs in the cloud
Here's project ID 651097a3dacb8d5a5c5e
And function ID 6510ac4b1043e0009acb
oh cloud. nvm
how much time between executions? What exactly is the execution history?
Message I sent is the only execution log
does it fail consistently?
maybe something is wrong with the function code?
I wouldn't know at this point because all utilities that generate collections have same code . And they were working yesterday
But I will double check I guess π€·
I'll have to pick this up tomorrow
@Steven
Quick update.
I just ran my function without doing any changes to it.
It now added users, added collections, but added 0 documents and failed with the same error.
Yesterday it added 800+ documents in 2 collections, out of 4.
So It is safe to assume that my code isn't wrong after all?
It works outside a function yah?
I think it's literally just timed out
π
I think we cap functions to no longer than x number of seonds
@Meldiron
What's our cap?
But I added 120s to the timeout
Where did you set the timeout
If it's self-hosted, there's 2 locations
Recommended threads
- [SOLVED] OAuth With Google & Flutter
Hi all, I'm trying to sign in with google and it all goes swimmingly until the call back. I get a new user created on the appwrite dashboard however the flutte...
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...
- My organization's project is blocked
My organization's project is blocked so unblocked my organization then I will this