microsoft / mindaro

Bridge to Kubernetes - for Visual Studio and Visual Studio Code
MIT License
307 stars 106 forks source link

Unexpected token in lks.json dependency file #344

Closed williamohara closed 1 year ago

williamohara commented 1 year ago

Describe the bug getting error when launching

Failed to update dependencies: invalid json response body at https://bridgetokubernetes.blob.core.windows.net/zip/1.0.20220816.1/lks.json reason: Unexpected token  in JSON at position 0

To Reproduce trying to start B2K and i get this error - it just started - not sure why

**Expected behavior** Expect to load all dependencies **Logs** Attach logs from the following directory: ,,, 2022-08-16T21:33:19.1141005Z | MindaroCli | TRACE | Event: Command.Start {"properties":{"arguments":"clean-local-connect","isRoutingEnabled":"false"},"metrics":null}\nOperation context: {"clientRequestId":null,"correlationId":"c2393c4a-5293-4062-a128-954120330e711660685397611:eb3338098542","requestId":null,"userSubscriptionId":null,"startTime":"2022-08-16T21:33:18.9337653Z","userAgent":"VSCode/1.0.120220816","requestHttpMethod":null,"requestUri":null,"version":"1.0.20220811.1","requestHeaders":{},"loggingProperties":{"applicationName":"MindaroCli","deviceOperatingSystem":"Linux 4.19.128-microsoft-standard #1 SMP Tue Jun 23 12:58:10 UTC 2020","framework":".NET Core 3.1.9","macAddressHash":"d6b110c7b2044c65e3ba3b99efc41920cc0e8e1819042520724a16bce8d446aa","processId":12397,"targetEnvironment":"Production","commandId":"eb3338098542"}} 2022-08-16T21:33:19.1693392Z | MindaroCli | TRACE | Running Microsoft.BridgeToKubernetes.Exe.Commands.Connect.CleanConnectCommand... 2022-08-16T21:33:19.1848977Z | MindaroCli | TRACE | Ordering EndpointManager shutdown... 2022-08-16T21:33:22.2197382Z | MindaroCli | TRACE | Event: Command.End {"properties":{"arguments":"clean-local-connect","result":"Succeeded"},"metrics":{"duration":3153.0}} ,,, **Environment Details** Client used (VS Code/Visual Studio): VS code mindaro.mindaro@1.0.120220816 mindaro-dev.file-downloader@1.0.12 Client's version: 1.70.0 Operating System: win 10 - running on WSL Ubuntu **Additional context** Add any other outputs from the clients or context you would like to share.
williamohara commented 1 year ago

I am completely shut down- I tried the workaround to no avail.

hsubramanianaks commented 1 year ago

Apologies for the issue, can you retry with latest version of vscode extension that was released with version v1.0.120220817. Thank you for your patience.

williamohara commented 1 year ago

no worries - thanks for getting on top of it. it works now!!! :)