aws / amazon-ssm-agent

An agent to enable remote management of your EC2 instances, on-premises servers, or virtual machines (VMs).
https://aws.amazon.com/systems-manager/
Apache License 2.0
1.05k stars 323 forks source link

Issue with latest agent on Ubuntu #312

Closed janavenkat closed 3 years ago

janavenkat commented 3 years ago

Started the session and it's stopped immediately.

# systemctl status amazon-ssm-agent
● amazon-ssm-agent.service - amazon-ssm-agent
   Loaded: loaded (/lib/systemd/system/amazon-ssm-agent.service; disabled; vendor preset: enabled)
   Active: inactive (dead)

Oct 12 13:49:08 ip-xxx amazon-ssm-agent[1860]: 2020-10-12 13:49:08 INFO Backing off health check to every 600 seconds for 1800 seconds.
Oct 12 13:49:56 ip-xxx amazon-ssm-agent[1860]: 2020-10-12 13:49:56 ERROR Health ping failed with error - RequestError: send request failed
Oct 12 13:49:56 ip-xxx amazon-ssm-agent[1860]: caused by: Post https://ssm.eu-west-1.amazonaws.com/: dial tcp: lookup ssm.eu-west-1.amazonaws.com on xxx:53: read udp xxx:xxx->xx:xxx: i/o timeout
Oct 12 13:50:41 ip-xxx systemd[1]: Stopping amazon-ssm-agent...
Oct 12 13:50:41 ip-xxxx amazon-ssm-agent[1860]: 2020-10-12 13:50:41 INFO Got signal:terminated value:0x562c59f46950
Oct 12 13:50:41 ip-xx amazon-ssm-agent[1860]: 2020-10-12 13:50:41 INFO Stopping agent
Oct 12 13:50:41 ip-xxx systemd[1]: Stopped amazon-ssm-agent.
Oct 12 13:51:05 ip-xxx systemd[1]: Stopped amazon-ssm-agent.
Oct 12 13:52:18 ip-xxx systemd[1]: Stopped amazon-ssm-agent.
Oct 12 13:52:24 ip-xxxx systemd[1]: Stopped amazon-ssm-agent.
janavenkat commented 3 years ago

issue caused by DNS

dipendrachaudhary commented 1 year ago

how to resolve this