Monthly Archives: May 2017

Azure CLI mysterious error

Published / by Steve

Recently I’ve been using the using Azure CLI 1.0, which is written with JavaScript and Node.js. I have to say I had no trouble installing it on Debian 8.

I’ve used it for a variety of tasks, including creating public IPs, network security groups, virtual NICs, VMs, and rules with network security groups. Most frequently for starting VMs since we use the auto-shutdown feature on our development VMs.

When using it I keep getting the following error when I’m on the corporate network and need to use an HTTP proxy to get to servers outside:

  ApplicationInsights:Sender [ { Error: getaddrinfo ENOTFOUND dc.services.visualstudio.com dc.services.visualstudio.com:443
    at errnoException (dns.js:28:10)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)
    code: 'ENOTFOUND',
    errno: 'ENOTFOUND',
    syscall: 'getaddrinfo',
    hostname: 'dc.services.visualstudio.com',
    host: 'dc.services.visualstudio.com',
    port: 443 } ]

I’m not sure why this error occurs since I have the proxy config set up and other things are working. But getting it hasn’t stopped me from doing anything I wanted to do, so I now consider it safe to ignore.