-
Notifications
You must be signed in to change notification settings - Fork 106
Failed to establish a connection. Error: Failed to get routing manager deployment status #103
Comments
#28 already seen this issue without finding useful hints any advice for a temporary backup solution while finding fix/workaround for situation like this? |
Thank you @filariow and @ciacco85 for reporting this issue, and sorry you're facing it. I confirm I'm reproducing it locally as well. |
Hi @ciacco85 and @filariow Thanks for reaching out to us. We are aware of an issue that manifests as "Failed to get routing manager deployment status" and we will be rolling out a fix for this in VS Code tomorrow. I want to make sure that the issue you are seeing is the one that we are fixing. To validate that, could you please attach logs from the below locations and send them to bridgetokubernetes@microsoft.com ? Kindly send a link to this issue as well so that it is easier to track. Also, please let us know if you are using VS or VSCode.
We will take a look and unblock you either way. Thanks! |
Thank you very much @pragyamehta. I sent the email right now. |
Hi @filariow thanks for sending the logs. I have confirmed that the issue you are seeing should get fixed with tomorrow's release. Please try it out and let us know if it works for you. Thanks! |
Ok @pragyamehta, I'll check tomorrow and let you know. |
@pragyamehta I rather suddenly (after debugging working fine 1hr earlier in aks) started to see a "Failed to get routing manager deployment status" in visual studio yesterday. I'm seeing this in the bridge logs:
|
@curtstate yes, I can confirm this is the same issue. We are rolling out a fix for this today. Please try again today afternoon/evening. Thanks! |
@pragyamehta Thanks for the update, I'll look forward to the fix. I spent a couple hours trying to figure out what's wrong. If you don't mind sharing, what was the root cause ? |
@curtstate From the logs, as you can see, we are trying to port forward to the routing manager to get information on whether it was able to setup isolation properly for your Bridge to Kubernetes session. For each B2K session, we spin up a new pod of routing manager and kill the previously running one (if any). My hunch is that port forwarding to the service is unable to pick the right pod (running pod) over the terminating one. We are releasing a fix to determine the correct pod to connect to and establish a port forward connection to that. We have noticed that port forwarding to the specific pod does not result in the above errors. Thanks! |
@pragyamehta thanks for the explanation! I was interested, too. |
@curtstate @ciacco85 Sure, I can update this thread once we release in VSCode today. |
I really appreciate the details as it helps me understand what is going wrong and help me understand if its a problem on our side or not as our infrastructure teams often change things its not always clear where to go to try and fix the issue. This is consistently blocking me in visual studio often but not every single time, until yesterday. I like to understand the under-the-hood details of what's going on for better understanding at a technical level what's happening and so I know where to look when things break. |
I've switched to vs code since the adoption of b2k. I was using vs with devspace |
@curtstate @ciacco85 We have released this on VSCode, please try it and let me know if you face any issues. I will keep you updated about releasing this fix on VS |
It's seems to be working now! Thank you very much guys! |
@pragyamehta Is it the visual studio extension for bridge to kubernetes where the update will come ? |
@curtstate yes we will be releasing a new version of VS extension. I will keep this thread updated once I have more info on the eta |
@pragyamehta please could you confirm the version number of the VS Code update. It's not showing up as an update how I would expect but I can see a version v1.0.20210112. Installing that specific version does not solve our problem and the error 'Failed to get routing manager deployment status' is still reported. Thanks. |
@yorkie-m yes the new version is v1.0.20210112. This should have auto upgraded for you, we are looking into fixing that part. |
@pragyamehta I spotted another version of the VS Code Extension appearing a short while ago - v1.0.120210113. I've updated to that version and can now connect successfully into our cluster. I'm just getting other developers on our team to verify and prove we can consistently connect but this appears to have fixed the issue. Many thanks for all your help with this. Looking forward to the Visual Studio fix being released. |
@pragyamehta the next developer to try this is still seeing the routing manager deployment status error. I've mailed the requested log files to yourself and bridgetokubernetes@microsoft.com. Thanks |
Hi, I'm having a similar issue but I'm using Visual Studio 2019 together with the Bridge to Kubernetes extension v 2.0.20201216.1 Thanks in advance, |
@danreydel I asked this in a previous comment as I was experiencing the same thing and it will come in a separate fix in the visual studio extension later this month. |
@pragyamehta Any word on when the fix will make it to visual studio ? |
@curtstate We will be releasing this sometime this week. |
will the new versions for VS be able to run multiple micro services togheder according to solution configuration? |
@ciacco85 Unfortunately, solutions won't be supported in the next Visual Studio release. Supporting solutions implies making deeper changes to how we store our Bridge configuration, and we don't have that yet. |
@curtstate @danreydel an update to the Visual Studio Bridge to Kubernetes extension was just pushed to the Visual Studio marketplace with the latest fixes for routing isolation connection issues. |
@danegsta thank you. I'm able to debug now on VS |
@danegsta, @pragyamehta Thanks, my co-workers and I are now able to debug in VS again. Latest fix is looking good so far. |
Describe the bug
When starting a microservice, either in isolation or not, the bridge to kubernetes extension for VSCode returns the following error.
On the cluster side we notice the creation of the envoy proxies containers for each microservice and the successful creation of the ingresses for the isolation.
Application Description:
Logs
Bridge to Kubernetes extension output:
Bridge to Kubernetes extesions logs:
Environment Details
The text was updated successfully, but these errors were encountered: