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

NATS JetStream scaler broke if nodes are not advertised #4524

Closed
mfadhlika opened this issue May 4, 2023 · 0 comments · Fixed by #4525
Closed

NATS JetStream scaler broke if nodes are not advertised #4524

mfadhlika opened this issue May 4, 2023 · 0 comments · Fixed by #4525
Labels
bug Something isn't working

Comments

@mfadhlika
Copy link
Contributor

Report

@rayjanoka report the NATS JetStream scaler broke on their setup because the nodes are not advertised which result in connect_urls return empty #4102 (comment)

Expected Behavior

NATS JetStream scaler works as before

Actual Behavior

NATS JetStream scaler returns runtime error

Steps to Reproduce the Problem

  1. Setup NATS cluster via load balancer and node advertise disable
  2. Use NATS JetStream scaler as usual

Logs from KEDA operator

result: runtime error: invalid memory address or nil pointer dereference

KEDA Version

2.10.1

Kubernetes Version

None

Platform

None

Scaler Details

NATS JetStream

Anything else?

No response

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
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant