aws / aws/aws-lambda-runtime-interface-emulator
Getting a 502 Bad Gateway response during the local testing of the container based lambda
未關閉
bug
- 主要語言
- Go
- 星號
- 1.1k
- 分支
- 118
- 平均合併
- 42 分鐘
- 30 天內合併 PR
- 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/)
貢獻指南
研究方向
從 awslambdaric 範例開始,針對容器重現回報的 curl 請求,包括詳細輸出以及會卡住的第二個請求。將 Lambda 容器的行為與正常運作的 Docker nginx 測試進行比較;當確定並修正 502 和卡住請求的原因,或將其清楚地記錄下來時,即可完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- aws, docker, python
- 領域
- cloud, devops
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100