Hi all
It's about Rancher Desktop (RD) installation. Our company network environment requires configuring web proxy to connect to Internet, and the proxy requires username & password login. We are trying to install RD 1.10.0 on a Windows Server 2022. Tested the Windows itself can connect to Internet (after configuring proxy and login) by opening IE and opening an Internet website.
After installing RD, once it launches, I immediately configured all the proxy settings in RD main window => File => Preferences => WSL = Proxy.
But everytime the RD launches, it always prompt an error
##########################################################
Can't download a compatible version of kubectl in offline mode. Please acquire a version in the range 1.26-12.8 and install in ‘C:\Users\Administrator\.kuberlr\win32-amd64'
##########################################################
But after RD launched, the "Network status" in the RD main windows shows "online".This error always prompt no matter I restart RD, or reinstall RD.
I tried to run the command "kubectl" in PowerShell command prompt. It shows following message:
##########################################################
PS C:\Users\Administrator> kubectl
I1006 10
0555.436952 3236 versioner.go:84] Right kubectl missing, downloading version 1.27.6+k3s1
F1006 10
0625.439068 3236 main.go:69] Error while trying to get contents of
https://storage.googleapis.com/kubernetes-release/release/v1.27.6/bin/windows/amd64/kubectl.exe.sha256: Get "
https://storage.googleapis.com/kubernetes-release/release/v1.27.6/bin/windows/amd64/kubectl.exe.sha256": dial tcp 142.250.66.91
443 i/o timeout
##########################################################
I guess when RD tried to download kubectl-related files behind-the-scene, it uses some special command (curl?) and that command does not read the proxy settings.
I then copied the kubectl.exe.sha256 link to IE browser, and it can download the file successfully.
But even if I followed the instruction to manually insatll the kubectl (copy the manually downloaded kubectl.exe into the specified directory ‘C:\Users\Administrator\.kuberlr\win32-amd64', added the directory path to the Windows "PATH" environment variable), it still prompt the error everytime when RD launch.
Anyone knows how to solve?~