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

"Error: Cannot get Live Share workspaceId" trying to join a shared session from MacBook VS Code to Windows VS Code (other direction works)

Open DanTup opened this issue 2 years ago • 3 comments

I have a Windows PC and a MacBook on the same network. If I create a session on my MacBook and connect from the Windows PC, everything is fine. If I try to do it the other way around (start the session on my PC, join from Mac), I get this message (and not much useful info):

Screenshot 2023-07-19 at 14 56 01

I can't see anything useful in the exported logs either: liveshare.zip

Both machines are logged in to Live Share using the same Microsoft account.

What was your system configuration? Product and Version [VS/VSCode]: VS Code (on both machines) - Version: 1.80.1 - Commit: 74f6148eb9ea00507ec113ec51c489d6ffb4b771 - Date: 2023-07-12T17:20:23.298Z - Electron: 22.3.14 - ElectronBuildId: 21893604 - Chromium: 108.0.5359.215 - Node.js: 16.17.1 - V8: 10.8.168.25-electron.0 - OS: Darwin x64 22.5.0 OS Version[macOS/Windows]: macOS Ventura 13.4 (host is Windows 11 Pro) Live Share Extension Version: v1.0.5873 Target Platform or Language [e.g. Node.js]: Not sure what this is asking. I'm trying to test with a Dart workspace (to investigate https://github.com/dart-lang/sdk/issues/52952), but I don't think that's related.

Steps to Reproduce / Scenario:

  1. Open a simple Flutter project on the Windows PC
  2. Click Live Share in the status bar and wait for it to copy the URL to the clipboard
  3. Send the URL to my MacBook
  4. Open VS Code
  5. Close any open workspace
  6. Run the Live Share: Join Collaborative Session command
  7. Paste the URL
  8. Get error from screenshot above

DanTup avatar Jul 19 '23 14:07 DanTup

Apologies for the delay here. Please comment if the issue persists with any additional details. Thank you.

derekbekoe avatar Jan 27 '24 05:01 derekbekoe

@derekbekoe,

What details are you expecting?

I have exactly the same thing happening. I tried to share from a Windows 11 Machine and Join with a Mac OS machine. Please note: it does work the other way around. Sharing from the Mac OS machine with the Windows 11 Machine.

Jason3S avatar Mar 08 '24 13:03 Jason3S

@derekbekoe,

This is also broken when sharing between a Mac OS machine and a Mac OS machine.

Jason3S avatar Jun 03 '24 10:06 Jason3S