amazon-ecs-agent: seeing a number of `Error serving to ACS Webserver: EOF` events trickle in once upgraded to v1.29.0

Summary

seeing a number of Error serving to ACS Webserver: EOF events trickle in once we upgraded to v1.29.0

Description

seems related to this commit: https://github.com/aws/amazon-ecs-agent/commit/bd661d0d06e9608f79520562fa55b1e7e33b8066

seeing a number of Error serving to ACS Webserver: EOF events trickle in once we upgraded to ecs-agent v1.29.0

re-connects seem to happen just fine so maybe this could be an INFO ecs-agent reconnection log rather then an ERROR?

Expected Behavior

no errors logged 😄

Observed Behavior

events like this in the ecs-agent log

2019-06-20T19:10:31Z [INFO] Managed task [arn:aws:ecs:us-east-1:XXXXXXX:task/unstable/XXXXXXX95f4f15dee]: redundant container state change. monitor to RUNNING, but already RUNNING
2019-06-20T19:10:31Z [INFO] Managed task [arn:aws:ecs:us-east-1:XXXXXXXX:task/unstable/XXXXXXX95f4f15dee]: task at steady state: RUNNING
2019-06-20T19:10:31Z [INFO] Managed task [arn:aws:ecs:us-east-1:XXXXXXX:task/unstable/XXXXXXX9c108c95f4f15dee]: waiting for event for task
2019-06-20T19:10:59Z [ERROR] Error serving to ACS Webserver: EOF
2019-06-20T19:10:59Z [INFO] ACS Websocket connection closed for a valid reason: EOF
2019-06-20T19:10:59Z [INFO] Establishing a Websocket connection to https://ecs-a-1.us-east-1.amazonaws.com/ws?agentHash=a190a73f&agentVersion=1.29.0&clusterArn=unstable&containerInstanceArn=arn%3Aaws%3Aecs%3Aus-east-1%3AXXXXXXX%3Acontainer-instance%2Funstable%2F0XXXXXXX795d00&dockerVersion=DockerVersion%3A+18.09.1&sendCredentials=false&seqNum=1
2019-06-20T19:10:59Z [INFO] Connected to ACS endpoint
2019-06-20T19:11:04Z [INFO] Managed task [arn:aws:ecs:us-east-1:XXXXXXX:task/unstable/XXXXXXX22931b9b2]: no longer waiting
2019-06-20T19:11:04Z [INFO] Managed task [arn:aws:ecs:us-east-1:XXXXXXX:task/unstable/XXXXXXX22931b9b2]: task at steady state: RUNNING

Environment Details

ami-08fb5eb0e3af3d163, ecs-agent 1.29.0, docker 5:18.09.1~3, and linux-generic-hwe-16.04

Supporting Log Snippets

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 6
  • Comments: 16 (8 by maintainers)

Most upvoted comments

I can confirm, was just waiting a final feedback from you.

thank you

On Fri 12. Jul 2019 at 18:51, Sharanya Devaraj notifications@github.com wrote:

FYI, the missing metrics issue is already resolved and customers using 1.29.0 should be seeing the expected metrics in CloudWatch.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/aws/amazon-ecs-agent/issues/2094?email_source=notifications&email_token=AACQXZP73EOFUY7RHUVDQCTP7CZCDA5CNFSM4H2UW6HKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ2JJ3I#issuecomment-510956781, or mute the thread https://github.com/notifications/unsubscribe-auth/AACQXZOKKFXHIDOJAC3C2OLP7CZCDANCNFSM4H2UW6HA .

–

iarly selbir