u.replaceWith is not a function

After upgrading from 2.4.5 to version 2.5.1, the login to one of the clusters stopped working for me.

works with cluster v1.15.2 without problems. But with a cluster v1.18.5 it gives an error: “Error
u.replaceWith is not a function”

kubectl -n cattle-system get all
NAME READY STATUS RESTARTS AGE
pod/cattle-cluster-agent-555fdfd46d-smphv 1/1 Running 0 17m

NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/cattle-cluster-agent 1/1 1 1 121m

NAME DESIRED CURRENT READY AGE
replicaset.apps/cattle-cluster-agent-5477c75db5 0 0 0 121m
replicaset.apps/cattle-cluster-agent-555fdfd46d 1 1 1 121m

Hi ArthurK! Welcome to the forums.

Are you attempting to log into the admin user or another user?

I have created a GitHub issue for you with some fields marked as “need more info”. It would be preferable for you to fill out the fields on the issue (linked below), or you can reply here with them as well.

Hi again, ArthurK. I have made a comment on the issue with all the information that we need in order to reproduce. Replying in the GitHub issue would be best, but you can reply here as well. Thank you.

Hey. Added information on github

1 Like

Thank you! The team will update that issue, and please do no hesitate to update it as well. Thank you again.