dev-environments icon indicating copy to clipboard operation
dev-environments copied to clipboard

Error invoking remote method 'dev-envs-backend' when click on "Open in VSCode"

Open slecache opened this issue 4 years ago • 9 comments

Describe the bug Got a red error message when I try to "open in VSCode" : Error invoking remote method 'dev-envs-backend': Error: {"Message":"Get \"http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.devenvironments.name%3Dsingle-dev-env-keen_lehmann%22%3Atrue%7D%7D&limit=0\": context canceled"}

To Reproduce Steps to reproduce the behavior:

  1. Open Docker Desktop
  2. Choose "Dev Environments (Preview)"
  3. Click "START" on single-dev-env line
  4. Wait for container running
  5. Click "OPEN IN VSCODE" button on the running container

Expected behavior

  • VScode is opened with the code from the container.

Screenshots image

Desktop (please complete the following information):

  • Windows 10 Entreprise 21H1 (OS build 19043.1083) 64-bit
  • Docker Desktop 3.5.2

Additional context Similar to https://github.com/docker/dev-environments/issues/28 but not the same error message.

slecache avatar Jul 15 '21 12:07 slecache

Hey @slecache thanks for opening this,

We have identified the problem and are working on a fix.

Even though the error message is not the same this is a duplicate of #28, I'll keep this one open just in case.

Would you be OK if we sent you a build with a fix for this sometime next week?

rumpl avatar Jul 16 '21 15:07 rumpl

For sure, you can send me a build with a fix.

slecache avatar Jul 16 '21 21:07 slecache

@slecache if you have more feedback or would be interested in talking about what you would like to see in the product with the team drop me an email on [email protected] and we can setup a call :)

nebuk89 avatar Jul 19 '21 16:07 nebuk89

image I have the similar problem with this

SwordSven avatar Aug 03 '21 08:08 SwordSven

@slecache @SwordSven we just released a new version of Docker Desktop that should fix this issue, can you upgrade Docker Desktop (Menu Check for Updates) and check that we can close this issue?

glours avatar Aug 12 '21 10:08 glours

@slecache @SwordSven Did you had time to check if the issue is fixed or not? By the way we just released a new version 4.2.0 of Docker Desktop with some improvements in Dev Environments

glours avatar Nov 15 '21 14:11 glours

I am no longer unable to start an existing Dev Env or even delete it. "Start" does nothing. And "Delete" displays a timeout error on "tcp 192.168.99.100:2376"

I have the same error with the CLI when I am in Git Bash but not in WSL Ubuntu.

slecache avatar Nov 16 '21 22:11 slecache

Do you have the same behavior with a fresh new Dev Env? How old are your existing Dev Env? Few minutes, hours, days, weeks?

glours avatar Nov 16 '21 23:11 glours

It has existed for many weeks. I will try to reset all my Docker Desktop installation.

slecache avatar Nov 26 '21 14:11 slecache