Skip to content

[🐛 Bug]: Updating KEDA from 2.16 to 2.16.1 breaks scaling #2605

@Doofus100500

Description

@Doofus100500

What happened?

Hi, after the update, jobs stop scaling, and an error is displayed in the scaler in the namespace with the grid. What changed in the scaler that after the update it can no longer connect to GraphQL? After rolling back, everything works fine. Updating the chart to 0.38.5 also doesn’t resolve the issue. Here are my ScaledObject settings:

maxReplicaCount: 220
minReplicaCount: 0
pollingInterval: 5
rollout:
  strategy: gradual
scalingStrategy:
  strategy: accurate
successfulJobsHistoryLimit: 0
triggers:
- authenticationRef:
    name: selenium-grid-selenium-scaler-trigger-auth
  metadata:
    browserName: chrome
    browserVersion: "131"
    nodeMaxSessions: "1"
    platformName: linux
    sessionBrowserName: chrome
    unsafeSsl: "true"
  type: selenium-grid

Command used to start Selenium Grid with Docker (or Kubernetes)

helm

Relevant log output

Events:
Type     Reason              Age                From           Message
----     ------              ----               ----           -------
Normal   KEDAScalersStarted  27m                scale-handler  Scaler selenium-grid is built.
Normal   KEDAScalersStarted  27m                scale-handler  Started scalers watch
Normal   ScaledJobReady      27m                keda-operator  ScaledJob is ready for scaling
Warning  KEDAScalerFailed    19m                scale-handler  error requesting selenium grid endpoint: Post "https://selenium-grid-selenium-router.selenium-test:4444/staging/graphql": dial tcp 10.233.35.97:4444: connect: connection refused

Warning  KEDAScalerFailed    18m (x3 over 18m)  scale-handler  error requesting selenium grid endpoint: Post "https://selenium-grid-selenium-router.selenium-test:4444/staging/graphql": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

Operating System

k8s

Docker Selenium version (image tag)

4.27.0-20250101 & 4.26.0-20241101 & 4.27.0-20241204

Selenium Grid chart version (chart version)

0.38.5 & 0.37.1 & 0.38.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions