Comments (9)
Thanks for reporting this issue. Our dev team is looking into it.
from dev-spaces.
When you run with the '--keep-alive' flag, azds relies on a long-running background process to keep the ports and synchronization working. This works from within Visual Studio or VS Code because those applications run the background task for you.
Are you running from within VSCode? What scenario are you trying to achieve?
from dev-spaces.
Yes, I've run the Prepare Dev Spaces command from within VS Code, and I can see that it creates a launch.json
and a tasks.json
file. I can also see that the tasks.json
file contains a pre-launch task to run azds up
with the keep alive and await exec options. Is that the long running process you talk about? Or is there another process.
from dev-spaces.
There is another process that is launched automatically by the Dev Spaces VS Code extension. The pre-launch task '--keep-alive' flag actually tells azds to use the background process as well. If that background task is not running, then the whole thing fails - which is what you are seeing.
We have found a bug where the background process may be exiting early if no controller has been selected before launching VS Code. We are working on a fix for that bug, but can you try the following workaround:
- Close all VS Code instances
- Use the az CLI to select a controller (az aks use-dev-spaces)
- Launch VS Code again
from dev-spaces.
I faced the exact same error. Also, I followed the steps mentioned in the previous comment, but it doesn't work.
I also tried removing the --keep-alive flag, but doesn't help. Any ideas on what might be happening?
OS: mac
from dev-spaces.
@sushilraje What version of the AZDS CLI are you using? Just in case it's related to the issue above, after you close all VS Code instances, can you make sure that there are no remaining azds processes running? Then proceed with steps 2 and 3.
from dev-spaces.
What version of the AZDS CLI are you using?
I am running the azds with foll. version 0.1.20180919.5.
Just in case it's related to the issue above, after you close all VS Code instances, can you make sure that there are no remaining azds processes running? Then proceed with steps 2 and 3.
Will give it a try and get back
from dev-spaces.
This is still an issue, just replicated using the .NET Core walk through. Repair steps from @YuzorMa do not fix this. Can we get some focus on this issue?
from dev-spaces.
Apparently this can be caused by a bug in an older version of the AZDS CLI. @spboyer was able to fix the issue by running "az aks use-dev-spaces --update" to install the latest CLI.
from dev-spaces.
Related Issues (20)
- Unable to connect to Azure Dev Spaces HOT 8
- Including a gitignored file still not working HOT 6
- Error when starting a debug session with LPK after elevating permissions for changes to IIS and host file HOT 9
- 502 error responses from *.weu.azds.io/api/v3.2/userpod HOT 1
- LPK errors out with a vague error dialog box when running multiple pods of the same name. HOT 2
- Bridge to Kubernetes GA HOT 4
- azds up hangs on Waiting for container image build... HOT 5
- Synchronization timeouts (Dev Spaces) HOT 149
- Minimal Set of Permissions Required to use Azure Dev Space HOT 3
- Azure Dev Spaces is retiring on 31 October 2023 HOT 3
- Dev Space Controller Keeps Failing HOT 1
- Dev Spaces Controller in "Failed" State HOT 3
- This version of Kubernetes is no longer supported. Please upgrade your cluster to a supported Kubernetes version and retry. HOT 8
- Can't install CLI HOT 6
- EndpointManager launch process fail HOT 11
- RoutingManager fails with Null ref in AddLoadBalancerTriggersAsync' HOT 7
- Failed to get deployment status when enable routing isolation HOT 4
- Creating new spaces with azds space select isn't working HOT 12
- Support Workspace Trust
- Support virtual workspaces
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dev-spaces.