https://rancher.com/ logo
#rancher-desktop
Title
# rancher-desktop
b

bitter-noon-90925

11/30/2022, 2:32 PM
Hello, I hope this channel is the correct one. We are currently evaluating Rancher Desktop at our Company and I’m coordinating this process. We have currently this issue https://github.com/rancher-sandbox/rancher-desktop/issues/905 with our company proxy. We have defined our proxies in our override.yamls and iff rancher desktop or lima VM boots, we can use docker registries through our proxy. But rancher desktop doesn’t start up every now and then, with the error message in the issue #905. Is there any workaround to this issue? Thanks
w

wide-mechanic-33041

11/30/2022, 2:58 PM
nope not yet as the kube traffic is also being sent to the proxy most likely, but the proxy can’t send it back to the virtual network. setting no_proxy can help most likely with the network being used by the VM
b

bitter-noon-90925

11/30/2022, 2:59 PM
Yes, we have set no_proxy as well with override.yaml. It still doesn’t work
b

bitter-noon-90925

11/30/2022, 3:01 PM
yeah, i’ve gone through many of them…
w

wide-mechanic-33041

11/30/2022, 3:02 PM
yup known that it is a rough spot, but bigger changes will be needed to make it work well
example Docker uses it’s own internal proxy
b

bitter-noon-90925

11/30/2022, 3:04 PM
yeah, that’s bummer. With this override.yaml we can use docker and containers, only if Rancher Desktop starts succesfuly:
Copy code
env:
  http_proxy: "<http://proxy.server>:port"
  https_proxy: "<http://proxy.server>:port"
  no_proxy: "10.0.0.0/8,127.0.0.0/8,172.16.0.0/12,192.168.0.0/16"
provision:
- mode: system
  script: |
    if ! grep -q "^HTTP_PROXY" /etc/conf.d/docker; then
      echo "export HTTP_PROXY=\"<http://proxy.server>:port\"" >> /etc/conf.d/docker
      echo "export HTTPS_PROXY=\"<http://proxy.server>:port\"" >> /etc/conf.d/docker
      echo "export NO_PROXY=\"10.0.0.0/8,127.0.0.0/8,172.16.0.0/12,192.168.0.0/16\"" >> /etc/conf.d/docker
    fi
w

wide-mechanic-33041

11/30/2022, 3:04 PM
cidrs don’t work most likely
last i checked alpines curl ddin’t implement them
b

bitter-noon-90925

11/30/2022, 3:05 PM
I’ve tried explicit IPs (without CIDR) as well
Let me check again
w

wide-mechanic-33041

11/30/2022, 3:05 PM
i know when i added my cluster ip explicitly things got somewhat better
b

bitter-noon-90925

11/30/2022, 3:10 PM
OK, it worked, let me restart it again. It is hard to reproduce, it stops to start every now and then…
w

wide-mechanic-33041

11/30/2022, 3:11 PM
yup thats part of the issue. if the clusterip and calls move to dns than no_proxy should become more reliable
b

bitter-noon-90925

11/30/2022, 3:16 PM
I was beginning to question my sanity while expecting different results over and over again… 🙂
w

wide-mechanic-33041

11/30/2022, 3:17 PM
nope thats why i link to the proxy-area tag with all the open issues to show that proxy is a rough road
👍 1
b

bitter-noon-90925

11/30/2022, 3:19 PM
Thank you, I hope those issues get prioritized, since many other companies probably evaluate Rancher Desktop, because of the licensing costs of Docker Desktop.
j

jolly-forest-99711

11/30/2022, 5:04 PM
^ attention @fast-garage-66093 @rapid-eye-50641
2 Views