aws / aws/aws-lambda-runtime-interface-emulator
Getting a 502 Bad Gateway response during the local testing of the container based lambda
- Linguagem predominante
- Go
- Estrelas
- 1.1k
- Forks
- 118
- Merge médio
- 42min
- PRs com merge (30d)
- 2
Descrição
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/)
Guia de contribuição
Direção de pesquisa
Comece com o exemplo awslambdaric e reproduza a requisição curl relatada contra o contêiner, incluindo a saída detalhada e a segunda requisição que trava. Compare o comportamento do contêiner Lambda com o teste funcional do Docker nginx; o trabalho estará concluído quando a causa do 502 e da requisição travada tiver sido identificada e corrigida ou documentada claramente.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- aws, docker, python
- Domínio
- cloud, devops
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100