Skip to content
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
@amsoedal

Description

@amsoedal

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.

image
If the issue reproduces consistently after hitting the retry button, a manual workaround is the best way to proceed.

The workaround

  1. 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.
  2. 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
  3. 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.
  4. IMPORTANT: If you are on Linux or Mac, you need to run: sudo chmod +x on dsc, kubectl/your_platform/kubectl and EndpointManager/EndpointManager.
  5. 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:

image

The workaround

  1. From a terminal, navigate to /home/your_username/.config/Code/User/globalStorage/mindaro.mindaro/file-downloader-downloads/binaries
  2. Run: sudo chmod +x on dsc, kubectl/linux/kubectl and EndpointManager/EndpointManager.
  3. 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions