aws / aws/aws-lambda-runtime-interface-emulator
Getting a 502 Bad Gateway response during the local testing of the container based lambda
- Ngôn ngữ chính
- Go
- Star
- 1.1k
- Fork
- 118
- Merge trung bình
- 42 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
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/)
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- aws, docker, python
- Lĩnh vực
- cloud, devops
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100