AWS Cloudwatch: ec2tagger: Unable to describe ec2 tags for initial retrieval: RequestError: send request failed caused by: Post "https://ec2.ap-southeast-1.amazonaws.com/": dial tcp

0

Hi, I am running my ec2 on windows 2019. I have installed the CWAgent and the service is running. However, the cloudwatch console is unable to capture the metrics (logical disk % free space and memory %), even though i have listed it in the config file.

From the OS logs, I can see this error: ec2tagger: Unable to describe ec2 tags for initial retrieval: RequestError: send request failed caused by: Post "https://ec2.ap-southeast-1.amazonaws.com/": connecte: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

I have tried to run tnc monitoring.ap-southeast-1.amazonaws.com -port 443 and the connection is true.

Any tips on how to resolve the error?

Penguin
asked 6 months ago652 views
1 Answer
1

Hello.

Please check the answer below.
This error may occur if there is no route to communicate from EC2 to "https://ec2.ap-southeast-1.amazonaws.com/" or if you do not have IAM permissions.
https://repost.aws/questions/QUG8FJfdmhRjGO8US24tZRag/ec2-instance-centos7-running-on-a-vpc-cannot-start-amazon-cloudwatch-agent#ANl8Exc_8rQuujZqQK_jxn6A

profile picture
EXPERT
answered 6 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