aws / aws/aws-lambda-runtime-interface-emulator

curl: (52) Empty reply from server

オープン
#42 コメント 2 件 リアクション 2 件 担当者 0 名 GitHub で見る
bug
主要言語
Go
スター
1.1k
フォーク
118
平均マージ
42分
マージ済み PR(30日)
2

説明

I recently ran into an issue trying to test a Lambda function locally with the provided base images. My handler is written in Go. Testing with both `public.ecr.aws/lambda/go:1` and `public.ecr.aws/lambda/provided:al2` gives the same error when attempting to curl the handler locally.

Here are the directions I was attempting to follow to test my function locally. https://gallery.ecr.aws/lambda/go (the Usage tab)

I ended up here after finding this workaround: https://github.com/aws/aws-lambda-runtime-interface-emulator/issues/26. It's my understanding that these steps shouldn't be needed when working with one of the provided Docker images. If there is a better repository to file this issue please let me know. Thanks.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Lambda Go gallery の Usage 手順から始め、public.ecr.aws/lambda/go:1 と public.ecr.aws/lambda/provided:al2 に対する curl リクエストを再現します。aws/aws-lambda-runtime-interface-emulator#26 の workaround と動作を比較します。ローカル handler が空の応答を返す理由を特定し、影響を受ける image または手順を文書化または修正できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, go
領域
backend, cloud
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。