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

The JSON value could not be converted to k8s.Models.V1ServiceStatus #55

Closed
elenavillamil opened this issue Sep 15, 2022 · 4 comments
Closed
Assignees
Labels
bug Something isn't working inprogress

Comments

@elenavillamil
Copy link
Contributor

Describe the bug
Bridge to Kubernetes sometimes fails with error: "An unexpected error occurred: 'The JSON value could not be converted to k8s.Models.V1ServiceStatus". Restarting VSCode will help and fix this issue. From metrics this started happening around August 07th.

Mention the platform you are using
All (Linux, Windows, Mac). VSCode.

To Reproduce
It happens sporadically when you start debugging using bridge.

Expected behavior
This error should not happen.

@elenavillamil elenavillamil added the bug Something isn't working label Sep 19, 2022
@ajaffie
Copy link
Contributor

ajaffie commented Sep 26, 2022

Not 100% on this but it seems to happen when the routingmanager deployment is being created. Simply retrying the command has been successful for me. This happens for CLI and Visual Studio as well.

@elenavillamil
Copy link
Contributor Author

@ajaffie thank you for your comment! Correct retrying works. Ideally we can handle this case gracefully. I will give it a try reproducing while routing manager is being deployed, thanks for the pointer!

@elenavillamil
Copy link
Contributor Author

This is happening during routing manager deployment inside function call to DeleteNamespacedServiceAsync which is inside CreateOrReplaceV1ServiceAsync

@elenavillamil
Copy link
Contributor Author

Fix for this got deployed today. I. will keep an eye on our internal metrics and re-open if this still reproduces.

hsubramanianaks referenced this issue in hsubramanianaks/Bridge-To-Kubernetes Feb 2, 2024
…d-identity/Microsoft.VisualStudio.Azure.Containers.Tools.Targets-1.19.6

Bump Microsoft.VisualStudio.Azure.Containers.Tools.Targets from 1.10.13 to 1.19.6 in /samples/managed-identity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working inprogress
Projects
Development

No branches or pull requests

2 participants