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

bug(hubble): Hubble restarts periodically due to "neon::types::Deferred` was dropped without being settled" #2003

Open
manan19 opened this issue May 16, 2024 · 1 comment
Labels
s-ready Ready to be picked up

Comments

@manan19
Copy link
Contributor

manan19 commented May 16, 2024

What is the bug?

Hubble restarts periodically with the following shutdown log

hubble-hubble-1  | {"message":"{\"level\":50,\"time\":1715696876137,\"pid\":42,\"hostname\":\"562c55704677\",\"reason\":\"Unhandled Rejection\",\"err\":{\"type\":\"Error\",\"message\":\"`neon::types::Deferred` was dropped without being settled\",\"stack\":\"Error: `neon::types::Deferred` was dropped without being settled\"},\"msg\":\"shutting down hub\"}\n","timestamp":"2024-05-14T14:27:56.137Z","type":"out","process_id":0,"app_name":"hubble"}

How can it be reproduced? (optional)
Not sure

Additional context (optional)
Some of the times it seems to coincide with pruning but it doesn't always restart at every pruning.

@github-actions github-actions bot added the s-triage Needs to be reviewed, designed and prioritized label May 16, 2024
@sds sds added s-ready Ready to be picked up and removed s-triage Needs to be reviewed, designed and prioritized labels Jun 3, 2024
@sds
Copy link
Member

sds commented Jun 3, 2024

Not 100% sure what the cause is, but based on these docs we either need to:

  • Figure out where we're not settling the Deferred object
  • Handle unhandled promise rejections (i.e. don't rely on the default Node.js behavior of terminating the process)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s-ready Ready to be picked up
Projects
None yet
Development

No branches or pull requests

2 participants