Deployment Error: node_http_parser_impl.h Assertion Failed

Hello,

I’m running into a problem with my deployment. It has been working fine until today. I didn’t make any changes to my deployment prior to the problem.

I checked the lambda function graphql log and find the following error:

6:17:46 PM: /var/lang/bin/node[7]: ../src/node_http_parser_impl.h:529:static void node::{anonymous}::Parser::Initialize(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[3]->IsInt32()' failed.
6:17:46 PM: 1: 0x55e6c86f71a3 node::Abort() [/var/lang/bin/node]
6:17:46 PM: 2: 0x55e6c86f7232  [/var/lang/bin/node]
6:17:46 PM: 3: 0x55e6c8715564  [/var/lang/bin/node]
6:17:46 PM: 4: 0x55e6c891a0a6  [/var/lang/bin/node]
6:17:46 PM: 5: 0x55e6c891bde1 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [/var/lang/bin/node]
6:17:46 PM: 6: 0x55e6c91ba519  [/var/lang/bin/node]
6:17:46 PM: Duration: 347.30 ms	Memory Usage: 123 MB	
6:17:46 PM: RequestId: a489e74c-c307-40e6-8535-6bffa5d24b77 Error: Runtime exited with error: signal: aborted (core dumped)
Runtime.ExitError

My app uses redwoodjs. I found a suggestion from the redwoodjs community to use nodejs v12.18.4. But it doesn’t solve my problem.

Hiya @vidalab! Sorry to say our Support team doesn’t know anything about redwood and this is something specific to that plugin, so hopefully that team can help you out further with this issue.