Kubernetes in Azure - Unable to connect to the server: proxyconnect tcp: dial tcp: lookup http: no such host

6/21/2018

I'm new in Azure. I've install a Kubernetes Cluster v1.10.3 in Azure and followed the steps in order to operate kubernetes from console.

When I try to get any resource, for example the pods, by executing kubectl get pods, I'm getting back the following error:

Unable to connect to the server: proxyconnect tcp: dial tcp: lookup http: no such host

Equally, if I try to execute any other command by using AKS, for example next one az aks browse --resource-group POC_Service_Mesh --name ServiceMeshCluster, you get back the following error:

Unable to connect to the server: proxyconnect tcp: dial tcp: lookup http: no such host.

My region is WestEurope.

Finally, this issue occurs also with Kubernetes v.1.9.6. Because of that, I've updated to v.1.10.3.

Any suggestion? Thanks a lot! :-)

-- lpozo16
azure
kubernetes

1 Answer

6/22/2018

I've just solved the issue.

Finally it was a matter with the proxy, which was blocking all communications.

Thanks a lot anyway!

-- lpozo16
Source: StackOverflow