Closed mirogta closed 3 years ago
Hi @mirogta, thanks for reporting this issue! The EndpointManager is a component that Bridge to Kubernetes uses in order to help facilitate communication between the service running locally and the cluster. It looks like the EndpointManager can't come up on your machine because of a dotnet issue, but I don't see anything immediately wrong from your dotnet --info
output. Would you be open to re-installing the AspNetCore.App framework from the link in the error message (https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=3.1.0&arch=x64&rid=osx.10.16-x64)? Let me know if that helps at all!
I saw on https://github.com/microsoft/mindaro/issues/106 that you were able to get unblocked! How did you fix the issue?
Unfortunately didn't get unblocked, it's still an issue. I've switched to Windows to try it there. But my default OS is Mac OS.
On Fri, Jan 15, 2021, 18:35 amsoedal notifications@github.com wrote:
I saw on #106 https://github.com/microsoft/mindaro/issues/106 that you were able to get unblocked! How did you fix the issue?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/microsoft/mindaro/issues/105#issuecomment-761112238, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABK7IVFU5RDQRUECKXSTJT3S2CDIRANCNFSM4WEDIBSA .
@mirogta Can you tell what folders are present at this location: /Users/your_username/Library/Application Support/Code/User/globalStorage/mindaro.mindaro/file-downloader-downloads
on your Mac?
Hi @mirogta,
Just wanted to follow up on this issue. Are you still experiencing this behavior?
Yes - can you please no close this so quickly. You know, there's the pandemic, difficult times for some people and responses and "can you try" troubleshooting may take longer than usual...
@mirogta Sorry for the confusion: we closed the issue by mistake (this Close with comment
button is far too close from the Comment
one!) and @greenie-msft asked me to reopen the issue because I have more rights on the repository.
We totally understand that it might take days to test/reproduce a bug, so please don't feel pressured to do it immediately.
@mirogta Can you tell what folders are present at this location:
/Users/your_username/Library/Application Support/Code/User/globalStorage/mindaro.mindaro/file-downloader-downloads
on your Mac?
There are 2 folders and they are not empty.
drwxr-xr-x 151 miro dev 4832 25 Feb 09:22 bridge
drwxr-xr-x 3 miro dev 96 18 Mar 08:59 kubectl
Attached logs from a recent failure:
Bridge to Kubernetes initialization (VS Code v1.54.3 - Extension v1.0.120210310)
Logs: /Users/miro/Library/Application Support/Code/logs/20210322T083542/exthost5/mindaro.mindaro/mindaro-vscode-2021-03-22T08-52-33.420Z.txt
Waiting for EndpointManager to come up ...
Failed to launch EndpointManager.
Failed to establish a connection. Error: Failed to launch EndpointManager.
@mirogta Thanks for sharing the logs. I see that you've setup DOTNET_ROOT
path to Users/miro/dotnet/
. Can you confirm that 3.1.0
dotnet version is present in this location?
@rakeshvanga
I had dotnet 3.1.0
(see my first comment above) but it did not work so I've tried to install the latest… Is that a problem?
# dotnet --version
5.0.103
and
# ls -la /Users/miro/dotent
total 216
drwxr-xr-x 7 miro dev 224 17 Sep 2020 .
drwxr-xr-x+ 92 miro dev 2944 23 Mar 19:33 ..
-rw-r--r-- 1 miro dev 1116 20 Aug 2020 LICENSE.txt
-rw-r--r-- 1 miro dev 31330 20 Aug 2020 ThirdPartyNotices.txt
-rwxr-xr-x 1 miro dev 71632 20 Aug 2020 dotnet
drwxr-xr-x 3 miro dev 96 20 Aug 2020 host
drwxr-xr-x 3 miro dev 96 20 Aug 2020 shared
@mirogta I don't see any issue with using the dotnet 5.0.103
version but we have not tested the product against with this version.
The problem which you are seeing is that the DOTNET_ROOT
environment variable is not being passed to the EndpointManager process.
I was not able to repro this issue on Mac. Can you provide the logs from "$TMPDIR\Bridge To Kubernetes" folder to understand more about the issue.
Also, does your project that is being debugged requires setting the DOTNET_ROOT environment variable?
Further to unblock you from this issue you can set BRIDGE_BINARYUTILITYVERSION = v1
before launching the vscode instance. But once I understand the issue with using the DOTNET_ROOT on your mac there will not be a need to set this environment variable.
@rakeshvanga Thank you I hit the same issues on Linux (ubuntu 20.04 ) and DOTNET_ROOT set correctly but it only works with BRIDGE_BINARYUTILITYVERSION = v1
- That saves me the day!
It works now after setting up the environment variable BRIDGE_BINARYUTILITYVERSION=v1
.
Thanks
Describe the bug
The EndpointManager launch process has exited with exit code '1'.
To Reproduce On Mac OS (Big Sur 11.1):
…
Output from running
dotnet --info
in the VSCode terminal:Logs
$TMPDIR/Bridge to Kubernetes
Environment Details Client used: VSCode 1.52.1 Client's version: mindaro.mindaro@1.0.120210113 Operating System: Mac OS X
Notes What is the
EndpointManager
? Where can I install it or test its execution?