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

Nightscout is crashing at start after mongo db was dropped and made again because of clients with readable tokens. #8225

Open
AgushkaNightscout opened this issue Feb 14, 2024 · 0 comments

Comments

@AgushkaNightscout
Copy link

AgushkaNightscout commented Feb 14, 2024

Describe the bug
Nightscout is crashing at start after mongo db was dropped and made again because of clients with readable tokens.

To Reproduce
Steps to reproduce the behavior:

  1. Stop NS.
  2. Drop db/Make new one.
  3. Don't disconnect clients with readable tokens (Nightguard, Owlet, itc).
  4. Start NS.
  5. NS will crash as soon as the client connects.

Expected behavior
Don't crash, but display a warning.
ns_crash

Your setup information

  • What version of Nightscout - 15.0.2.
  • Clients - Owlet, NightGuard.
  • AUTH_DEFAULT_ROLES=denied
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