Comments (16)
@GiancarloLelli could you make sure you have the latest VS extension installed? We had an issue with multiple subscriptions in the past and this might help.
@mthalman-msft could we have a better handling of scenarios in which we cannot register our provider in all the subscriptions that are accessible to the user?
from dev-spaces.
@lolodi I've checked and it looks like I have the latest version of the tooling. See below.
from dev-spaces.
@GiancarloLelli Would you be able to provide some more diagnostic information? I'm wondering whether there's an underlying exception being thrown that could provide more context. Can you please attach a second instance of VS to the VS instance that produces this error. And then configure the debugging VS instance to break on exceptions. The exception to look for is named InvalidUsageException. I'm interested in knowing if it has an InnerException and what the details of that InnerException are.
from dev-spaces.
@mthalman-msft I don't see any exception being thrown. Once this dialog pops up the output window is clear and it only displays the AppInsights Telementry logs.
from dev-spaces.
Have you disabled the "Enable Just My Code" option in Tools -> Options -> Debugging?
from dev-spaces.
@mthalman-msft Right, forgot about that - now I can see the exception.
I'm unable to load the PBDs to drill down with historical debugging, if you can help me with that I can see if I can gather some more detailed information.
from dev-spaces.
Yeah, that's just showing what we already know from the error message. I need to know what the InnerException is. You shouldn't need to use historical debugging. Just configure VS to break on all CLR exceptions and keep executing until you hit this InvalidUsageException. Then you should be able to examine its InnerException.
from dev-spaces.
Gotcha - but it is the same message, even the Inner exception.
from dev-spaces.
Ah, got it. This should give us the required information we need to fix the bug anyway. I would anticipate we can have a fix available for next week. Unfortunately, there's not a workaround at this time.
from dev-spaces.
Great, glad I could help :)
from dev-spaces.
Im facing exactly the same error. It seems that VS extension validate DevSpaces against all the subscriptions, and if one of them failes (in my case DreamSpark subscription which doesn't has permission to register this provider) - whole extension fail, and i cannot set-up DevSpace in another subscription. There is no workaround for this? :(
from dev-spaces.
@darthkurak sorry to hear you are hitting it too :( The fix for this problem is checked in, but we've had some unrelated issues that have prevented us from releasing a new version of the extension. I'm pushing to get an updated build released in the next few days. I'll keep you posted.
from dev-spaces.
Hi @GiancarloLelli and @darthkurak - we just pushed a new version of the extension that should address this issue. Can you give it a shot and let me know if it helps? Thanks!
from dev-spaces.
Hi! It works now! Thanks for quick response.
I wonder - this debugging feature doesn't work for .net core console app in AKS? Because, i cannot choose Azure Dev Space when switching to it. :(
from dev-spaces.
Dev Spaces doesn't currently support console apps, but we've gotten that feature request from other customers as well, and it's under consideration :)
from dev-spaces.
@lisaguthrie @mthalman-msft Thanks guys. It works now :)
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.