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

vs code working stopped/hanged of live-share provider and also joiners

Open InamAli-Intiqa opened this issue 3 months ago • 5 comments

Describe what happened: -vs code stopped working when 1/2 person joined live-share -its hanged -no file changes save to host and joiners also -always we disabled vs code live-share extension, share newly generated link to collaborators again

What was your system configuration? -mac-mini-m2 (8/256)

Product and Version [VS/VSCode]: Version: 1.105.1 (Universal) Commit: 7d842fb85a0275a4a8e4d7e040d2625abbf7f084 Date: 2025-10-14T22:33:36.618Z Electron: 37.6.0 ElectronBuildId: 12502201 Chromium: 138.0.7204.251 Node.js: 22.19.0 V8: 13.8.258.32-electron.0 OS: Darwin arm64 25.0.0

OS Version[macOS/Windows]: -macos tahoe 26.0.1 (25A362)

Live Share Extension Version: -Identifier : ms-vsliveshare.vsliveshare -Version : 1.0.5959 -Size : 25.36MB

Target Platform or Language [e.g. Node.js]: -nodejs/javascript

Steps to Reproduce / Scenario:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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

Untitled.zip

Screenshots If applicable, add screenshots to help explain your problem.

  • on save file in host and joiners just loading comes and nothing goes ahead

InamAli-Intiqa avatar Oct 29 '25 06:10 InamAli-Intiqa

Facing Same issue

intiqa-technologies avatar Oct 29 '25 06:10 intiqa-technologies

When I try to click the link (i.e. https://prod.liveshare.vsengsaas.visualstudio.com/join?ED79BCF92E00....) it is hanging on loading state and then it encounters an error (does not even open my vs code).

Prochy20 avatar Oct 29 '25 17:10 Prochy20

@microsoftopensource @acrolinxatmsft1 any one is there?

InamAli-Intiqa avatar Nov 10 '25 05:11 InamAli-Intiqa

I tested this roughly one week after my post. Its working now so I assume it was just a temporary error.

Prochy20 avatar Nov 10 '25 07:11 Prochy20

Quick Workaround

I found a small fix that stopped Live Share from freezing when someone joins.

The issue was VS Code + Live Share trying to watch/share huge folders like node_modules, .next, dist, etc. After excluding them, the session works smoothly.

Just add this in your project: .vscode/settings.json

{
  "files.watcherExclude": {
    "**/node_modules/**": true,
    "**/.next/**": true,
    "**/dist/**": true
  },
  "files.exclude": {
    "**/node_modules/**": true,
    "**/.next/**": true,
    "**/dist/**": true
  },
  "search.exclude": {
    "**/node_modules/**": true,
    "**/.next/**": true,
    "**/dist/**": true
  },
  "search.useIgnoreFiles": true
}

This keeps heavy build folders out of Live Share so RAM stays low and no freezes. Helped a lot in my Next.js project — hope it helps someone else too!

InamAli-Intiqa avatar Nov 19 '25 07:11 InamAli-Intiqa