You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 3, 2023. It is now read-only.
ecs-agent disconnected, ConnectionExpired: Reconnect to continue #122
ECS is complaining that it's lost connection with the agent. I was just curious if y'all have seen these errors before:
In the ECS console:
service docker-demo-app was unable to place a task because no container instance met all of its requirements. The closest matching container-instance af2a4711-2b8b-420a-8699-66623a6fa9c9 encountered error "AGENT". For more information, see the Troubleshooting section.
From docker log:
[WARN] Connection closed for a valid reason: websocket: close 1000 (normal): ConnectionExpired: Reconnect to continue
@achille-roussel correct, the logs are littered with those ConnectionExpired warnings every 30 seconds or so. We're running 1.14.1. I'm going to try downgrading and see if that helps at all.
This ticket suggests the agent disconnects due to inactivity. With this being a test stack, it's super inactive and I suppose it's disconnecting because of that. aws/amazon-ecs-agent#730.
Activity
nathanielks commentedon Apr 21, 2017
service ecs-agent status:achille-roussel commentedon Apr 24, 2017
We've seen this on older versions of the ECS agent. Does the agent not reconnect automatically after losing the connection?
nathanielks commentedon Apr 24, 2017
@achille-roussel correct, the logs are littered with those ConnectionExpired warnings every 30 seconds or so. We're running 1.14.1. I'm going to try downgrading and see if that helps at all.
nathanielks commentedon Apr 24, 2017
This ticket suggests the agent disconnects due to inactivity. With this being a test stack, it's super inactive and I suppose it's disconnecting because of that. aws/amazon-ecs-agent#730.