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
已提問 7 個月前檢視次數 706 次
1 個回答
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
專家
已回答 7 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南