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

Error TypeError: Right-hand side of 'instanceof' is not an object when creating registry service account or activating vm subscription #565

Open
dgolovin opened this issue Feb 8, 2025 · 1 comment · May be fixed by #635
Assignees
Labels
kind/bug 🐞 Something isn't working
Milestone

Comments

@dgolovin
Copy link
Collaborator

dgolovin commented Feb 8, 2025

Telemetry shows rise of errors after v1.0.3 release:

  • rdhat.redhredhat.redhat-authentication.signin, registry-configuration; TypeError: Right-hand side of 'instanceof' is not an objectat
  • redhat.redhat-authentication.signin, subscription-activation; TypeError: Right-hand side of 'instanceof' is not an object

It seems not to be platform related, because it is reported on macOS, windows and linux.

The the stack for error should be reported to understand where it comes from. Stack should be striped of user local folders before included into telemetry.

Depends on:
redhat-developer/redhat-javascript-rest-api-clients#11

@dgolovin dgolovin added the kind/bug 🐞 Something isn't working label Feb 8, 2025
@dgolovin dgolovin added this to the 1.1.0 milestone Feb 8, 2025
@jeffmaury jeffmaury moved this to 📋 Backlog in Podman Desktop Planning Feb 12, 2025
@dgolovin dgolovin moved this from 📋 Backlog to 🚧 In Progress in Podman Desktop Planning Feb 12, 2025
@dgolovin dgolovin changed the title Error 'TypeError: Right-hand side of 'instanceof' is not an objectat` when creating registry service account or activating vm subscription Error 'TypeError: Right-hand side of 'instanceof' is not an object` when creating registry service account or activating vm subscription Feb 20, 2025
@dgolovin dgolovin changed the title Error 'TypeError: Right-hand side of 'instanceof' is not an object` when creating registry service account or activating vm subscription Error TypeError: Right-hand side of 'instanceof' is not an object when creating registry service account or activating vm subscription Mar 3, 2025
@dgolovin
Copy link
Collaborator Author

dgolovin commented Mar 7, 2025

Good news is the reason for that error is role name change here from RHEL Server to RHEl Workstation.

Migration to new client is still needed, but that change above fixes the problem. Missing information in profile data, like 'Organization' field, is not the reason for the 'Bad Request Error' or one reported in this issue.

@dgolovin dgolovin linked a pull request Mar 11, 2025 that will close this issue
@dgolovin dgolovin moved this from 🚧 In Progress to 🚥 In Review in Podman Desktop Planning Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant