amazon-ecs-cli icon indicating copy to clipboard operation
amazon-ecs-cli copied to clipboard

Failed to lookup ecs.ap-southeest-1.amazonaws.com

Open RaphaelMui opened this issue 9 years ago • 3 comments

My acs-cli request always return 'no such host' error.

$ ecs-cli ps ERRO[0001] Error executing 'ps RequestError: send request failed caused by: Post https://ecs.ap-southeest-1.amazonaws.com/: dial tcp: lookup ecs.ap-southeest-1.amazonaws.com on 8.8.8.8:53: no such host

I can successfully ping ecs.ap-southeest-1.amazonaws.com

PING ecs.ap-southeast-1.amazonaws.com (52.95.35.7): 56 data bytes 64 bytes from 52.95.35.7: icmp_seq=0 ttl=237 time=83.782 ms 64 bytes from 52.95.35.7: icmp_seq=1 ttl=237 time=215.714 ms 64 bytes from 52.95.35.7: icmp_seq=2 ttl=237 time=108.952 ms 64 bytes from 52.95.35.7: icmp_seq=3 ttl=237 time=156.533 ms 64 bytes from 52.9....

I am running on MacOS and my ecs-cli version is 0.5.0

RaphaelMui avatar Apr 12 '17 04:04 RaphaelMui

Looks like there's a typo in "ecs.ap-southeest-1.amazonaws.com", the correct endpoint is "ecs.ap-southeast-1.amazonaws.com"

yinshiua avatar Apr 12 '17 07:04 yinshiua

Yes. I just figured it out that this is my typo.

Thank you very much.

RaphaelMui avatar Apr 12 '17 09:04 RaphaelMui

Same for me, wrote eu-center-1 instead of eu-central-1...

stephanebruckert avatar Sep 13 '19 21:09 stephanebruckert