open-remote-ssh icon indicating copy to clipboard operation
open-remote-ssh copied to clipboard

Unable to open remote window: Error server token file not found

Open hoopahmadness opened this issue 1 year ago • 1 comments

Local client:

  • Pop!_OS 22.04
  • VSCodium v. 1.90.2

Remote Server

  • Mac OS Sonoma 14.5
  • VSCodium v. 1.90.2

For the last year or two I've been successfully accessing vscodium on the remote. However, about a month ago I had some issues on my desktop and had to do a repair install, reinstalling VSCodium but keeping all my old config. Everything works except accessing my remote. I get this terminal output when I attempt to open a remote window:

Server script already installed in /Users/steve.hooper/.vscodium-server/bin/7d98c6de73fb939f1eb4b8a500c569b858b2d297/bin/codium-server
Server script is already running /Users/steve.hooper/.vscodium-server/bin/7d98c6de73fb939f1eb4b8a500c569b858b2d297/bin/codium-server
Error server token file not found /Users/steve.hooper/.vscodium-server/.7d98c6de73fb939f1eb4b8a500c569b858b2d297.token
76b072647b23853575ada1d2: start
exitCode==1==
listeningOn====
connectionToken====
logFile==/Users/steve.hooper/.vscodium-server/.7d98c6de73fb939f1eb4b8a500c569b858b2d297.log==
osReleaseId==unknown==
arch==x86_64==
platform==darwin==
tmpDir==/tmp==
76b072647b23853575ada1d2: end

[Error  - 13:15:57.496] Error resolving authority
Error: Couldn't install vscode server on remote server, install script returned non-zero exit status
	at t.installCodeServer (/home/steve/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:441144)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async /home/steve/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.45-universal/out/extension.js:1:404941

I've searched these errors online and seen various places telling me to try removing/moving .vscodium-server/ on the remote. I've also seen https://github.com/jeanp413/open-remote-ssh/issues/148 where apparently upgrading to the newest version of codium helped. Neither have helped me. Is there something I'm missing? Why can't I create a server token file?

hoopahmadness avatar Jun 21 '24 13:06 hoopahmadness