[英]AWS Lambda Task timed out after 3.00 seconds
I created a simple Node.js script to connect to a RDS instance but sadly it always returns with timeout error.我创建了一个简单的 Node.js 脚本来连接到 RDS 实例,但遗憾的是它总是返回超时错误。 It is strange because it works perfectly from my machine.这很奇怪,因为它在我的机器上运行完美。
The instance is public accessible and context.callbackWaitsForEmptyEventLoop = false;该实例可公开访问且 context.callbackWaitsForEmptyEventLoop = false;
have you got any idea?你知道吗?
Lambda has a property of time out. Lambda 具有超时属性。 Have you checked this configuration in the Lambda via console (Basic configuration) or in your deployment template file?您是否通过控制台(基本配置)或部署模板文件在 Lambda 中检查过此配置?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.