Lightsail push-container-image RequestError: send request failed

0

My configuration: aws lightsail --version aws-cli/2.5.5 Python/3.9.11 Darwin/19.6.0 exe/x86_64 prompt/off

From the CLI I first create my container service: aws lightsail create-container-service --region us-east-1 --service-name testbuildcert --power micro --scale 1

I get json returned back and from the Console I can see the service so all is good there.

I then attempt to push a local docker image to the service. When I run the push-container-image command it takes 30 to 60 seconds before it completely errors out: aws lightsail push-container-image --region us-east-1 --service-name testbuildcert --label myservicelabel --image nginx-server:latest WARNING: You are using version 1.0.0 of lightsailctl, but version is available. To download, visit https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-install-software RequestError: send request failed caused by: Post "https://lightsail.us-east-1.amazonaws.com/": dial tcp: i/o timeout

Command '['lightsailctl', '--plugin', '--input-stdin']' returned non-zero exit status 1.

Thinking that the lightsailctl is out dated I've tried to update it but I keep getting the same warning. Is this truly an issue with lightsailctl or something else?

asked 2 years ago76 views
No Answers

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