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

Getting a 502 Bad Gateway response during the local testing of the container based lambda

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

説明

I am following the example here https://pypi.org/project/awslambdaric/ . When I run the curl command to test the lambda I get no response. With the increased verbosity in the curl command I get the error 502 Bad gateway. The peculiar thing is that sending curl command again hangs - with the last message being "upload completely sent off: 2 out of 2 bytes". A standard docker nginx test works fine (something similar to https://www.docker.com/blog/how-to-use-the-official-nginx-docker-image/)

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

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

調査の方向性

Start with the awslambdaric example and reproduce the reported curl request against the container, including verbose output and the second request that hangs. Compare the Lambda container behavior with the working Docker nginx test; done means identifying and fixing or clearly documenting the cause of the 502 and hanging request.

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

評価

技術スタック
aws, docker, python
領域
cloud, devops
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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