This repository was archived by the owner on Aug 20, 2022. It is now read-only.
This repository was archived by the owner on Aug 20, 2022. It is now read-only.
Workaround for "Failed to update dependencies" #32
Open
Description
Issue 1: Maximum number of retries exceeded
Some of the time, getting dependencies for Bridge to Kubernetes in VS Code may fail with this error.
If the issue reproduces consistently after hitting the retry button, a manual workaround is the best way to proceed.
The workaround
- Visit one of the below links in a browser (choose based on your platform):
https://bridgetokubernetes.blob.core.windows.net/zip/lks/lpk-win.zip
https://bridgetokubernetes.blob.core.windows.net/zip/lks/lpk-osx.zip
https://bridgetokubernetes.blob.core.windows.net/zip/lks/lpk-linux.zip
This will prompt the download of a .zip file. - Unzip the file and move the contents to the Visual Studio Code extension storage folder. You may need to create the directory if it does not exist.
On Windows: %UserProfile%\AppData\Roaming\Code\User\globalStorage\mindaro.mindaro\file-downloader-downloads\binaries
On MacOS: "/Users/your_username/Library/Application Support/Code/User/globalStorage/mindaro.mindaro/file-downloader-downloads/binaries"
On Linux: /home/your_username/.config/Code/User/globalStorage/mindaro.mindaro/file-downloader-downloads/binaries - To check that the hierarchy is correct, you should now see folders called "kubectl" and "EndpointManager" along with several other files side-by-side under the /binaries/ directory.
- IMPORTANT: If you are on Linux or Mac, you need to run:
sudo chmod +x
on dsc, kubectl/your_platform/kubectl and EndpointManager/EndpointManager. - Open VS Code again. The extension should now be able to find and execute its dependencies.
Long-term
We are currently at work trying to understand why this error happens and to improve the experience! Thank you for your patience.
Issue 2: EACCESS error
If you are on Linux, you might run into this issue:
The workaround
- From a terminal, navigate to /home/your_username/.config/Code/User/globalStorage/mindaro.mindaro/file-downloader-downloads/binaries
- Run:
sudo chmod +x
on dsc, kubectl/linux/kubectl and EndpointManager/EndpointManager. - Open VS Code again. The extension should now be able to find and execute its dependencies.
Long-term
This issue will be fixed in our next release -- stay tuned.
Metadata
Metadata
Assignees
Labels
No labels