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

fail fast to exit the docker container when BUG BUG error msg encountered #2987

Open
lixinchina1 opened this issue Feb 1, 2024 · 0 comments

Comments

@lixinchina1
Copy link

Is your feature request related to a problem? Please describe.
Yes, we have seen different issue after hitting "BUG BUG BUG reconnection function is nil" in the log, e.g. agent won't send metric to the control plane, or "404 policy not found". The work around we use is to restart the agent a few times(systemctl restart ) to get things back to normal
{"level":"error","ts":"2024-01-26T00:59:21.631Z","caller":"agent/logging.go:49","msg":"ERROR mqtt log","payload":["[client] ","BUG BUG BUG reconnection function is nil",null]}

Describe the solution you'd like
already spoke w Shannon in this case we would like the container to exit/die right away and with the docker configure set to restart: always it will auto start up new container

Describe alternatives you've considered
restart manually like mention above

Additional context
Add any other context or screenshots about the feature request here.

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

No branches or pull requests

1 participant