live-share
live-share copied to clipboard
Live Share commands not found on fresh installs
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:
- Install either Ubuntu 22.04 or Fedora 36
- Download VSCode either through the gnome software app or through the website
- Install Live Share through extensions
- None of the commands are found.
Please attach logs to this issue: 20220403_185304_16490119845280_VSCode.log 20220403_185304_Agent.log
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
~/.vscodeand~/.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.
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.
Any update on this @alyssajotice?
Also see https://github.com/MicrosoftDocs/live-share/issues/4646
Definitely an issue on any Ubuntu 22.04 based distro fresh install.
Got the same problem via a Snap
Definitely an issue on any Ubuntu 22.04 based distro fresh install.
Same here, i'm using PopOS 22.04...
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 you can also install libssl1.x explain here https://github.com/MicrosoftDocs/live-share/issues/4646#issuecomment-1115120608
Thank you @Hydrog3n, is working.
Same problem Fedora 36.
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.
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
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.
The same problem in fedora workstation 36 using code-insiders
After install libssl1.1 on my fedora box the problem was fixed.
sudo dnf install openssl1.1
Thanks.
I can confirm this problem still exists on Fedora 36 with the official RPM.
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
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
I have the same error for Windows 10, and I am very confused, as it was working fine then suddenly crushed, .. any help please?
Manjaro Linux, it throws the same error OP had. Is there any solution?
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 it worked, thanks!
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.