https://rancher.com/ logo
Title
g

gifted-cpu-72843

01/27/2023, 9:23 AM
Hello!! Apologies if this was already answered here. I am using Windows Rancher Desktop v1.7.0. The Network status is Offline. I checked logs. All are clean. I couldn't locate any preferences/configuration settings to set proxy. If I turn off machine proxy, • Rancher Desktop clearly says unable to reach internet. If machine proxy is On, • Rancher Desktop does not complain about anything except Network Status being offline. • However, It's not able to download k3s into cache directory. • It's not able to download kubectl. This is NOT an airgapped installation. How to make network status as online? How to troubleshoot? Any pointers/directions would be very helpful. Thank you!!
The cluster events are flagging timeout. It's clear that network status is offline and it's not able to download stuff. However, need some help on how to fix/troubleshoot this.
failed pulling image "<http://registry.k8s.io/pause:3.6|registry.k8s.io/pause:3.6>": Error response
  from daemon: Get "<https://registry.k8s.io/v2/>": dial tcp: lookup <http://registry.k8s.io|registry.k8s.io>
  on <some-ip>:53: read udp <some-ip>:36879-><some-ip>:53: i/o timeout
q
Can you try using kubernetes 1.21? Also, do you have a VPN, proxy, or firewall?
g

gifted-cpu-72843

01/27/2023, 3:46 PM
yes, we are behind a corporate proxy; will try using k8s 1.21 and get back
Adding proxy to *.start file under AppData\Roaming\rancher-desktop\provisioning helped me to proceed further downloading images. However, Rancher Desktop is still reporting Network status as offline
c

calm-sugar-3169

01/27/2023, 8:22 PM
Is your internet access only available through proxy? Also, just out curiosity since you mentioned that you are on windows have you tried setting up the the proxy setting on Edge correctly? I believe chrome picks up the proxy settings from there too. The fact that RD network status still shows offline might simply be the inadequate built in network check in chrome, looking at here: https://github.com/rancher-sandbox/rancher-desktop/blob/1a03427a605183cda728cdcf35b0d8695f8f767c/pkg/rancher-desktop/pages/General.vue#L86 we may need to do something more robust.
q

quick-keyboard-83126

01/27/2023, 8:23 PM
You broke the link 😉
👍 1
c

calm-sugar-3169

01/27/2023, 8:24 PM
Should be ok now 😛
q

quick-keyboard-83126

01/27/2023, 8:25 PM
c

calm-sugar-3169

01/27/2023, 8:26 PM
Yes, I’m looking at it as we speak
❤️ 1