Live-share: [VS Code] Starting collaboration session: An error was encountered while querying information from the operating system.

Created on 22 May 2019  路  9Comments  路  Source: MicrosoftDocs/live-share

%0A%0A%23%23 Error:%0AStarting collaboration session: An error was encountered while querying information from the operating system.%0A%0A%23%23 Steps to Reproduce:%0A1.%0A2.%0A%0A||Version Data|%0A|-:|:-|%0A|extensionName|VSLS|%0A|extensionVersion|1.0.249|%0A|protocolVersion|2.2|%0A|applicationName|VSCode|%0A|applicationVersion|1.35.0-insider|%0A|platformName|Linux|%0A|platformVersion|4.4.0-18898-Microsoft|

Most helpful comment

We've decided to go ahead and move to 2.2 now. @Priya91 is working on it.

All 9 comments

I also get this error. For me this happens only when connected to WSL via remote workspace.

Attempting to start a live share session using the WSL remote exstention fails with "System.IO.DirectoryNotFoundException: Could not find a part of the path '/proc/sys/net/ipv4/conf/eth0/forwarding'".
This path doesn't exist in WSL (see microsoft/WSL#2868)

@jasongin You had previously worked on this issue right, where GetAllNetworkInterfaces was failing on WSL.. Is this error by design, or do we need to file a bug for this?

The issue was fixed in .NET Core 2.2 as https://github.com/dotnet/corefx/issues/26476. I verified that the fix will resolve the issue with Live Share, however Live Share has not yet updated to 2.2.

dupe #507

@jasongin are you aware of any efforts to upgrade the .NET Core dependency, and if so when that will be released? My team uses WSL for all of our dev environments and we can't use live share because of this bug.

@Priya91 Any thoughts?

I think one reason we'd hesitate to move to 2.2 is because 2.1 is LTS while 2.2 is not. So if we moved to 2.2, we would have to move again to 3.0 or 3.1 within a few months, because 2.2 support expires at the end of this year according to https://dotnet.microsoft.com/platform/support/policy/dotnet-core

Since 3.1 is released in November, is it safe to say that live share won't be usable from WSL until the end of 2019 or early 2020? Will the live share source be released any time soon?

We've decided to go ahead and move to 2.2 now. @Priya91 is working on it.

Was this page helpful?
0 / 5 - 0 ratings