aws / aws/aws-lambda-runtime-interface-emulator
curl: (52) Empty reply from server
- 主要语言
- Go
- 星标
- 1.1k
- 派生
- 118
- 平均合并
- 42 分钟
- 30 天内合并 PR
- 2
描述
I recently ran into an issue trying to test a Lambda function locally with the provided base images. My handler is written in Go. Testing with both `public.ecr.aws/lambda/go:1` and `public.ecr.aws/lambda/provided:al2` gives the same error when attempting to curl the handler locally.
Here are the directions I was attempting to follow to test my function locally. https://gallery.ecr.aws/lambda/go (the Usage tab)
I ended up here after finding this workaround: https://github.com/aws/aws-lambda-runtime-interface-emulator/issues/26. It's my understanding that these steps shouldn't be needed when working with one of the provided Docker images. If there is a better repository to file this issue please let me know. Thanks.
贡献指南
调研方向
从 Lambda Go gallery 的 Usage 说明开始,重新执行针对 public.ecr.aws/lambda/go:1 和 public.ecr.aws/lambda/provided:al2 的 curl 请求。将行为与 aws/aws-lambda-runtime-interface-emulator#26 中的 workaround 进行比较;完成标准是确定本地 handler 返回空回复的原因,并记录或修正受影响的 image 或说明。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- docker, go
- 领域
- backend, cloud
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100