Product and Version [VS/VSCode]: 1.41.0
OS Version [macOS/Windows]: ubuntu 18.04
Live Share Extension Version: v1.0.1374
Steps to Reproduce / Scenario:
Screenshots



When I come back and check VS code ii will shows

Logs
logs.zip
Any solution to this??
Still facing this issue.
adding , @Moniarchy and @legomushroom
@AchalaSB, what browser are you using to sign in? Also, once you successfully authenticate and are redirected to VS Code, does the message "Signing in..." just hang there until you cancel it?
@Moniarchy I was seeing this problem as well. For me, the redirection to VS Code didn't work at all because there was no handler for the code-oss URIs. When I hit "Open xdg-open" it just defaulted to open the URI in the browser which does nothing.
Fix for me is to configure XDG for this URI type and I am able to login with the browser:
xdg-mime default code-oss-url-handler.desktop x-scheme-handler/code-oss
Btw, I am using arch linux (OP says they are using Ubuntu) and it may be a packaging issue since it looks like they are patching @@URLPROTOCOL@@ manually before gulp runs.
Also, the vsls URIs for opening a session weren't working either until I did the same thing:
xdg-mime default code-oss-url-handler.desktop x-scheme-handler/vsls
Does the extension need to be updated to configure for vsls URIs?
@Moniarchy I tried both in brave and chrome.
Yes it is singing in message is hanging. until I press cancel button
@Moniarchy @legomushroom @setaskin Any upadte on this ?
I'm in 1.43 version. When this issue will be fixed? any alternative?
Exact same problem here in Ubuntu
@daviyisu Can you try running Live Share: Disable VSCode account authentication and try signing in again? Please let us know if this unblocks you.
@dlebu I fixed it by using Firefox instead of Opera as my browser.
I tried Live Share: Disable VSCode account authentication but it says
Starting collaboration session: Could not connect to the server. HTTPS connection failed, verify there are no self-signed certificates or custom cert validation policies blocking Live Share.
I have tried by changing network mode to auto, direct, relay same error
I tried in all browsers like brave, chrome, opera, firefox nothing is worked
I see you have already tried the workaround.
Can you update to recent versions of VS Code and LiveShare and confirm nothing works? The connection failure indicates there is something in your network that prevents from reaching LiveShare services.
@BrunoGuardia
VSCode version: 1.45
OS Version : ubuntu 18.04
Live Share Extension Version: v1.0.2169 (May 7th, 2020)
Nope, nothing worked.
Tried usercode, disabled account authentication.
I'm having the same issue. Can't make VsCode prompt browser loggin page
Also experiencing this issue with Ubuntu 20.04. None of the proposed solutions in this thread work in my case.
I'm facing the same issue
I noticed that the desktop file was missing.
I fixed it by downloading the code package from another distros repository ( https://www.archlinux.org/packages/community/x86_64/code/download/) and copying code-oss-url-handler.desktop to /usr/local/share/applications.
After that, I ran xdg-mime default code-oss-url-handler.desktop x-scheme-handler/code-oss . It works fine now.
Most helpful comment
@Moniarchy I was seeing this problem as well. For me, the redirection to VS Code didn't work at all because there was no handler for the
code-ossURIs. When I hit "Open xdg-open" it just defaulted to open the URI in the browser which does nothing.Fix for me is to configure XDG for this URI type and I am able to login with the browser:
Btw, I am using arch linux (OP says they are using Ubuntu) and it may be a packaging issue since it looks like they are patching
@@URLPROTOCOL@@manually before gulp runs.