Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install and use LiveShare from WSL. #4232

Closed
maxtotterman opened this issue Apr 20, 2021 · 8 comments
Closed

Cannot install and use LiveShare from WSL. #4232

maxtotterman opened this issue Apr 20, 2021 · 8 comments

Comments

@maxtotterman
Copy link

maxtotterman commented Apr 20, 2021

Describe what happened:
I have been using the Live Share tool frequently, until last when it suddenly stopped working.
It stated something like: cannot get local issuer certificate.

But with no luck on that problem, I decided that I should reinstall and remove everything coupled to VSC on my local machine (Win 10), and also on my remote (WSL).

Unfortunately it did not help, but I'm getting different error now.

So it looks like it has installed it, cause I'm getting the LS icon to the right. But cannot click on them, they end up in giving error:

[error] command 'liveshare.joinFromWelcomeContent' not found

I've been prompted to repair the installation too, but it does not help either. Gives error:

Live Share was unable to download needed dependencies to finish installation. Ensure you have network connectivity then click `Repair` to restart VS Code and attempt recovery.

If I use LS on my local machine, it works just fine.

What was your system configuration?
Product and Version [VS/VSCode]: VSCode version1.5.22 (User setup)
OS Version[macOS/Windows]: Windows 10, 1809
Live Share Extension Version: v1.0.4131
Target Platform or Language [e.g. Node.js]: NodeJS

Steps to Reproduce / Scenario:
I've started from a completely new and fresh installation, and deleted current folders:

Local
C:\Users\my_account\.vscode
C:\Users\my_account\AppData\Roaming\Code

WSL
/home/my_account/.vscode
/home/my_account/.vs-liveshare-keychain

  1. Open Visual studio code.
  2. Install WSL version: v0.56.0
  3. Connect to my remote WSL machine (Ubuntu 20.04)
  4. Install LS extension on remote WSL

Please attach logs to this issue:
You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue

[2021-04-20 11:26:36.723] [remoteagent] [info] Extension host agent started.
[2021-04-20 11:26:36.748] [remoteagent] [info] [::ffff:127.0.0.1][2d2ec25e][ManagementConnection] New connection established.
[2021-04-20 11:26:36.749] [remoteagent] [info] [::ffff:127.0.0.1][8187f28d][ExtensionHostConnection] New connection established.
[2021-04-20 11:26:43.417] [remoteagent] [info] [::ffff:127.0.0.1][8187f28d][ExtensionHostConnection] <7644> Launched Extension Host Process.
[2021-04-20 11:26:47.703] [remoteagent] [info] Installing extension: ms-vsliveshare.vsliveshare
[2021-04-20 11:26:55.560] [remoteagent] [info] Downloaded extension: ms-vsliveshare.vsliveshare undefined
[2021-04-20 11:26:57.675] [remoteagent] [info] Extracted extension to /home/kjell/.vscode-server/extensions/.b4605cb3-1954-415b-97ef-0313d97429c0: ms-vsliveshare.vsliveshare
[2021-04-20 11:26:57.724] [remoteagent] [info] Renamed to /home/kjell/.vscode-server/extensions/ms-vsliveshare.vsliveshare-1.0.4131
[2021-04-20 11:26:57.740] [remoteagent] [info] Installation completed. ms-vsliveshare.vsliveshare
[2021-04-20 11:26:57.749] [remoteagent] [info] Extensions installed successfully: ms-vsliveshare.vsliveshare
[2021-04-20 11:27:03.725] [remoteagent] [info] [::ffff:127.0.0.1][8187f28d][ExtensionHostConnection] The client has reconnected.
[2021-04-20 11:27:03.808] [exthost] [info] extension host started
[2021-04-20 11:27:03.850] [exthost] [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch {"startup":true,"extensionId":{"value":"vscode.debug-auto-launch","_lower":"vscode.debug-auto-launch"},"activationEvent":"*"}
[2021-04-20 11:27:03.851] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kjell/.vscode-server/bin/3c4e3df9e89829dce27b7b5c24508306b151f30d/extensions/debug-auto-launch/dist/extension
[2021-04-20 11:27:03.857] [exthost] [info] ExtensionService#_doActivateExtension vscode.git {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2021-04-20 11:27:03.857] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kjell/.vscode-server/bin/3c4e3df9e89829dce27b7b5c24508306b151f30d/extensions/git/dist/main
[2021-04-20 11:27:05.384] [exthost] [info] ExtensionService#_doActivateExtension ms-vsliveshare.vsliveshare {"startup":false,"extensionId":{"value":"ms-vsliveshare.vsliveshare","_lower":"ms-vsliveshare.vsliveshare"},"activationEvent":"*"}
[2021-04-20 11:27:05.384] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kjell/.vscode-server/extensions/ms-vsliveshare.vsliveshare-1.0.4131/out/prod/extension-prod
[2021-04-20 11:27:05.689] [exthost] [info] ExtensionService#_doActivateExtension vscode.github {"startup":true,"extensionId":{"value":"vscode.github","_lower":"vscode.github"},"activationEvent":"*"}
[2021-04-20 11:27:05.689] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kjell/.vscode-server/bin/3c4e3df9e89829dce27b7b5c24508306b151f30d/extensions/github/dist/extension.js
[2021-04-20 11:27:05.729] [exthost] [info] ExtensionService#_doActivateExtension vscode.emmet {"startup":false,"extensionId":{"value":"vscode.emmet","_lower":"vscode.emmet"},"activationEvent":"onStartupFinished"}
[2021-04-20 11:27:05.729] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kjell/.vscode-server/bin/3c4e3df9e89829dce27b7b5c24508306b151f30d/extensions/emmet/dist/node/emmetNodeMain
[2021-04-20 11:27:05.741] [exthost] [info] ExtensionService#_doActivateExtension vscode.merge-conflict {"startup":false,"extensionId":{"value":"vscode.merge-conflict","_lower":"vscode.merge-conflict"},"activationEvent":"onStartupFinished"}
[2021-04-20 11:27:05.741] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kjell/.vscode-server/bin/3c4e3df9e89829dce27b7b5c24508306b151f30d/extensions/merge-conflict/dist/mergeConflictMain
[2021-04-20 11:27:05.745] [exthost] [info] ExtensionService#_doActivateExtension vscode.testing-editor-contributions {"startup":false,"extensionId":{"value":"vscode.testing-editor-contributions","_lower":"vscode.testing-editor-contributions"},"activationEvent":"onStartupFinished"}
[2021-04-20 11:27:05.745] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kjell/.vscode-server/bin/3c4e3df9e89829dce27b7b5c24508306b151f30d/extensions/testing-editor-contributions/dist/extension.js
[2021-04-20 11:27:05.746] [exthost] [info] eager extensions activated
[2021-04-20 11:27:05.754] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode.js-debug {"startup":false,"extensionId":{"value":"ms-vscode.js-debug","_lower":"ms-vscode.js-debug"},"activationEvent":"onCommand:extension.js-debug.clearAutoAttachVariables"}
[2021-04-20 11:27:05.754] [exthost] [info] ExtensionService#loadCommonJSModule file:///home/kjell/.vscode-server/bin/3c4e3df9e89829dce27b7b5c24508306b151f30d/extensions/ms-vscode.js-debug/src/extension.js
[2021-04-20 11:27:03.711] [renderer3] [info] [remote-connection][ExtensionHost][8187f…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
[2021-04-20 11:27:03.712] [renderer3] [info] [remote-connection][ExtensionHost][8187f…][reconnect] resolving connection...
[2021-04-20 11:27:03.712] [renderer3] [info] [remote-connection][ExtensionHost][8187f…][reconnect] connecting to 127.0.0.1:62353...
[2021-04-20 11:27:03.728] [renderer3] [info] [remote-connection][ExtensionHost][8187f…][reconnect] reconnected!
[2021-04-20 11:32:29.739] [renderer3] [error] command 'liveshare.joinFromWelcomeContent' not found: Error: command 'liveshare.joinFromWelcomeContent' not found
    at w._tryExecuteCommand (file:///C:/Users/M6540453/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1558:3364)
    at file:///C:/Users/M6540453/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1558:3245
    at async u.open (file:///C:/Users/M6540453/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:627:18599)
    at async l.open (file:///C:/Users/M6540453/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.desktop.main.js:627:20623)

Screenshots
lem.
error_1
error_2

@maxtotterman
Copy link
Author

maxtotterman commented Apr 21, 2021

I have no idea what I did, I just tried repairing it again and suddenly it installed it properly on my WSL.

So after some time trying with repair button it suddenly worked and installed.
I have 2 WSLs, but the problem still occur in the other machine.

But now im pretty afraid of that this will happen again to my current working WSL.

@maxtotterman
Copy link
Author

maxtotterman commented Apr 27, 2021

After spending a week of happiness but also in fear, I stumbeled upon the same issue I got from the begining, cannot get local issuer certificate.

I am and have been using my companys VPN, It did work but all of sudden it stopped working(might have something to do with that?)
Got back the error that I first got: cannot get local issuer certificate.

Liveshare logs:

[Client I] Extension, IDE, OS : VSLS/1.0.4131 VSCode/1.55.2 Linux/4.4.0-17763-Microsoft
[Client I] Passed version check for Linux: found 4.4.0-17763-Microsoft
[Client.Rpc V] RPCClient.init retryCount:0 currentRetryInterval:0
[Debug.Rpc.Host V] TrackDebugManager created
[Client.Rpc V] disposing the object> object #0: undefined
> object #1: {}
[Client.Rpc V] Agent connection not completed: Error: connect ENOENT /tmp/CoreFxPipe_vscode.757e3291d8807e08bb8b6f2e7511ad91; Retrying...
[Client.Rpc V] RPCClient.init retryCount:1 currentRetryInterval:100
[Client.Agent V] Agent lock on:</<redacte/<redacte.lock>
[Client.Agent I] starting agent with pipe:vscode.757e3291d8807e08bb8b6f2e7511ad91
[Client.Agent I] signalR service -> uri:https://signlr-prod.core.vsengsaas.visualstudio.com/api/signalr/signalrhub
[Client.Agent V] Finished agent startup...
[Client.Rpc I] Agent connection success - net.pipe://localhost/vscode.757e3291d8807e08bb8b6f2e7511ad91
[Client.Agent V] Agent unlocked
[Client.Rpc V] finish initialize agent session with rpcConnectId:null hostSessionId:1
[Client.Rpc.Auth V] < version.exchangeVersions()
[Client.Rpc.Auth V] > version.exchangeVersions() succeeded t:11.0
[Client I] Client version: 1.0.4131 (VSLS/2.2), agent version: 1.0.4131.23395 (VSLS/2.2)
[Client.Rpc.Auth V] < version.exchangeSettings()
[Client.Rpc.Auth V] > version.exchangeSettings() succeeded t:11.0
[Client I] Hub connection is being enabled...
[Hub.Connection V] < hubConnection.setEnabled()
[Hub.Connection V] > hubConnection.setEnabled() succeeded t:2.0
[Command:Object I] Decorator: Telemetry Starting
[Command:Object I] Decorator: EnableVSCodeAccountAuth Starting
[Command:Object I] Decorator: EnableVSCodeAccountAuth Completed Success (1ms)
[Command:Object I] Command []: EnableVSCodeAccountAuth Success (1ms)
[Command:Object I] Decorator: Telemetry Completed Success (1ms abs=0ms pre=0ms post=0)
[Client I] No workspaceId found in workspace settings.
[Client I] No workspace url found in cascade.json file.
[Command:Object I] Decorator: CancellationDecorator Starting
[Command:Object I] Decorator: ErrorNotification Starting
[Command:Object I] Decorator: Telemetry Starting
[Command:Object I] Decorator: TelemetryStatus Starting
[Command:Object I] Decorator: Validation Starting
[Command:Object I] Decorator: SessionStateTransitions Starting
[Client I] "Planned sessions are disabled, state: SigningIn
[Command:Object I] SessionContext: State update from "Initializing" (undefined) to "SigningIn" (AttemptSignIn).
[Command:Object I] Decorator: Authentication Starting
[Command:Object I] SessionContext: Status update from "undefined" to "SigninCheckStarting".
[Command:Object I] SessionContext: Status update from "SigninCheckStarting" to "SilentNativeLoginStarting".
[github V] Attempting to load session - login = false
[Contact.Manager I] registerContactProvider-> serviceId:git
[Contact.Service V] _Initialize:git
[Contact.Service V] Request 'initialize' serviceId:git
[Contact.Manager I] registerContactProvider-> serviceId:selfInvite
[Contact.Service V] _Initialize:selfInvite
[Contact.Service V] Request 'initialize' serviceId:selfInvite
[Client.Rpc.SessionContext V] < sessionContext.getServiceNames()
[github V] Successfully loaded session
[Client.Rpc.SessionContext V] > sessionContext.getServiceNames() succeeded t:14.0
[Contact.Manager I] registerContactProvider-> serviceId:LivesharePresence
[Contact.Service V] _Initialize:LivesharePresence
[Contact.Service V] Request 'initialize' serviceId:LivesharePresence
[Client.Rpc.Contact V] < contactService-LivesharePresence.request()
[Hub.Connection V] < hubConnection.getIsConnected()
[Client.Rpc.Contact V] > contactService-LivesharePresence.request() succeeded t:49.0
[Hub.Connection V] > hubConnection.getIsConnected() succeeded t:51.0
[Communications.Manager I] [Chat View Controller] initialize
[Hub.Connection V] < hubConnection.registerHubMethodNotify()
[Hub.Connection V] < hubConnection.registerHubMethodNotify()
[Hub.Connection V] < hubConnection.registerHubMethodNotify()
[Client.Rpc.Auth V] < auth.getCurrentUser()
[Hub.Connection V] > hubConnection.registerHubMethodNotify() succeeded t:54.0
[Hub.Connection V] > hubConnection.registerHubMethodNotify() succeeded t:54.0
[Hub.Connection V] > hubConnection.registerHubMethodNotify() succeeded t:54.0
[Client.Rpc.Auth V] > auth.getCurrentUser() succeeded t:54.0
[Command:Object I] SessionContext: Status update from "SilentNativeLoginStarting" to "SigninCheckCompletedError".
[Client I] "Planned sessions are disabled, state: SignedOut
[Command:Object I] SessionContext: State update from "SigningIn" (AttemptSignIn) to "SignedOut" (SignInError).
[Contact.Manager V] ->loadRecentCollaborators:onStateChanged
[Contact.Manager V] SelfInviteProvider-> status:false
[Contact.Service V] onNotified-> serviceId:selfInvite name:suggestedUsers
[Contact.Manager I] onSuggestedUsersUpdate-> serviceId:selfInvite count:0
[Command:Object E] Authentication check error: Error: unable to get local issuer certificate
[Contact.Manager V] ->updateSuggestedUsers
[Command:Object I] Decorator: Authentication Completed Failed (553ms abs=552ms pre=-164ms post=716)
[Contact.Manager V] suggest contacts from provider:selfInvite ids: emails:
[Command:Object I] Decorator: SessionStateTransitions Completed Failed (556ms abs=3ms pre=2ms post=1)
[Command:Object I] Decorator: Validation Completed Failed (556ms abs=0ms pre=0ms post=0)
[Contact.Manager V] ->updateRecentContacts -> count:0
[Contact.Manager I] <- updateSuggestedUsers count:0
[Command:Object I] Decorator: TelemetryStatus Completed Failed (557ms abs=1ms pre=0ms post=1)
[Command:Object E] Command [Signing in]: ExplicitSignIn Non Blocking Failure: Authentication check returned false. (1080ms)
[Command:Object E] Error: Authentication check returned false.
	at AuthenticationCommandDecorator.invoke [PATH]/extension-prod.js:19186:31)
	at processTicksAndRejections [PATH]/task_queues.js:97:5)
[Command:Object I] Decorator: Telemetry Completed Failed (1082ms abs=525ms pre=1ms post=524)
[Command:Object I] Decorator: ErrorNotification Completed Success (1082ms abs=0ms pre=0ms post=0)
[Contact.Manager V] <-updateRecentContacts
[Command:Object I] Decorator: CancellationDecorator Completed Success (1082ms abs=0ms pre=0ms post=0)
[Contact.Service V] onNotified-> serviceId:git name:suggestedUsers
[Contact.Manager I] onSuggestedUsersUpdate-> serviceId:git count:11
[Contact.Manager V] ->updateRecentContacts -> count:0
[Contact.Manager V] ->updateSuggestedUsers
[Contact.Manager V] suggest contacts from provider:selfInvite ids: emails:
[Contact.Manager V] suggest contacts from provider:git ids:<22:<redacte>,<23:<redacte>,<24:<redacte>,<24:<redacte>,<24:<redacte>,<22:<redacte>,<18:<redacte>,<21:<redacte>,<22:<redacte>,<25:<redacte>,<20:<redacte> emails:<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>
[Contact.Manager V] <-updateRecentContacts
[Contact.Manager I] <- updateSuggestedUsers count:11
[Command:Object I] Decorator: SingleInvocation Starting
[Command:Object I] Decorator: CancellationDecorator Starting
[Command:Object I] Decorator: ErrorNotification Starting
[Command:Object I] Decorator: FirstRunTracking Starting
[Command:Object I] HasRunPreviously: Starting collaboration session -> true
[Command:Object I] Decorator: Telemetry Starting
[Command:Object I] Decorator: TelemetryStatus Starting
[Command:Object I] Decorator: Validation Starting
[Command:Object I] Decorator: SessionStateTransitions Starting
[Client I] "Planned sessions are disabled, state: SharingInProgress
[Command:Object I] SessionContext: State update from "SignedOut" (SignInError) to "SharingInProgress" (AttemptSharing).
[Command:Object I] Decorator: Progress Starting
[Progress I] Progress notifier opened: 0.
[Command:Object I] Decorator: InfoPage Starting
[Command:Object I] Decorator: Authentication Starting
[Command:Object I] SessionContext: Status update from "SigninCheckCompletedError" to "SigninCheckStarting".
[Client I] "Planned sessions are disabled, state: SigningIn
[Command:Object I] SessionContext: State update from "SharingInProgress" (AttemptSharing) to "SigningIn" (AttemptSignIn).
[Command:Object I] SessionContext: Status update from "SigninCheckStarting" to "SilentNativeLoginStarting".
[Command:Object I] SessionContext: Status update from "SilentNativeLoginStarting" to "SigninCheckCompletedError".
[Client I] "Planned sessions are disabled, state: SignedOut
[Contact.Manager V] ->loadRecentCollaborators:onStateChanged
[Contact.Manager V] SelfInviteProvider-> status:false
[Contact.Service V] onNotified-> serviceId:selfInvite name:suggestedUsers
[Contact.Manager I] onSuggestedUsersUpdate-> serviceId:selfInvite count:0
[Command:Object I] SessionContext: State update from "SigningIn" (AttemptSignIn) to "SignedOut" (SignInError).
[Command:Object E] Authentication check error: Error: unable to get local issuer certificate
[Contact.Manager V] ->updateSuggestedUsers
[Command:Object I] SessionContext: Status update from "SigninCheckCompletedError" to "SigninStarting".
[Client I] "Planned sessions are disabled, state: SigningIn
[Command:Object I] SessionContext: State update from "SignedOut" (SignInError) to "SigningIn" (AttemptSignIn).
[Command:Object I] SessionContext: Status update from "SigninStarting" to "PromptedNativeLoginStarting".
[Client I] Present auth provider picker.
[Contact.Manager V] suggest contacts from provider:selfInvite ids: emails:
[Contact.Manager V] suggest contacts from provider:git ids:<22:<redacte>,<23:<redacte>,<24:<redacte>,<24:<redacte>,<24:<redacte>,<22:<redacte>,<18:<redacte>,<21:<redacte>,<22:<redacte>,<25:<redacte>,<20:<redacte> emails:<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>
[Contact.Manager V] ->updateRecentContacts -> count:0
[Contact.Manager I] <- updateSuggestedUsers count:11
[Contact.Manager V] <-updateRecentContacts
[Client I] Attempt to log in with github auth provider.
[Command:Object I] SessionContext: Status update from "PromptedNativeLoginStarting" to "SigninCompletedError".
[Client I] "Planned sessions are disabled, state: SignedOut
[Contact.Manager V] ->loadRecentCollaborators:onStateChanged
[Contact.Manager V] SelfInviteProvider-> status:false
[Contact.Service V] onNotified-> serviceId:selfInvite name:suggestedUsers
[Contact.Manager I] onSuggestedUsersUpdate-> serviceId:selfInvite count:0
[Command:Object I] SessionContext: State update from "SigningIn" (AttemptSignIn) to "SignedOut" (SignInError).
[Contact.Manager V] ->updateSuggestedUsers
[Command:Object I] Decorator: Authentication Completed Failed (3010ms abs=1928ms pre=-15076ms post=17004)
[Contact.Manager V] suggest contacts from provider:selfInvite ids: emails:
[Contact.Manager V] suggest contacts from provider:git ids:<22:<redacte>,<23:<redacte>,<24:<redacte>,<24:<redacte>,<24:<redacte>,<22:<redacte>,<18:<redacte>,<21:<redacte>,<22:<redacte>,<25:<redacte>,<20:<redacte> emails:<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>
[Command:Object I] Decorator: InfoPage Completed Failed (3010ms abs=0ms pre=0ms post=0)
[Contact.Manager V] ->updateRecentContacts -> count:0
[Contact.Manager I] <- updateSuggestedUsers count:11
[Command:Object I] Decorator: Progress Completed Failed (3014ms abs=4ms pre=3ms post=1)
[Contact.Manager V] <-updateRecentContacts
[Client I] "Planned sessions are disabled, state: SignedOut
[Contact.Manager V] ->loadRecentCollaborators:onStateChanged
[Contact.Manager V] SelfInviteProvider-> status:false
[Contact.Service V] onNotified-> serviceId:selfInvite name:suggestedUsers
[Contact.Manager I] onSuggestedUsersUpdate-> serviceId:selfInvite count:0
[Command:Object I] SessionContext: State update from "SignedOut" (SignInError) to "SignedOut" (SharingError).
[Command:Object I] Decorator: SessionStateTransitions Completed Failed (3016ms abs=2ms pre=1ms post=1)
[Contact.Manager V] ->updateSuggestedUsers
[Command:Object I] Decorator: Validation Completed Failed (3016ms abs=0ms pre=0ms post=0)
[Contact.Manager V] suggest contacts from provider:selfInvite ids: emails:
[Contact.Manager V] suggest contacts from provider:git ids:<22:<redacte>,<23:<redacte>,<24:<redacte>,<24:<redacte>,<24:<redacte>,<22:<redacte>,<18:<redacte>,<21:<redacte>,<22:<redacte>,<25:<redacte>,<20:<redacte> emails:<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>,<<red@acte>
[Command:Object I] Decorator: TelemetryStatus Completed Failed (3019ms abs=3ms pre=1ms post=2)
[Command:Object E] Command [Starting collaboration session]: Share Failure: unable to get local issuer certificate (3020ms)
[Command:Object E] Error: unable to get local issuer certificate
	at TLSSocket.onConnectSecure (_tls_wrap.js:1501:34)
	at TLSSocket.emit (events.js:315:20)
	at TLSSocket._finishInit (_tls_wrap.js:936:8)
	at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:710:12)
[Command:Object I] Decorator: Telemetry Completed Failed (3021ms abs=2ms pre=0ms post=2)
[Contact.Manager I] <- updateSuggestedUsers count:11
[Command:Object I] Decorator: FirstRunTracking Completed Failed (3021ms abs=0ms pre=0ms post=0)
[Contact.Manager V] ->updateRecentContacts -> count:0
[Contact.Manager V] <-updateRecentContacts

@Davsterl
Copy link
Member

Thank you for the feedback. The Get local issuer error is a new one, but I'm not sure if it's WSL specific or not.

@maxtotterman
Copy link
Author

maxtotterman commented Apr 28, 2021

I think it might be, since it works just fine if I close the connections from WSL ubuntu.
Here are the logs from non WSL success.

[Command:Object I] Decorator: SingleInvocation Starting
[Command:Object I] Decorator: CancellationDecorator Starting
[Progress I] Progress notifier cancelled by command: 1.
[Command:Object I] Decorator: ErrorNotification Starting
[Command:Object I] Decorator: FirstRunTracking Starting
[Command:Object I] HasRunPreviously: Starting collaboration session -> true
[Command:Object I] Decorator: Telemetry Starting
[Command:Object I] Decorator: TelemetryStatus Starting
[Command:Object I] Decorator: Validation Starting
[Command:Object I] Decorator: SessionStateTransitions Starting
[Client I] "Planned sessions are disabled, state: SharingInProgress
[Contact.Service V] Request 'publishPresence' serviceId:LivesharePresence
[Command:Object I] SessionContext: State update from "SignedIn" (EndSharing) to "SharingInProgress" (AttemptSharing).
[Command:Object I] Decorator: Progress Starting
[Progress I] Progress notifier opened: 2.
[Command:Object I] Decorator: InfoPage Starting
[Command:Object I] Decorator: Authentication Starting
[Client.Rpc.Contact V] < contactService-LivesharePresence.request()
[Command:Object I] Decorator: GaNotification Starting
[Command:Object I] Decorator: ShareCommand Starting
[Command:Object I] SessionContext: Status update from "InitCommandComplete" to "FirewallCheckStarting".
[Client.Rpc V] < firewall.getFirewallStatus()
[Client.Rpc.Contact V] > contactService-LivesharePresence.request() succeeded t:50.0
[Client.Rpc.Contact V] > contactService-LivesharePresence.notified: 
[Contact.Service V] onNotified-> serviceId:LivesharePresence name:contactPropertiesChanged
[Client.Rpc V] > firewall.getFirewallStatus() succeeded t:110.0
[Command:Object I] SessionContext: Status update from "FirewallCheckStarting" to "FirewallCheckComplete".
[Command:Object I] SessionContext: Status update from "FirewallCheckComplete" to "ShareWorkspaceStarting".
[Client.Rpc.Workspace V] < workspace.shareWorkspace()
[Client.Rpc V] > telemetry.genericOperation: 
[Client.Rpc.SessionContext V] > sessionContext.sessionStatusUpdate: 
[Command:Object I] SessionContext: Status update from "ShareWorkspaceStarting" to "CreatedWorkspace".
[Client.Rpc.Workspace V] > workspace.progressUpdated: 
[Client.Rpc.SessionContext V] > sessionContext.sessionStatusUpdate: 
[Command:Object I] SessionContext: Status update from "CreatedWorkspace" to "InitializedAgentServices".
[Client.Rpc.Workspace V] > workspace.progressUpdated: 
[Client.Rpc V] > telemetry.genericOperation: 
[Client.Rpc.SessionContext V] > sessionContext.sessionStatusUpdate: 
[Command:Object I] SessionContext: Status update from "InitializedAgentServices" to "InitializedRelayAndTCP".
[Client.Rpc.Workspace V] > workspace.progressUpdated: 
[Client.Rpc.Workspace V] > workspace.servicesChanged: 
[Client.Rpc.Workspace V] > workspace.shareWorkspace() succeeded t:3291.0
[Command:Object I] SessionContext: Status update from "InitializedRelayAndTCP" to "ShareWorkspaceComplete".
[Client.CoEditing I] Name tag behavior: Activity
[BreakpointManager V] initialize
[BreakpointManager V] updateCollaborationBreakpoints total:0
[Command:Object I] SessionContext: Status update from "ShareWorkspaceComplete" to "InitBreakpointComplete".
[Command:Object I] SessionContext: Status update from "InitBreakpointComplete" to "InitCommentManagerComplete".
[Command:Object I] SessionContext: Status update from "InitCommentManagerComplete" to "InitTextSearchServiceComplete".
[SourceControl V] sendNotification-> sourceControl.sourceControlChanged: 
[Client.Rpc.Workspace V] < workspace.registerServices()
[Client.Rpc.SourceEvent V] < sourceEvent.setSourceData()
[Command:Object I] SessionContext: Status update from "InitTextSearchServiceComplete" to "InitTaskComplete".
[Debug.Rpc.Host V] < workspace.registerServices()
[Client.Workspace.AccessControl V] < workspaceAccessControl.getAccessControl()
[Client.Rpc.Workspace V] < workspace.registerServices()
[Client.Rpc.Workspace V] < workspace.registerServices()
[Client.Rpc.Workspace V] < workspace.registerServices()
[Command:Object I] SessionContext: Status update from "InitTaskComplete" to "InitCoeditingComplete".
[Client.Rpc.Workspace V] < workspace.registerServices()
[Client.Rpc.Workspace V] > workspace.registerServices() succeeded t:2.0
[Command:Object I] SessionContext: Status update from "InitCoeditingComplete" to "InitLspComplete".
[Client.Rpc.SourceEvent V] > sourceEvent.setSourceData() succeeded t:3.0
[Command:Object I] SessionContext: Status update from "InitLspComplete" to "InitBreakpointComplete".
[Debug.Rpc.Host V] > workspace.registerServices() succeeded t:5.0
[Command:Object I] SessionContext: Status update from "InitBreakpointComplete" to "InitDebuggingComplete".
[Client.Workspace.AccessControl V] > workspaceAccessControl.getAccessControl() succeeded t:7.0
[Command:Object I] SessionContext: Status update from "InitDebuggingComplete" to "InitAccessControlComplete".
[Client.Rpc.Workspace V] > workspace.registerServices() succeeded t:7.0
[Command:Object I] SessionContext: Status update from "InitAccessControlComplete" to "InitSourceControlServiceComplete".
[Client.Rpc.Workspace V] > workspace.registerServices() succeeded t:6.0
[Command:Object I] SessionContext: Status update from "InitSourceControlServiceComplete" to "InitCommentServiceComplete".
[Client.Rpc.Workspace V] > workspace.registerServices() succeeded t:7.0
[Command:Object I] SessionContext: Status update from "InitCommentServiceComplete" to "InitSyncServiceComplete".
[Client.Rpc.Workspace V] > workspace.registerServices() succeeded t:7.0
[Command:Object I] SessionContext: Status update from "InitSyncServiceComplete" to "InitCommandComplete".
[Client.Rpc.Workspace V] < workspace.registerServices()
[Client.Rpc.Workspace V] > workspace.registerServices() succeeded t:0.0
[Command:Object I] Decorator: ShareCommand Completed Success (5949ms abs=-10954ms pre=-212868ms post=201914)
[Command:Object I] Decorator: GaNotification Completed Success (5949ms abs=0ms pre=0ms post=0)
[Command:Object I] Decorator: Authentication Completed Success (5950ms abs=1ms pre=1ms post=0)
[Command:Object I] Decorator: InfoPage Completed Success (5950ms abs=0ms pre=0ms post=0)
[Progress I] Progress notifier finished: 2.
[Command:Object I] Decorator: Progress Completed Success (5952ms abs=2ms pre=2ms post=0)
[Client I] "Planned sessions are disabled, state: Shared
[Contact.Service V] Request 'publishPresence' serviceId:LivesharePresence
[Communications.Manager I] [Chat View Controller] joining session hub with id: 3495D57A0E1A8719004AD61CDDAA354E1BC9
[HubService V] join hub:3495D57A0E1A8719004AD61CDDAA354E1BC9
[Contact.Manager V] onActivityStatusChanged-> id:liveshare-State newStatus:doNotDisturb publishedPresenceStatus:undefined
[Contact.Service V] Request 'publishPresence' serviceId:LivesharePresence
[Command:Object I] SessionContext: State update from "SharingInProgress" (AttemptSharing) to "Shared" (SharingSuccess).
[Command:Object I] Decorator: SessionStateTransitions Completed Success (5955ms abs=3ms pre=1ms post=2)
[Command:Object I] Decorator: Validation Completed Success (5955ms abs=0ms pre=0ms post=0)
[Client.Rpc.Contact V] < contactService-LivesharePresence.request()
[Hub.Connection V] < hubConnection.invokeHubMethod()
[Client.Rpc.Contact V] < contactService-LivesharePresence.request()
[Command:Object I] Decorator: TelemetryStatus Completed Success (5956ms abs=1ms pre=0ms post=1)
[Command:Object I] Command [Starting collaboration session]: Share Success (5956ms)
[Command:Object I] Decorator: Telemetry Completed Success (5956ms abs=0ms pre=0ms post=0)
[Command:Object I] Decorator: FirstRunTracking Completed Success (5956ms abs=0ms pre=0ms post=0)
[Command:Object I] Decorator: ErrorNotification Completed Success (5956ms abs=0ms pre=0ms post=0)
[Command:Object I] Decorator: CancellationDecorator Completed Success (5957ms abs=1ms pre=1ms post=0)
[Command:Object I] Decorator: SingleInvocation Completed Success (5958ms abs=1ms pre=0ms post=1)
[Client.Rpc.ServerSharing V] < serverSharing.getSharedServers()
[Client.Rpc.ServerSharing V] > serverSharing.getSharedServers() succeeded t:1.0
[Client.Rpc.PortForwarding V] < terminal.getRunningTerminals()
[Client.Rpc.PortForwarding V] > terminal.getRunningTerminals() succeeded t:1.0
[Hub.Connection V] > hubConnection.hubMethodNotified: 
[Client.Rpc.Contact V] > contactService-LivesharePresence.request() succeeded t:351.0
[Client.Rpc.Contact V] > contactService-LivesharePresence.notified: 
[Contact.Service V] onNotified-> serviceId:LivesharePresence name:contactPropertiesChanged
[Hub.Connection V] > hubConnection.hubMethodNotified: 
[Hub.Connection V] > hubConnection.invokeHubMethod() succeeded t:525.0
[Client.Rpc.Contact V] < contactService-LivesharePresence.request()
[Hub.Connection V] < hubConnection.sendHubMethod()
[Client.Rpc.Contact V] > contactService-LivesharePresence.request() succeeded t:527.0
[Client.Rpc.Contact V] > contactService-LivesharePresence.notified: 
[Contact.Service V] onNotified-> serviceId:LivesharePresence name:presenceChanged
[Client.Rpc.Contact V] > contactService-LivesharePresence.request() succeeded t:3.0
[Hub.Connection V] > hubConnection.sendHubMethod() succeeded t:4.0
[Hub.Connection V] > hubConnection.hubMethodNotified: 
[Communications.Manager I] [Chat View Controller] chat hub message received. type: text, fromContactId: [object Object], hubId: 3495D57A0E1A8719004AD61CDDAA354E1BC9
[Communications.Manager I] [Chat View Controller] notify. type:text, from:github_1259831, hubId:3495D57A0E1A8719004AD61CDDAA354E1BC9

@OddKMS
Copy link

OddKMS commented Jun 3, 2021

I also have this issue, and it's driving me nuts since using LiveShare provides a huge productivity boost to our team.

[Contact.Manager V] ->loadRecentCollaborators:onStateChanged
[Contact.Manager V] SelfInviteProvider-> status:false
[Contact.Service V] onNotified-> serviceId:selfInvite name:suggestedUsers
[Contact.Manager I] onSuggestedUsersUpdate-> serviceId:selfInvite count:0
[Command:Object I] SessionContext: State update from "SignedOut" (SignInError) to "SignedOut" (JoiningError).
[Command:Object I] Decorator: SessionStateTransitions Completed Failed (13099ms abs=5ms pre=0ms post=5)
[Contact.Manager V] ->updateRecentContacts -> count:0
[Contact.Manager I] <- updateSuggestedUsers count:10
[Command:Object I] Decorator: TelemetryStatus Completed Failed (13099ms abs=0ms pre=0ms post=0)
[Command:Object E] Command [Joining collaboration session]: Join Failure: unable to get local issuer certificate (13100ms)
[Command:Object E] Error: unable to get local issuer certificate
	at TLSSocket.onConnectSecure (_tls_wrap.js:1497:34)
	at TLSSocket.emit (events.js:315:20)
	at TLSSocket.EventEmitter.emit (domain.js:467:12)
	at TLSSocket._finishInit (_tls_wrap.js:932:8)
	at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:706:12)
[Command:Object I] Decorator: Telemetry Completed Failed (13101ms abs=2ms pre=1ms post=1)
[Contact.Manager V] ->updateSuggestedUsers
[Contact.Manager V] <-updateRecentContacts

Strangely, it is also occurring when I'm in "normal" Windows.

@alyssajotice
Copy link
Contributor

Thank you both for the detailed information about the issue. I recently tested out our Ubuntu WSL experience and was able to Share/Join with no issues.

If you're using a proxy, please whitelist the following domains:

*.online.visualstudio.com
login.microsoftonline.com
*.liveshare.vsengsaas.visualstudio.com:443
download.microsoft.com:443

@maxtotterman, your original post was about the welcome button not being found. This indicates that the agent was unable to activate which is usually because all of the dependencies did not finish installing. Here are the Live Share docs about installing Linux prepreqs: https://docs.microsoft.com/en-us/visualstudio/liveshare/reference/linux. Did you run the wget command explained here? For your second issue, we need to figure out if it is WSL-specific or not.

@OddKMS, you mentioned that this "unable to get local issuer" error is happening when you're in "normal" windows. What OS are you using? Does it also happen when you use WSL as well? If so, what distro are you using?

If the error is not WSL-specific, I think it may be an authentication error.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically in 2 days.

@github-actions github-actions bot added the Stale label Aug 15, 2022
@alyssajotice alyssajotice removed their assignment Aug 15, 2022
@derekbekoe
Copy link
Collaborator


Related to #4229.

We’ve made improvements in this area since this issue was filed. We believe this may have improved your experience and are closing this issue. If this issue still persists for you, please comment on the issue and let us know. Thank you.

@derekbekoe derekbekoe closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants