Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vscode not working (again, see #443) #511

Closed
dogmatic69 opened this issue Oct 11, 2022 · 17 comments
Closed

vscode not working (again, see #443) #511

dogmatic69 opened this issue Oct 11, 2022 · 17 comments
Labels
stale There has not been activity on this issue or PR for quite some time.

Comments

@dogmatic69
Copy link

dogmatic69 commented Oct 11, 2022

Problem/Motivation

This is follow on from #443. However I don't recall doing any updates before this happend. Almost as if it just suddenly stopped working. Given it's identical symptoms to last time I'm going to say it's not related to any updates and probably something triggers it and the "error" get's cached some how which keeps it "broken".

vscode loads and then immediately stops working. not possible to open any files or modify any content

This is almost certainly something within the instance, cached or something, as it immediately done the same thing on all machines I've got available for testing. eg: both windows / linux, completely different browser sessions etc.

The page is also now very slow to load, often it will "crash" completely with browser errors saying the page crashed.

The rest of HA is working perfectly fine.

As a side note, if I am quick enough just after the page loads I can change to open a new folder, eg / and then everything works fine again. This can be any folder besides /config, eg /config/<something> will work just fine. As soon as I open /config again everything stops working.

Expected behavior

it should be possible to open and modify files

Actual behavior

In the console, there are constant reconnections.

console: (these errors repeat multiple times per second)

 INFO [remote-connection][Management   ][6b4c5…][reconnect] received socket close event (wasClean: false, code: 1006, reason: ).
log.ts:313   ERR CloseEvent {isTrusted: true, wasClean: false, code: 1006, reason: '', type: 'close', …}
log.ts:301  INFO [remote-connection][Management   ][6b4c5…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:301  INFO [remote-connection][Management   ][6b4c5…][reconnect] resolving connection...
log.ts:301  INFO [remote-connection][Management   ][6b4c5…][reconnect] connecting to xxx.xxx:8123...
log.ts:301  INFO [remote-connection][Management   ][6b4c5…][reconnect] reconnected!
log.ts:301  INFO [remote-connection][Management   ][6b4c5…][reconnect] received socket close event (wasClean: true, code: 1000, reason: ).
log.ts:313   ERR CloseEvent {isTrusted: true, wasClean: true, code: 1000, reason: '', type: 'close', …}
log.ts:301  INFO [remote-connection][Management   ][6b4c5…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
log.ts:301  INFO [remote-connection][Management   ][6b4c5…][reconnect] resolving connection...
log.ts:301  INFO [remote-connection][Management   ][6b4c5…][reconnect] connecting to xxx.xxx:8123...
log.ts:301  INFO [remote-connection][Management   ][6b4c5…][reconnect] reconnected!
log.ts:301  INFO [remote-connection][Management   ][6b4c5…][reconnect] received socket close event (wasClean: true, code: 1000, reason: ).

add-on logs:

[09:03:31] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:31] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:31] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/bootstrap.js:1:407)
    at process.emit (node:events:402:35)
[09:03:37] Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/vs/server/node/server.main.js:148:7922)
    at process.emit (node:events:402:35)
[09:03:37] [172.30.32.2][afbf1eb3][ManagementConnection] The client has disconnected, will wait for reconnection 3h before disposing...
[09:03:42] [172.30.32.2][afbf1eb3][ManagementConnection] Another client has connected, will shorten the wait for reconnection 5m before disposing...
[09:03:42] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:43] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:44] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:45] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:45] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:46] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:46] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:46] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:47] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:47] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:48] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:48] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:49] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:49] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:49] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:50] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:50] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:51] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:51] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:52] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:52] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:53] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:53] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:53] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:54] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:54] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:55] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:56] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:56] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:56] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:57] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:57] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:58] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:58] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:58] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:59] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:03:59] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:00] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:00] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:01] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:01] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:01] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:02] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:02] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:03] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:03] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:03] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:04] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:04] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:05] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:05] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:06] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:06] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:07] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:07] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:08] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:08] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:09] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:15] [172.30.32.2][afbf1eb3][ManagementConnection] The client has disconnected, will wait for reconnection 3h before disposing...
[09:04:16] [172.30.32.2][afbf1eb3][ManagementConnection] Another client has connected, will shorten the wait for reconnection 5m before disposing...
[09:04:16] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:17] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:18] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:19] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:19] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:19] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:20] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:20] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:21] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:21] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/bootstrap.js:1:407)
    at process.emit (node:events:402:35)
[09:04:15] Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/vs/server/node/server.main.js:148:7922)
    at process.emit (node:events:402:35)
[09:04:22] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:22] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:23] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:04:23] [172.30.32.2][afbf1eb3][ManagementConnection] The client has reconnected.
[09:05:24] No ptyHost heartbeat after 6 seconds
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/bootstrap.js:1:407)
    at process.emit (node:events:402:35)
[09:05:37] Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/vs/server/node/server.main.js:148:7922)
    at process.emit (node:events:402:35)
[09:05:38] [172.30.32.2][afbf1eb3][ManagementConnection] The client has disconnected, will wait for reconnection 3h before disposing...
[09:05:39] [172.30.32.2][65321a48][ExtensionHostConnection] <41689> Extension Host Process exited with code: 0, signal: null.

Steps to reproduce

Not really sure how to reproduce this, but before it started and things were working kinda well it started to be glitchy almost like high memmory usage. Eventually it stalled and now does not work.

Proposed changes

No idea :/

@dogmatic69
Copy link
Author

Logs with trace level

[2022-10-11T08:24:14.149Z] info  HTTP server listening on http://0.0.0.0:1337/ 
[2022-10-11T08:24:14.149Z] info    - Authentication is disabled 
[2022-10-11T08:24:14.149Z] info    - Not serving HTTPS 
[10:24:52] Extension host agent started.
[10:24:54] [172.30.32.2][638d0240][ManagementConnection] New connection established.
[10:24:55] [172.30.32.2][0fe3810d][ExtensionHostConnection] New connection established.
[10:24:55] [172.30.32.2][0fe3810d][ExtensionHostConnection] <568> Launched Extension Host Process.
[10:24:57] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:24:58] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:24:58] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:24:59] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:24:59] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:00] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:00] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:00] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:01] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:01] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:02] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:02] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:02] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:03] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:03] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:04] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:04] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:05] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:05] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:06] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:06] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:07] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:07] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:08] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
...
...
...
[10:25:28] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:28] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:29] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:29] Error: read ECONNRESET
    at TCP.onStreamRead (node:internal/stream_base_commons:220:20) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'read'
}
[10:25:29] [172.30.32.2][638d0240][ManagementConnection] The client has disconnected, will wait for reconnection 3h before disposing...
[10:25:29] [172.30.32.2][638d0240][ManagementConnection] Another client has connected, will shorten the wait for reconnection 5m before disposing...
[10:25:29] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:30] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:30] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:30] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:31] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:31] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:32] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:32] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:32] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:25:33] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
....
...
...
[10:27:11] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:27:11] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:27:11] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:27:12] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:27:12] [172.30.32.2][638d0240][ManagementConnection] The client has reconnected.
[10:27:13] [172.30.32.2][0fe3810d][ExtensionHostConnection] <568> Extension Host Process exited with code: 0, signal: null.
[10:27:16] [172.30.32.2][43625e45][ManagementConnection] New connection established.
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/bootstrap.js:1:407)
    at process.emit (node:events:402:35)
[10:27:17] Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/vs/server/node/server.main.js:148:7922)
    at process.emit (node:events:402:35)
[10:27:17] [172.30.32.2][638d0240][ManagementConnection] The client has disconnected, will wait for reconnection 3h before disposing...
[10:27:17] [172.30.32.2][638d0240][ManagementConnection] Another client has connected, will shorten the wait for reconnection 5m before disposing...
[10:27:17] [172.30.32.2][83932dbe][ExtensionHostConnection] New connection established.
[10:27:17] [172.30.32.2][83932dbe][ExtensionHostConnection] <606> Launched Extension Host Process.
[10:28:15] [172.30.32.2][43625e45][ManagementConnection] The client has disconnected gracefully, so the connection will be disposed.
[10:28:15] [172.30.32.2][83932dbe][ExtensionHostConnection] <606> Extension Host Process exited with code: 0, signal: null.
[10:28:19] [172.30.32.2][46871005][ManagementConnection] New connection established.
[10:28:20] [172.30.32.2][e3024dc5][ExtensionHostConnection] New connection established.
[10:28:20] [172.30.32.2][e3024dc5][ExtensionHostConnection] <699> Launched Extension Host Process.
[10:28:25] [172.30.32.2][46871005][ManagementConnection] The client has reconnected.
[10:28:25] [172.30.32.2][46871005][ManagementConnection] The client has reconnected.
[10:28:26] [172.30.32.2][46871005][ManagementConnection] The client has reconnected.
[10:28:26] [172.30.32.2][46871005][ManagementConnection] The client has reconnected.
[10:28:27] [172.30.32.2][46871005][ManagementConnection] The client has reconnected.
...
...
...
[10:28:48] [172.30.32.2][46871005][ManagementConnection] The client has reconnected.
[10:28:49] [172.30.32.2][46871005][ManagementConnection] The client has reconnected.
[10:28:49] [172.30.32.2][46871005][ManagementConnection] The client has reconnected.
[10:28:50] [172.30.32.2][46871005][ManagementConnection] The client has reconnected.
[10:28:51] [172.30.32.2][46871005][ManagementConnection] The client has reconnected.
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/bootstrap.js:1:407)
    at process.emit (node:events:402:35)
[10:28:54] Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/vs/server/node/server.main.js:148:7922)
    at process.emit (node:events:402:35)
[10:28:54] [172.30.32.2][46871005][ManagementConnection] The client has disconnected, will wait for reconnection 3h before disposing...
[10:28:58] [172.30.32.2][46871005][ManagementConnection] Another client has connected, will shorten the wait for reconnection 5m before disposing...
[10:28:58] [172.30.32.2][46871005][ManagementConnection] The client has reconnected.
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/bootstrap.js:1:407)
    at process.emit (node:events:402:35)
[10:28:59] Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/vs/server/node/server.main.js:148:7922)
    at process.emit (node:events:402:35)
[10:28:59] [172.30.32.2][46871005][ManagementConnection] The client has disconnected, will wait for reconnection 3h before disposing...
[10:28:59] [172.30.32.2][46871005][ManagementConnection] Another client has connected, will shorten the wait for reconnection 5m before disposing...
[10:28:59] [172.30.32.2][46871005][ManagementConnection] The client has reconnected.
[10:28:59] [172.30.32.2][46871005][ManagementConnection] The client has reconnected.
[10:29:00] [172.30.32.2][46871005][ManagementConnection] The client has reconnected.
[10:29:01] [172.30.32.2][46871005][ManagementConnection] The client has reconnected.

@tjorim
Copy link
Contributor

tjorim commented Oct 11, 2022

Curious case, could you for example use the SSH add-on, cd into the config folder and run stuff like...

  • ls -la
  • find . -maxdepth 1 -type l -ls

@dogmatic69
Copy link
Author

yes. this only affects vscode

@dogmatic69
Copy link
Author

As per the issue in #443, I've managed to get it working (so far) by removing the add-on, restarting ha a couple times and then re-installing the add-on.

@tjorim
Copy link
Contributor

tjorim commented Oct 11, 2022

Please post the results?

@dogmatic69
Copy link
Author

Perhaps misread your question. I'm running HA blue so not sure how to access specific docker instances or if that's even possible. when running the ssh addon there are no exposed docker commands

@tjorim
Copy link
Contributor

tjorim commented Oct 11, 2022

Don't need to go into the container, /config is a shared folder.

@dogmatic69
Copy link
Author

$ find . -maxdepth 1 -type l -ls
find: unrecognised: -ls

Without the -ls there is no output, aka no symbolic links.

Even if there was, doubt it would have anything to do with the issue as the add-on has been working without any issues for a while, suddenly breaks, reinstalling fixes it. All the while the file system has remained unchanged.

@imist
Copy link

imist commented Oct 24, 2022

FWIW: find does not have an -ls option

@imist
Copy link

imist commented Nov 3, 2022

I have the same problem as @dogmatic69 running 2022.10.5 on HA OS on RPi4:
The Explorer icon includes a blue watch indicating that it is working on something. Also there's a continuously blue progress indicator running at the top of the Explorer pane.

From VSCode log:

[11:29:00] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:01] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:02] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:02] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:03] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:03] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:04] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:04] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:05] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:05] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:06] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:06] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:07] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:07] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:08] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:08] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:09] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:09] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:10] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:10] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:11] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:11] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:12] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:12] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:13] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:13] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:14] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:14] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:14] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:15] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:16] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:16] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:17] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:17] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:18] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:18] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:19] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:19] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:19] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:20] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:21] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:22] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:22] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:23] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:23] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:24] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:24] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:25] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:25] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:26] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:26] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:27] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:27] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:27] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:28] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:28] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:29] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:29] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:30] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:30] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:30] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:31] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:31] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:32] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:32] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:33] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:33] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:34] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:34] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:35] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:35] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:36] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:36] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:37] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:37] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:38] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:38] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:39] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:39] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:39] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:40] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:40] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:41] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:41] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:42] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:42] [172.30.32.2][127ae66f][ManagementConnection] The client has reconnected.
[11:29:43] [172.30.32.2][7e1a7e21][ExtensionHostConnection] <431> Extension Host Process exited with code: 0, signal: null.
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/bootstrap.js:1:407)
    at process.emit (node:events:402:35)
[11:29:50] Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/vs/server/node/server.main.js:148:7922)
    at process.emit (node:events:402:35)
[11:29:50] [172.30.32.2][127ae66f][ManagementConnection] The client has disconnected, will wait for reconnection 3h before disposing...
Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/bootstrap.js:1:407)
    at process.emit (node:events:402:35)
[11:29:53] Error: Unexpected SIGPIPE
    at process.<anonymous> (/usr/local/lib/code-server/lib/vscode/out/vs/server/node/server.main.js:148:7922)
    at process.emit (node:events:402:35)

@imist
Copy link

imist commented Nov 3, 2022

@tjorim Output from the suggested commands:
(had to remove unsupported "-ls" option)

➜  ~ cd /config
➜  /config ls -la
total 2447832
drwxr-xr-x   13 root     root          4096 Nov  2 00:13 .
drwxr-xr-x    1 root     root          4096 Nov  2 17:51 ..
-rw-r--r--    1 root     root             9 Oct 21 18:37 .HA_VERSION
drwxr-xr-x    2 root     root          4096 Jan 10  2021 .cloud
drwxr-xr-x    3 root     root          4096 Nov  3 11:55 .storage
drwxr-xr-x    2 root     root          4096 Feb  2  2022 .vscode
-rw-r--r--    1 root     root          5816 Oct 30 13:36 automations.yaml
drwxr-xr-x    4 root     root          4096 Aug 31  2021 blueprints
-rw-r--r--    1 root     root         10318 Oct 30 09:23 configuration.yaml
drwxr-xr-x   17 root     root          4096 Oct 22 16:40 custom_components
drwxr-xr-x    2 root     root          4096 Jan 10  2021 deps
drwxr-xr-x    3 root     root          4096 Oct  9 15:51 esphome
drwxr-xr-x    2 root     root          4096 Jan 10  2021 glances
-rw-r--r--    1 root     root             0 Jan 10  2021 groups.yaml
-rw-r--r--    1 root     root     415445644 Nov  3 11:59 home-assistant.log
-rw-r--r--    1 root     root     1726824413 Nov  2 00:01 home-assistant.log.1
-rw-r--r--    1 root     root             0 Oct 26 23:37 home-assistant.log.fault
-rw-r--r--    1 root     root     359444480 Aug 11 18:45 home-assistant_v2.db
drwxr-xr-x    5 root     root          4096 Nov  3 11:58 node-red
-rw-r--r--    1 root     root             0 Jan 10  2021 scenes.yaml
-rw-r--r--    1 root     root             0 Jan 10  2021 scripts.yaml
-rw-r--r--    1 root     root           519 Oct  9 15:58 secrets.yaml
drwxr-xr-x    2 root     root          4096 Mar 27  2022 tts
drwxr-xr-x    4 root     root          4096 Aug 22 17:55 www
-rw-r--r--    1 root     root        577536 Nov  3 11:56 zigbee.db
-rw-r--r--    1 root     root         32768 Nov  3 11:59 zigbee.db-shm
-rw-r--r--    1 root     root       4148872 Nov  3 11:59 zigbee.db-wal
➜  /config find . -maxdepth 1 -type l
➜  /config

@lxalln
Copy link

lxalln commented Nov 4, 2022

I'm having this issue too, for a few days now, VS Code struggles to open files and cannot write.

Happy to provide logs, and to help debug the issue.

[core-ssh config]$ ls -la
total 1984
drwxr-xr-x   17 1000     root          4096 Nov  4 10:24 .
drwxr-xr-x    1 root     root          4096 Nov  4 10:33 ..
-rw-r--r--    1 1000     root             9 Nov  4 09:47 .HA_VERSION
drwxr-xr-x    2 1000     root          4096 Feb 18  2022 .cloud
drwx------    8 1000     root          4096 Feb 18  2022 .git
-rw-r--r--    1 1000     root            63 Feb 18  2022 .gitignore
-rw-r--r--    1 1000     root          1164 Apr  8  2022 .google.token
drwxr-xr-x    2 root     root          4096 Aug 29 07:23 .shortumations
-rw-r--r--    1 1000     root          1553 May 25 11:14 .sonoff.json
drwxr-xr-x    4 1000     root         12288 Nov  4 10:41 .storage
drwx------    2 1000     root          4096 Feb 18  2022 .vscode
drwx------    2 1000     root          4096 Feb 18  2022 automation
-rw-r--r--    1 root     root         43446 Nov  4 09:53 automations.yaml
-rw-r--r--    1 1000     root           189 Oct 15 17:18 binary_sensors.yaml
drwxr-xr-x    4 1000     root          4096 Feb 18  2022 blueprints
-rw-r--r--    1 1000     root          2864 Oct 29 19:32 configuration.yaml
drwx------   10 1000     root          4096 Nov  2 12:37 custom_components
-rw-r--r--    1 1000     root          1919 Jul  8 10:09 customize.yaml
drwxr-xr-x    2 1000     root          4096 Feb 18  2022 deps
drwxr-xr-x    3 root     root          4096 Jul 25 16:25 esphome
-rw-r--r--    1 1000     root          1953 Sep  7 19:29 google_calendars.yaml
-rw-r--r--    1 1000     root           795 Oct 26 15:49 groups.yaml
-rw-r--r--    1 root     root        406543 Nov  4 10:43 home-assistant.log
-rw-r--r--    1 root     root             0 Nov  4 09:47 home-assistant.log.fault
-rw-r--r--    1 1000     root        196608 Feb 18  2022 home-assistant_v2.db
drwx------    5 1000     root          4096 Sep 22 10:56 image
-rw-r--r--    1 1000     root             0 Feb 18  2022 known_devices.yaml
-rw-r--r--    1 root     root           426 Aug 11 11:40 mqtt.yaml
-rw-r--r--    1 1000     root           316 Feb 18  2022 notify.yaml
drwxr-xr-x    2 root     root          4096 Nov  2 11:32 python_scripts
-rw-r--r--    1 root     root         22728 Oct  9 18:39 scenes.yaml
-rw-r--r--    1 root     root          8920 Oct 17 16:28 scripts.yaml
-rw-r--r--    1 1000     root           174 Feb 18  2022 secrets.yaml
-rw-r--r--    1 1000     root          4043 Nov  4 10:19 sensors.yaml
-rw-r--r--    1 root     root         11446 Oct 27 13:52 templates.yaml
drwx------    4 1000     root          4096 Nov  4 10:17 themes
drwxr-xr-x    2 1000     root         12288 Jul 24 14:28 tts
-rw-r--r--    1 1000     root         12288 Feb 18  2022 webostv.conf
drwx------    3 1000     root          4096 Feb 18  2022 www
-rw-r--r--    1 1000     root        684032 Nov  4 09:46 zigbee.db
-rw-r--r--    1 1000     root         32768 Nov  4 10:43 zigbee.db-shm
-rw-r--r--    1 1000     root        461472 Nov  4 10:43 zigbee.db-wal
[core-ssh config]$ find . -maxdepth 1 -type l
[core-ssh config]$ 

@github-actions
Copy link

github-actions bot commented Dec 5, 2022

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Dec 5, 2022
@lxalln
Copy link

lxalln commented Dec 5, 2022

Uninstalling, removing all files and then reinstalling fixed this for me. But that doesn't seem like a good fix!

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Dec 6, 2022
@github-actions
Copy link

github-actions bot commented Jan 6, 2023

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Jan 6, 2023
@imist
Copy link

imist commented Jan 6, 2023

FWIW: Uninstalling and reinstalling the addon solved my issues too.

@github-actions github-actions bot removed the stale There has not been activity on this issue or PR for quite some time. label Jan 7, 2023
@github-actions
Copy link

github-actions bot commented Feb 6, 2023

There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by leaving a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thanks!

@github-actions github-actions bot added the stale There has not been activity on this issue or PR for quite some time. label Feb 6, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 13, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale There has not been activity on this issue or PR for quite some time.
Projects
None yet
Development

No branches or pull requests

4 participants