SAM local invoke got docker image error

0

i want to build and debug SAM applicaiton in vs code. However, everytime I run "sam local invoke", I got the below error. Any idea?

Invoking app.lambdaHandler (nodejs14.x) Local image was not found. Removing rapid images for repo public.ecr.aws/sam/emulation-nodejs14.x Building image...... Failed to build Docker Image NoneType: None Error: Error building docker image: Get "https://public.ecr.aws/v2/": proxyconnect tcp: dial tcp 192.168.65.7:3128: connect: connection refused

  • Can you detail your env: OS? SAM version ? etc.

asked 9 months ago795 views
1 Answer
0

What is your local operating system?
It is possible that changing the settings in template.yaml may improve the situation depending on the OS architecture.
https://stackoverflow.com/questions/75216548/aws-sam-cli-throws-error-error-building-docker-image
https://github.com/aws/aws-sam-cli/issues/4771

profile picture
EXPERT
answered 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions