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

Handle failure to get endpoint from device registry better #21

Open
laurigates opened this issue Oct 25, 2023 · 0 comments
Open

Handle failure to get endpoint from device registry better #21

laurigates opened this issue Oct 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@laurigates
Copy link
Contributor

At the moment this is what happens if endpoint starts when the device registry is down:

[2023-10-25 08:07:23,138] INFO in __init__: Initializing sentry: *************
[2023-10-25 08:07:23,765] ERROR in app: Failed to get endpoints from device registry http://mittaridatapumppu-deviceregistry:8080/api/v1/hosts/localhost/
[2023-10-25 08:07:23,768] INFO in aiokafka: Getting KafkaProducer: kafka-kafka-bootstrap:9093
[2023-10-25 08:07:23,830] INFO in app: Ready to go, listening to endpoints:

And it doesn't check for it again so it stays in this state.

@laurigates laurigates added the bug Something isn't working label Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant