bug(zen): wont startup -- missing NATS JetStream stream #586

Closed
opened 2026-03-28 04:26:03 +00:00 by mfreeman451 · 2 comments
Owner

Imported from GitHub.

Original GitHub issue: #1826
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1826
Original created: 2025-10-21T19:17:36Z


Describe the bug

Waiting for NATS service at serviceradar-nats:4222...
NATS service is ready!                                                                                                                                                 Waiting for KV service at serviceradar-kv:50057...                                                                                                                     KV service is ready!
Rules already installed, skipping initial rule installation                                                                                                            Starting ServiceRadar Zen with config: /etc/serviceradar/zen.json                                                                                                      [2025-10-21T19:15:58Z INFO  zen::nats] connected to nats at tls://serviceradar-nats:4222
[2025-10-21T19:15:58Z INFO  zen] using stream events                                                                                                                   [2025-10-21T19:15:58Z INFO  zen] using consumer zen-consumer                                                                                                           Error: failed to get the bucket: jetstream error: stream not found (code 404, error code 10059)
                                                                                                                                                                       Caused by:                                                                                                                                                                 jetstream error: stream not found (code 404, error code 10059)

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Imported from GitHub. Original GitHub issue: #1826 Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/1826 Original created: 2025-10-21T19:17:36Z --- **Describe the bug** ``` Waiting for NATS service at serviceradar-nats:4222... NATS service is ready! Waiting for KV service at serviceradar-kv:50057... KV service is ready! Rules already installed, skipping initial rule installation Starting ServiceRadar Zen with config: /etc/serviceradar/zen.json [2025-10-21T19:15:58Z INFO zen::nats] connected to nats at tls://serviceradar-nats:4222 [2025-10-21T19:15:58Z INFO zen] using stream events [2025-10-21T19:15:58Z INFO zen] using consumer zen-consumer Error: failed to get the bucket: jetstream error: stream not found (code 404, error code 10059) Caused by: jetstream error: stream not found (code 404, error code 10059) ``` **To Reproduce** Steps to reproduce the behavior: 1. Go to '...' 2. Click on '....' 3. Scroll down to '....' 4. See error **Expected behavior** A clear and concise description of what you expected to happen. **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: [e.g. iOS] - Browser [e.g. chrome, safari] - Version [e.g. 22] **Smartphone (please complete the following information):** - Device: [e.g. iPhone6] - OS: [e.g. iOS8.1] - Browser [e.g. stock browser, safari] - Version [e.g. 22] **Additional context** Add any other context about the problem here.
Author
Owner

Imported GitHub comment.

Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1826#issuecomment-3446890161
Original created: 2025-10-25T16:42:44Z


this seems like a race condition, if some other service starts up before it and creates the stream, zen behaves normally

Imported GitHub comment. Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/1826#issuecomment-3446890161 Original created: 2025-10-25T16:42:44Z --- this seems like a race condition, if some other service starts up before it and creates the stream, zen behaves normally
Author
Owner

Imported GitHub comment.

Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/issues/1826#issuecomment-3813922148
Original created: 2026-01-28T21:03:37Z


closing, stale

Imported GitHub comment. Original author: @mfreeman451 Original URL: https://github.com/carverauto/serviceradar/issues/1826#issuecomment-3813922148 Original created: 2026-01-28T21:03:37Z --- closing, stale
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
carverauto/serviceradar#586
No description provided.