live-share icon indicating copy to clipboard operation
live-share copied to clipboard

Live Share commands not found on fresh installs

Open Tylerwbrown opened this issue 3 years ago • 22 comments

Describe what happened: On a fresh install of both Ubuntu 22.04 and Fedora 36 (both running Gnome 42), the share/join buttons don't do anything. Manually invoking the "Live Share: Join Collaboration Session" results in an error command 'liveshare.join' not found).

Things I've tried

  • installing differently (snap (Ubuntu & Fedora), deb (Ubuntu) and rpm (Fedora)), wiping the .vscode folder between installs
  • older versions of vscode & liveshare
  • Manually installing linux dependencies - wget -O ~/vsls-reqs https://aka.ms/vsls-linux-prereq-script && chmod +x ~/vsls-reqs && ~/vsls-reqs
  • Repairing the installation

What was your system configuration? Product and Version: VSCode - 1.66.0 OS Version:Ubuntu 22.04 & Fedora 36 Live Share Extension Version: 1.0.5449

Steps to Reproduce / Scenario:

  1. Install either Ubuntu 22.04 or Fedora 36
  2. Download VSCode either through the gnome software app or through the website
  3. Install Live Share through extensions
  4. None of the commands are found.

Please attach logs to this issue: 20220403_185304_16490119845280_VSCode.log 20220403_185304_Agent.log

Tylerwbrown avatar Apr 03 '22 18:04 Tylerwbrown

I believe I may be hitting this same issue on Ubuntu 22.04. I tried all the following with no success.

  • Running the menu option "Live Share: Repair Installation"
  • Uninstalling and reinstalling the extension.
  • Uninstalling the extension, deleting ~/.vscode/extensions/ms-vsliveshare.vsliveshare-1.0.5449, and reinstalling.
  • Uninstall VSCode totally, delete ~/.vscode and ~/.config/Code, and reinstall VSCode via apt.

Some interesting console logs:

Activating extension 'ms-vsliveshare.vsliveshare' failed: Connection got disposed..
[Extension Host] rejected promise not handled within 1 second: Error: RPC connection closed.
[Extension Host] stack trace: Error: RPC connection closed.

pkkid avatar Apr 05 '22 02:04 pkkid

Thank you for the issue. This is likely caused by the agent failing to start up. We're working on some changes that should hopefully address agent startup issues.

alyssajotice avatar Apr 11 '22 14:04 alyssajotice

Any update on this @alyssajotice?

Also see https://github.com/MicrosoftDocs/live-share/issues/4646

tenstad avatar Apr 25 '22 16:04 tenstad

Definitely an issue on any Ubuntu 22.04 based distro fresh install.

mickutz avatar May 02 '22 13:05 mickutz

Got the same problem via a Snap

fev4 avatar May 19 '22 00:05 fev4

Definitely an issue on any Ubuntu 22.04 based distro fresh install.

Same here, i'm using PopOS 22.04...

messiias avatar May 20 '22 02:05 messiias

Same with me using PopOS 22.04. when installing using apt or using Pop!_OS(deb) cannot share & join error (command 'liveshare.start' not found) error (command 'liveshare.join' not found)

>Live Share: Repair Installation this also is not fixing this issue

The temporary solution is to install vscode using flathub (flatpak).

shukrikhalid avatar May 23 '22 13:05 shukrikhalid

@shukrikhalid you can also install libssl1.x explain here https://github.com/MicrosoftDocs/live-share/issues/4646#issuecomment-1115120608

Hydrog3n avatar May 23 '22 13:05 Hydrog3n

Thank you @Hydrog3n, is working.

shukrikhalid avatar May 23 '22 13:05 shukrikhalid

Same problem Fedora 36.

userhv avatar Jun 12 '22 18:06 userhv

The same issue also exists on Ubuntu 20.04, 19.04, macOS Catalina 10.15.7 and possibly more. Quite a few people continue to experience similar errors after the closure of #2118.

Bon-1900 avatar Jun 22 '22 00:06 Bon-1900

Solution/Workaround for Ubuntu 22.04: https://github.com/MicrosoftDocs/live-share/issues/4646#issuecomment-1115120608

TL;DR:

echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list
sudo apt update
sudo apt install libssl1.1

noisy avatar Jun 28 '22 23:06 noisy

While libssl1.1 seems like a fine hack, a few, myself included, experienced the error below.

Package libssl1.1 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libssl1.1' has no installation candidate

Also mentioned in #4646 (comment), libssl1.1 is not supported for 22.04 saddly.

Bon-1900 avatar Jun 29 '22 13:06 Bon-1900

The same problem in fedora workstation 36 using code-insiders

jvesouza avatar Jul 04 '22 11:07 jvesouza

After install libssl1.1 on my fedora box the problem was fixed.

sudo dnf install openssl1.1

Thanks.

jvesouza avatar Jul 04 '22 12:07 jvesouza

I can confirm this problem still exists on Fedora 36 with the official RPM.

jonkoops avatar Jul 05 '22 10:07 jonkoops

After install libssl1.1 on my fedora box the problem was fixed.

sudo dnf install openssl1.1

Thanks.

Works for me when installing the openssl1.1

navneetprakash avatar Aug 05 '22 08:08 navneetprakash

Definitely an issue on any Ubuntu 22.04 based distro fresh install.

Same here, i'm using PopOS 22.04...

were you able to find a solution? Currently experiencing this Pop_OS 22.04

eureka-cpu avatar Aug 11 '22 00:08 eureka-cpu

I have the same error for Windows 10, and I am very confused, as it was working fine then suddenly crushed, .. any help please?

jaweherbensalah avatar Aug 15 '22 05:08 jaweherbensalah

Manjaro Linux, it throws the same error OP had. Is there any solution?

RickCastle2018 avatar Aug 29 '22 19:08 RickCastle2018

For anyone running an Arch based distro, install icu69-bin from AUR. Live Share probably depends on an older version of ICU than we have in the core repository.

tajnymag avatar Aug 30 '22 08:08 tajnymag

@tajnymag it worked, thanks!

RickCastle2018 avatar Aug 31 '22 17:08 RickCastle2018

We’ve made improvements in this area since this issue was filed (i.e. the vsls-agent process and associated dependencies have been removed). 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 avatar Nov 13 '22 00:11 derekbekoe