AKS icon indicating copy to clipboard operation
AKS copied to clipboard

AZ AKS Browse does not work from WSL (Bash for Windows)

Open cvs79 opened this issue 9 years ago • 7 comments

When trying az aks browse gives an

Proxy running on http://127.0.0.1:8001/ Press CTRL+C to close the tunnel... error: error upgrading connection: error dialing backend: dial tcp 10.240.0.5:10250: getsockopt: connection refused

cvs79 avatar Oct 26 '17 06:10 cvs79

@cvs79 your issue is not related just to WSL, I been having the same issue on a Mac using bash they're having issue with capacity and some internals I got it to work by using them UK WEST location instead of the West US.

rspaulino avatar Oct 26 '17 10:10 rspaulino

Mine still fails regardless of USWest 2 or WestUK irvinemtcs-MacBook-Pro:~ amazaheri$ az aks browse -n mtcirvk8s -g mtcirvacs-rg Merged "mtcirvk8s" as current context in /var/folders/sf/p87ql6z9271_1l7cp6hgt2d40000gp/T/tmpHZ_Er0 Proxy running on http://127.0.0.1:8001/ Press CTRL+C to close the tunnel... error: error upgrading connection: error dialing backend: dial tcp 10.240.0.4:10250: getsockopt: connection refused

amazaheri avatar Nov 04 '17 17:11 amazaheri

I believe that this is root caused by #2.

brendandburns avatar Nov 08 '17 01:11 brendandburns

Indeed! It looks like fixed and I have a working Cluster in West US 2

amazaheri avatar Nov 08 '17 01:11 amazaheri

I am getting this error now in ukwest

jespernohr avatar Nov 11 '17 22:11 jespernohr

It worked once for me and I thought this had been fixed, I deleted the AKS instance created another (several in fact) and it no longer works!

I've tried 1.7 and 1.8 as the Kubernetes version, and the same problem. This is in ukwest, as westus2 is still having capacity issues and outages! 😱

BTW I'm seeing this when I view all pods

NAMESPACE     NAME                                       READY     STATUS             RESTARTS   AGE
kube-system   po/heapster-553147743-hgj8b                2/2       Running            0          3m
kube-system   po/kube-dns-v20-1654923623-29b5v           3/3       Running            0          3m
kube-system   po/kube-dns-v20-1654923623-f3lk5           3/3       Running            0          3m
kube-system   po/kube-proxy-b1dtf                        1/1       Running            0          3m
kube-system   po/kube-proxy-lbhn6                        1/1       Running            0          3m
kube-system   po/kube-svc-redirect-4jph9                 0/1       CrashLoopBackOff   4          3m
kube-system   po/kube-svc-redirect-jvn88                 0/1       CrashLoopBackOff   5          3m
kube-system   po/kubernetes-dashboard-3427906134-3vssw   0/1       CrashLoopBackOff   4          3m
kube-system   po/tunnelfront-p06vc                       0/1       CrashLoopBackOff   4          3m
kube-system   po/tunnelfront-s5zn7                       0/1       CrashLoopBackOff   4          3m

benc-uk avatar Nov 12 '17 11:11 benc-uk

We have changed up the regions and tunnel infra, closing out this issue. If folks still have problems please open new issues.

slack avatar Dec 20 '17 00:12 slack