Please fill out the sections below to help us address your issue.
v1.15.54
go version)?go1.11.2 darwin/amd64
RequestError: send request failed
caused by: Put https://
1) Copy example from github aws-sdk-go
2) build it
3) Run binary through docker scratch (+docker-compose)
Only creating this issue for those who had a similar issue, since I have already solved it (spend almost 2 days on it, and couldnt find any info online)
The solution is very simple:
Add RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/* to dockerfile
Hi @Kiura, thanks for reaching out to us! It doesn't look like there's anything that needs to be changed in the AWS SDK for Go for this to work as expected, so I'll be closing out the issue at this time.
@Kiura By adding the RUN command, I assume you moved away from the docker scratch image, right?
@Kiura By adding the RUN command, I assume you moved away from the
docker scratchimage, right?
@timvlaer I am not sure was this the reason but I am using alpine at the moment :)
Most helpful comment
The solution is very simple:
Add
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*to dockerfile