'Assertion `(execute_depth_) == (0)' failed

One of the endpoints in my express.js applications ruins the whole process. In the logs I see this:

node[9]: ../src/node_http_parser.cc:741:v8::Local<v8::Value> node::{anonymous}::Parser::Execute(const char*, size_t): Assertion `(execute_depth_) == (0)' failed.      

I found this code in node_js, but I cannot figure out why it can happen. So in the logs, I see the above line, and then k8 restarts the pod.

Any help how to debug it or why it could help - will be appreciated.

I use node@16, swagger-tools, express.js



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source