Omnisharp Dotnet Extension broken

There seems to be an issue with the C# Omnisharp extension and the Samsung debugger:

Downloading package 'OmniSharp for Linux (x64)' (36680 KB).................... Done!

Validating download...

Integrity Check succeeded.

Installing package 'OmniSharp for Linux (x64)'

Downloading package '.NET Core Debugger (linux / x64)' Failed to download from https://github.com/Samsung/netcoredbg/releases/download/1.2.0-825/netcoredbg-linux-amd64.tar.gz. Error code '404')

Retrying from 'https://web.archive.org/web/20210704184708/https://github-releases.githubusercontent.com/113926796/fc5bfc00-dc3b-11eb-8d47-f99c4dc1c4c6?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210704%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210704T184708Z&X-Amz-Expires=300&X-Amz-Signature=521e3d193946f1cd4598e55056b7597497e294322daa6827f3bf84d1be4e1d89&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=113926796&response-content-disposition=attachment%3B%20filename%3Dnetcoredbg-linux-amd64.tar.gz&response-content-type=application%2Foctet-stream' (NaN KB) Done!

Installing package '.NET Core Debugger (linux / x64)'

Failed at stage: installPackage

Hi @dunnry and thanks for reaching out.

Would you mind providing a minimal, reproducible example?

Sure. Steps:

  1. Open any Gitpod workspace.
  2. Add the C# Extension or any Extension that depends on it (e.g. Ionide F#).

You will see the error. It does this with any repository for me, but here is one I tried 20 mins ago randomly: https://github.com/dunnry/EventStoreService

Hi @dunnry :wink:

it seems like you’re bitten by this issue https://github.com/gitpod-io/gitpod/issues/5090
Unfortunately, it looks like the only fix is a kernel update. So we have to either wait until GCP provides that or run our workspace clusters on a different Kubernetes engine (we’re actually working on that, but no ETA yet).
In the meantime, you could work around that by running dotnet in a docker container, as described in this comment https://github.com/gitpod-io/gitpod/issues/5064#issuecomment-899326802

Hope that helps
Jan

I saw that issue and was definitely bitten by it when trying to compile the code, but this one was failing to download an extension with a 404 error. I thought perhaps it was something else.

Thanks Jan - I’ll wait a bit and give it a go later when the kernel is updated.

Seems like the free-ominisharp-vscode extension is trying to download its dependencies from an outdated location. YOu might want to upvote

1 Like