2

我在 AWS C9 环境中的 AWS Lambda 上创建了一个 Lambda 函数。该功能在本地运行良好,但在部署后,它在远程超时。

这是错误:

Error: 
HTTPSConnectionPool(host='lambda.us-east-2.amazonaws.com', port=443): Read timed out. (read timeout=60)

at convertStderrToError (https://d373lap04ubgnu.cloudfront.net/c9-2108b841e591-ide/build/configs/ide/@aws/cloud9/configs/ide/environment-default.js:9982:33)
at exports.EventEmitter.<anonymous> (https://d373lap04ubgnu.cloudfront.net/c9-2108b841e591-ide/build/configs/ide/@aws/cloud9/configs/ide/environment-default.js:9974:70)
at exports.EventEmitter.EventEmitter.emit (https://d373lap04ubgnu.cloudfront.net/c9-2108b841e591-ide/build/configs/ide/@aws/cloud9/configs/ide/environment-default.js:19:23)
at Consumer.onExit (https://d373lap04ubgnu.cloudfront.net/c9-2108b841e591-ide/build/configs/ide/@aws/cloud9/configs/ide/environment-default.js:48909:80)
at Consumer.<anonymous> (https://d373lap04ubgnu.cloudfront.net/c9-2108b841e591-ide/build/configs/ide/@aws/cloud9/configs/ide/environment-default.js:48698:4)
at Consumer.Agent._onMessage (https://d373lap04ubgnu.cloudfront.net/c9-2108b841e591-ide/build/configs/ide/@aws/cloud9/configs/ide/environment-default.js:48778:4)
at EngineIoTransport.EventEmitter.emit (https://d373lap04ubgnu.cloudfront.net/c9-2108b841e591-ide/build/configs/ide/@aws/cloud9/configs/ide/environment-default.js:48538:16)
at module.exports.onMessage (https://d373lap04ubgnu.cloudfront.net/c9-2108b841e591-ide/build/configs/ide/@aws/cloud9/configs/ide/environment-default.js:48838:6)
at module.exports.EventEmitter.emit (https://d373lap04ubgnu.cloudfront.net/c9-2108b841e591-ide/build/configs/ide/@aws/cloud9/configs/ide/environment-default.js:18:23)
at module.exports.ReliableSocket.onMessage (https://d373lap04ubgnu.cloudfront.net/c9-2108b841e591-ide/build/configs/ide/@aws/cloud9/configs/ide/environment-default.js:49026:76)

我可以看到问题不在我的代码中,因为该函数甚至没有被调用。有小费吗?

4

0 回答 0