Coder Social home page Coder Social logo

Comments (11)

amsoedal avatar amsoedal commented on July 22, 2024 1

Thanks for providing those details @ghostcoach! I've reached out to the dotnetcore team to see if they can help as well, although I'm expecting a delayed response due to the holidays. I'll try to keep this thread updated as soon as I hear back from them.

from dev-spaces.

ghostcoach avatar ghostcoach commented on July 22, 2024 1

I can happily confirm @amsoedal that updating Windows 10 to a newer version solved to problem for me!
Thanks a lot for your troubleshooting and the coordination with the dotnetcore team. This really makes a difference for me and my development team.

from dev-spaces.

daniv-msft avatar daniv-msft commented on July 22, 2024

Thank you for logging this issue and sorry you encounter it.
This looks like a bug on our side, and we would need more logs to investigate further.

Could you please provide the latest logs present in %TEMP%/Bridge to Kubernetes?
I'm especially interested by the latest bridge-endpointmanager-* and the bridge-library-* logs that should contain more information.
These logs might contain personally identifiable information, so if you don't feel comfortable attaching them to this GitHub issue, please don't hesitate to send them by email directly to [email protected].

Also, I see that we're trying to stop the World Wide Web Publishing Service in your case. In the past, we encountered an issue related to this (#401). This issue was now fixed for a long time, but in case we had a regression, could you please try to stop this service manually (from the Services app on Windows) and retry Bridge?

from dev-spaces.

ghostcoach avatar ghostcoach commented on July 22, 2024

Thanks for your reply. I stopped World Wide Web Publishing Service manually with the result that VS no longer tries to stop it. Unfortunately, the problem still persist.

I am attaching the logs from my latest try.

[Logs removed]

from dev-spaces.

daniv-msft avatar daniv-msft commented on July 22, 2024

Thanks @ghostcoach for your reply and sharing these logs.
I confirm we get an exception when starting the EndpointManager. The exception happens when we instantiate a new System.Net.Sockets.Socket(AddressFamily.Unix, SocketType.Stream, ProtocolType.Unspecified) and we get a SocketException: An address incompatible with the requested protocol was used..
Please note that even though we're mentioning a Unix socket here, this code will work on Windows as .NET Core support Unix Domain Sockets.

We need to investigate this issue further and will get back to you once we understand better what's happening.
Adding @amsoedal for FYI.

from dev-spaces.

amsoedal avatar amsoedal commented on July 22, 2024

Hi @ghostcoach, thanks for reporting this issue! I'm not able to repro this issue myself, but I'm wondering if it could be due to any socket or IP configurations on your side. Would you be open to trying a winsock reset as described here? If that doesn't fix it, my second guess would be to try running ipconfig /release && ipconfig /renew. Let me know how it works for you!

from dev-spaces.

ghostcoach avatar ghostcoach commented on July 22, 2024

Thanks for taking the time @amsoedal to try to reproduce my issue. Winsock reset or ipconfig did not solve the issue.

In order to try a more clean scenario I reinstalled Windows on my client and reinstalled all programs and sdks. Then I followed this guide so I could try with a new service in a new k8s-cluster. I also turned off Windows Firewall. Unfortunately I still get the error about Endpoint manager.

Is there any other configuration or setting for my client I can look at?

Visual Studio: 16.8.3
Bridge to Kubernetes Extension: 2.0.20201216.1
Azure CLI: 2.16.0

[Logs removed]

from dev-spaces.

amsoedal avatar amsoedal commented on July 22, 2024

Hi @ghostcoach, thanks for giving that a try & sorry it didn't unblock you! Can you tell me more about your system -- when you say you reinstalled Windows on your client, are you running a VM? What OS version are you running?

from dev-spaces.

ghostcoach avatar ghostcoach commented on July 22, 2024

@amsoedal, when I say reinstalled Windows I mean reinstalled my computer. My system information are:

image

from dev-spaces.

amsoedal avatar amsoedal commented on July 22, 2024

Thanks for the patience @ghostcoach. It turns out the Unix Domain Sockets we're using for IPC are only supported on Windows 10 version 1803 (10.0.17134) and onwards. I believe upgrading your Windows version should fix the issue!

from dev-spaces.

amsoedal avatar amsoedal commented on July 22, 2024

I'm happy to hear it!

from dev-spaces.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.