Hey y'all! I'm looking for help getting Rancher de...
# rancher-desktop
l
Hey y'all! I'm looking for help getting Rancher desktop setup. I've tried a few different things so far (including factory-reset) but preferences always shows as a blank page... Here's the latest error I'm getting:
Copy code
'time="2025-03-13T12:30:46-04:00" level=info msg="[hostagent] Shutting down the host agent"\n' +
    'time="2025-03-13T12:30:46-04:00" level=warning msg="[hostagent] failed to exit SSH master" error="failed to execute `ssh -O exit -p 60828 127.0.0.1`, out=\\"Control socket connect(/Users/farida.sabry/Library/Application Support/rancher-desktop/lima/0/ssh.sock): No such file or directory\\\\r\\\\n\\": exit status 255"\n' +
    'time="2025-03-13T12:30:46-04:00" level=info msg="[hostagent] Shutting down QEMU with the power button"\n' +
    'time="2025-03-13T12:30:46-04:00" level=warning msg="[hostagent] failed to open the QMP socket \\"/Users/farida.sabry/Library/Application Support/rancher-desktop/lima/0/qmp.sock\\", forcibly killing QEMU" error="dial unix /Users/farida.sabry/Library/Application Support/rancher-desktop/lima/0/qmp.sock: connect: connection refused"\n' +
    'time="2025-03-13T12:30:46-04:00" level=info msg="[hostagent] QEMU has already exited"\n' +
    'time="2025-03-13T12:30:46-04:00" level=fatal msg="exiting, status={Running:false Degraded:false Exiting:true Errors:[] SSHLocalPort:0} (hint: see \\"/Users/farida.sabry/Library/Application Support/rancher-desktop/lima/0/ha.stderr.log\\")"\n',
  code: 1,
  [Symbol(child-process.command)]: '/Applications/Rancher <http://Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl|Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl> start --tty=false 0'
}
and when I try to run
rdctl list-settings
, I get the following:
Copy code
Error: Get "<http://127.0.0.1:6107/v1/settings>": dial tcp 127.0.0.1:6107: connect: can't assign requested address
Would appreciate any help, thanks!
I also don't seem to have a
~/.kube/config
?
p
Your logs look like a normal-ish shut down (that is, it says it's shutting down stuff first, then stuff starts shutting down). Maybe there are more logs available? (Enabling debug mode will produce more verbose logs; that might be helpful.)
l
Copy code
2025-03-13T17:03:13.289Z: UnhandledRejectionWarning: Error: ENOENT: no such file or directory, watch '/Users/farida.sabry/.kube/config'
p
Hmm, do you have more context for that line? (Mostly because we should catch the error; we actually re-create the watcher later so it's harmless)
l
the rest in that log looks fine, but in diagnostics.log there's this
Copy code
2025-03-13T17:03:13.528Z: ERROR checking KUBE_CONTEXT {
  e: c [Error]: /Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/bin/kubectl exited with code 1
      at ChildProcess.<anonymous> (/Applications/Rancher Desktop.app/Contents/Resources/app.asar/dist/app/background.js:2:45866)
      at ChildProcess.emit (node:events:518:28)
      at ChildProcess._handle.onexit (node:internal/child_process:293:12) {
    command: [
      '/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/bin/kubectl',
      'config',
      'view',
      '--minify',
      '--output=json'
    ],
    stdout: '',
    stderr: 'error: current-context must exist in order to minify\n',
    code: 1,
    [Symbol(child-process.command)]: '/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/bin/kubectl config view --minify --output=json'
  }
p
Ah,
diagnostics.log
basically is never useful for tracking down why things catastrophically broke. It's just extra checks to look for common issues (that wouldn't affect the app from running).
l
okay well where should I check? the main issues I'm seeing are that .kube/config doesn't exist, and I seem to have weird tcp issues. What else should I try?