LAMBDA_RUNTIME Failed to get next invocation. No Response from endpoint
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 30/100
調査の方向性
報告された LAMBDA_RUNTIME ログと main 関数の run_handler エントリポイントから始め、handler(req) が戻るかどうか、また ShutdownAPI に到達する箇所を追跡します。runtime の動作から想定されるライフサイクルを確認し、CloudWatch に何が表示されるべきかを記録します。完了とは、endpoint メッセージと表示されない出力が説明されていることです。
索引モデルが issue の本文から書いたものです。
説明
Hi guys!
I just writing some lambdas in c++ using the aws-lambda-cpp
i checking my log and i have this Error in my log:
[ERROR] [1553201323958] LAMBDA_RUNTIME Failed to get next invocation. No Response from endpoint
do you know if this is normal? because i check and debug my code but i don't found nothing.
what my lambda do is extract the body from SQS request, and make a slack post with the message.
for that i use curl and have the ssl disable
other thing is i dont see a print message that i have in the main after the
invocation_response handler(invocation_request const &req) {
return invocation_response::success();
}
this is my main:
int main() {
//use AWS namespace and libs
using namespace Aws;
//set the log for the sdk
SDKOptions options;
//init AWS API
InitAPI(options);
{
auto handler_function = [](aws::lambda_runtime::invocation_request const &req) {
return handler(req);
};
run_handler(handler_function);
}
// shutdown the aws api
std::cout << "ShutdownAPI api" << "\n";
ShutdownAPI(options);
std::cout << "exit" << "\n";
//exit
return 0;
}
i dont see the Shutdown and exit print in the cloud-watch log
so the question
the ShutdownAPI(options); and the return 0 is never called?
thank you!!!
- 主要言語
- C++
- スター
- 465
- フォーク
- 98
- 平均マージ
- 1時間 16分
- マージ済み PR(30日)
- 2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
awslabs/aws-lambda-cpp のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
awslabs/aws-lambda-cpp#205 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
awslabs/aws-lambda-cpp#196 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
awslabs/aws-lambda-cpp#195 · コメント 11 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
awslabs/aws-lambda-cpp#194 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
awslabs/aws-lambda-cpp#188 ·
awslabs/aws-lambda-cpp の issue をすべて見る
似ている issue
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
QuantStack/git2cpp#187 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
mlcommons/mobile_app_open#1182 ·
-
Needs-Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/winget-cli#6547 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
AXERA-TECH/ax-llm#77 ·