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