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