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