Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service exits when fails to call ecs service #73

Open
Miquido-Devops opened this issue Jul 12, 2021 · 1 comment
Open

Service exits when fails to call ecs service #73

Miquido-Devops opened this issue Jul 12, 2021 · 1 comment

Comments

@Miquido-Devops
Copy link

I've encountered a problem

2021/07/12 06:43:18 RequestError: send request failed
caused by: Post https://ecs.eu-west-1.amazonaws.com/: dial tcp 52.95.116.181:443: connect: connection refused

Which caused the service to exit. I believe that RequestError could be caught and handled so the service does not close when AWS ECS is temporarily unavailable

@Rudd-O
Copy link
Contributor

Rudd-O commented Dec 7, 2021

This should be doable with perpetual retries, but the last connection success timestamp should be posted as a metric so the user can query and alert on whether the discovery data is stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants