Reconnecting or loading FOREVER!

When I have worked with af project and have removed it - then I can’t open another project !

A small box on top of screen says “Reconnecting …” and another bigger box says “Loading …”

… and it never stops !

I get this (and much more …) in the OUTPUT window:

[Error - 9:34:41 AM] JSON Language Server client: couldn't create connection to server.
Error: UNC host 'nas-72-89-fd' access is not allowed
at lstat (node:fs:1574:10)
at Object.lstat (node:electron/js2c/node_init:2:4350)
at c:\Users\kelds\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\json-language-features\client\dist\node\jsonClientMain.js:1:471473
at new Promise (<anonymous>) .... and much more !!!!

How to correct this ?

Looks like this is comming from another VS Code plugin “Electron”?! Do you have other plugins? Try to disable or remove them.

If you mean “extensions” - I have nothing installed with “Electron” in it !

If you really mean “plugin” where can I find them ?

Yeah, they are called “extensions” not “plugins”, I think - right ?

yes you are right. i am not on my pc today to check the exact spelling. But you got what i mean.
The message / issue you see is comming from something different, not PlatformIO.


Hey, so I got a similar error. PIO is stuck at this screen. I can’t do anything, not even open my old projects.

Things I tried

  • Disabling all extensions except PIO (and the C/C++ extension which PIO requires).

IDK if this helps but ig these are the related logs.

2024-03-18 21:15:17.274 [info] Extension host terminating: renderer closed the MessagePort

2024-03-18 21:15:17.301 [error] Canceled: Canceled

at new $ (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:140:45885)

at s.U (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:147:5556)

at z.<computed>.T.charCodeAt.z.<computed> (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:147:3007)

at l.g (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:184300)

at l.executeCommand (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:183738)

at f.registerCommand.description (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:183062)

at l.h (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:184839)

at l.g (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:183831)

at l.executeCommand (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:183738)

at Object.executeCommand (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:160:21654)

at Object.disposeLocalSubscriptions (/home/evoprime/.vscode/extensions/platformio.platformio-ide-3.3.3-linux-x64/dist/extension.js:1:47245)

at Object.deactivate (/home/evoprime/.vscode/extensions/platformio.platformio-ide-3.3.3-linux-x64/dist/extension.js:1:47395)

at Module.V (/home/evoprime/.vscode/extensions/platformio.platformio-ide-3.3.3-linux-x64/dist/extension.js:1:47477)

at w.cb (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:9687)

at /usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:7816

at Array.map (<anonymous>)

at w.Y (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:7803)

at w.terminate (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:8076)

at o.terminate (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:160:1513)

at t (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:173:9949)

at MessagePortMain.<anonymous> (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:173:6374)

at MessagePortMain.emit (node:events:514:28)

at MessagePortMain.emit (node:domain:489:12)

at Object.emit (node:electron/js2c/utility_init:2:2285) setContext undefined

2024-03-18 21:15:17.301 [error] Canceled: Canceled

at new $ (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:140:45885)

at s.U (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:147:5556)

at z.<computed>.T.charCodeAt.z.<computed> (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:147:3007)

at l.g (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:184300)

at l.executeCommand (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:183738)

at f.registerCommand.description (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:183062)

at l.h (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:184839)

at l.g (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:183831)

at l.executeCommand (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:150:183738)

at Object.executeCommand (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:160:21654)

at Object.disposeLocalSubscriptions (/home/evoprime/.vscode/extensions/platformio.platformio-ide-3.3.3-linux-x64/dist/extension.js:1:47305)

at Object.deactivate (/home/evoprime/.vscode/extensions/platformio.platformio-ide-3.3.3-linux-x64/dist/extension.js:1:47395)

at Module.V (/home/evoprime/.vscode/extensions/platformio.platformio-ide-3.3.3-linux-x64/dist/extension.js:1:47477)

at w.cb (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:9687)

at /usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:7816

at Array.map (<anonymous>)

at w.Y (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:7803)

at w.terminate (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:156:8076)

at o.terminate (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:160:1513)

at t (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:173:9949)

at MessagePortMain.<anonymous> (/usr/share/code/resources/app/out/vs/workbench/api/node/extensionHostProcess.js:173:6374)

at MessagePortMain.emit (node:events:514:28)

at MessagePortMain.emit (node:domain:489:12)

at Object.emit (node:electron/js2c/utility_init:2:2285) setContext undefined

2024-03-18 21:15:17.328 [info] Extension host with pid 21591 exiting with code 0

2024-03-18 21:15:18.778 [info] Extension host with pid 21982 started

2024-03-18 21:15:18.883 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'

2024-03-18 21:15:18.973 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git

2024-03-18 21:15:18.979 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'

2024-03-18 21:15:19.004 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'

2024-03-18 21:15:19.065 [info] Eager extensions activated

2024-03-18 21:15:19.102 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'

2024-03-18 21:15:19.105 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'

2024-03-18 21:15:20.325 [info] ExtensionService#_doActivateExtension ms-vscode.cpptools, startup: false, activationEvent: 'onView:platformio-ide.quickAccess', root cause: platformio.platformio-ide

2024-03-18 21:15:20.797 [info] ExtensionService#_doActivateExtension platformio.platformio-ide, startup: false, activationEvent: 'onView:platformio-ide.quickAccess'

2024-03-18 21:15:24.005 [error] Error: Unexpected server response: 404

at ClientRequest.<anonymous> (/home/evoprime/.vscode/extensions/platformio.platformio-ide-3.3.3-linux-x64/node_modules/ws/lib/websocket.js:912:7)

at ClientRequest.emit (node:events:514:28)

at ClientRequest.emit (node:domain:489:12)

at HTTPParser.parserOnIncomingClient (node:_http_client:700:27)

at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)

at Socket.socketOnData (node:_http_client:541:22)

at Socket.emit (node:events:514:28)

at Socket.emit (node:domain:489:12)

at addChunk (node:internal/streams/readable:324:12)

at readableAddChunk (node:internal/streams/readable:297:9)

at Socket.push (node:internal/streams/readable:234:10)

at TCP.onStreamRead (node:internal/stream_base_commons:190:23)

@keldsor is this the same error you got?

You can see the start of the “vulcano eruption” earlier in this thread !

I shut PlatformIO down and starts again - cured !

Nothing worked. I finally pulled the trigger and did a full clean reinstall - deleted my user files from ~/.platformio, removed user settings from settings.json and reinstalled it. It’s finally working!

1 Like