Back

1.4.3 Function Http Invalid Protocol

  • 0
  • Functions
Kenny
20 Sep, 2023, 18:59

Any ideas what could be causing this error

An internal curl error has occurred within the executor! Error Msg: Http invalid protocol\nError Code: 500

It happens when calling a chrome.exe file, so I'm sure it has to do with that but I'm wondering why its making this 500 appear.

TL;DR
The user is experiencing an error related to the function Http invalid protocol. This error occurs randomly when launching Chrome or fetching from cache. Logs before the error are not available in the console. The error may be caused by attempting to execute `context.log(result)` where result is `storage.get_file_download()` bytes result. It is unclear whether the runtime is blocking and not returning data or if a fatal error is causing the runtime container to crash. Another user has the same issue and is looking for a solution. The error occurs when calling a chrome.exe file. The cause of the error and why it produces a 500 error code are unknown.
dch09
23 Sep, 2023, 15:36

I have the same issue. Did you managed to fix it somehow?

Kenny
23 Sep, 2023, 18:32

No

Drake
23 Sep, 2023, 21:44

Maybe some fatal error is occurring causing the runtime container to crash?

Drake
23 Sep, 2023, 21:47

Or the runtime is blocking and not returning data?

dch09
24 Sep, 2023, 11:59

In my scenario it was casued by attempt to execute context.log(result) where result was storage.get_file_download() bytes result

dch09
24 Sep, 2023, 12:00

What's interesting is that logs before this line were not available in the console.

Dave
24 Sep, 2023, 12:14

Run the function a second time. I get this error each time the first execution after a manual deploy

Kenny
24 Sep, 2023, 13:44

I've noticed that but I also noticed I get it at random other times. Like when i tried to launch chrome in the above instance, or when fetching from cache.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more