aws / aws/amazon-ssm-agent

Reach the retry limit 5 for receive messages. Error: websocket: close 1006 (abnormal closure): unexpected EOF

Open
#256 5 comments 3 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.2k
Forks
357
PR merge metrics
No merged PRs in 30d

Description

Deployed a service to an ECS cluster and started routing traffic to it. We're seeing this error on our ECS hosts, about 2000 per day.

```
amazon-ssm-agent: 2020-02-07 13:56:49 WARN [MessageGatewayService] Reach the retry limit 5 for receive messages. Error: websocket: close 1006 (abnormal closure): unexpected EOF
```

What's going on here?

Contributor guide

Open the contributing guide

Research direction

Start with the MessageGatewayService receive-messages retry path and the logged websocket close 1006/unexpected EOF error. Determine what causes the retry limit to be reached on ECS hosts and what evidence distinguishes an agent problem from an infrastructure or connection problem. Done means the cause and an actionable resolution are documented or the behavior is corrected and verified against the reported failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.