i have an error with AWS lambda function with nodejs 4.3,
[ERROR] (get_int_from_env@src/lambda/runtime.c:493 errno: None) temp_str = getenv(env_name) failed.
[ERROR] (get_int_from_env@src/lambda/runtime.c:493 errno: None) temp_str = getenv(env_name) failed.
[ERROR] (runtime_init@src/lambda/runtime.c:532 errno: None) ((fd =get_int_from_env("_LAMBDA_LOG_FD", 1))) >= 0 failed. invalid file descriptor -1
[ERROR] (runtime_init@src/lambda/runtime.c:560 errno: None) Runtime internal error
I think _LAMBDA_LOG_FD is environment variable set internally that indicates the file descriptor for logging. I did not found anything in the documetation here!
For information, my lambda function uses cluster with fork process.
Someone can give a clue to resolve this issue ? Do you need more informations? and if yes , which one?
Thanks a lot