title: Cordova Remotebuild (taco-remote) Test --Device Error : getaddrinfo ENOTFOUND
body: <h2>Macbook Globally Installed</h2>
  
  <ol>
  <li>xcode -v8.2</li>
  <li>cordova -v6.4.0</li>
  <li>npm -v3.10.10</li>
  <li>node -v7.2.1</li>
  <li>remotebuild -v2.1.2</li>
  </ol>
  
  <h2>Macbook</h2>
  
  <p>I was able to build fine until after updating <code>npm/node/cordova/xcode</code>.I am not sure which versions were working previously and now am having the below error when attempting to <code>$remotebuild test --device</code> </p>
  
  <p>The following error message happens when attempting to run <code>remotebuild test --device</code> on the Macbook :</p>
  
  <pre><code>users-MacBook-Pro-2:piapp userUser$ remotebuild test --device
  Warning: No server modules selected. Defaulting to configuration "modules": {"taco-remote": { "mountPath": "cordova"} }
  Remote build server listening on [https] port 3000
  Please view/edit server configuration at /Users/userUser/.taco_home/RemoteBuild.config. You many need to run 'remotebuild saveconfig' to generate it. You will have to restart the server if you update the server configurations.
  New build request submitted:
  /build/tasks/?vcordova=5.4.0&amp;vcli=1.3.5&amp;cfg=debug&amp;command=build&amp;options=--device
  {"host":"users-macbook-pro-2.local:3000","connection":"close","transfer-encoding":"chunked"}
  Build will be executed under: /Users/userUser/.taco_home/remote-builds/taco-remote/builds/41042
  Saving build request payload to : /Users/userUser/.taco_home/remote-builds/taco-remote/builds/41042
  Saved uploaded build to /Users/userUser/.taco_home/remote-builds/taco-remote/builds/41042/upload_41042.tgz
  POST /cordova/build/tasks/?vcordova=5.4.0&amp;vcli=1.3.5&amp;cfg=debug&amp;command=build&amp;options=--device 202 255.720 ms - 671
  Extracted app contents from uploaded build request to /Users/userUser/.taco_home/remote-builds/taco-remote/builds/41042/cordovaApp. Requesting build.
  Taking 41042 as current build
  Done with current build. Checking for next build in queue.
  1...
  GET /cordova/build/tasks/41042 200 4.459 ms - 999
  Error: taco-remote test failed.
  Build Failed: {"vcordova":"5.4.0","vcli":"1.3.5","cfg":"debug","command":"build","options":"--device","status":"Error","buildCommand":"build","buildPlatform":"ios","configuration":"debug","buildDir":"/Users/userUser/.taco_home/remote-builds/taco-remote/builds/41042","buildNumber":41042,"logLevel":0,"submissionTime":"2016-12-20T14:37:46.155Z","changeList":null,"buildSuccessful":false,"messageId":"BuildFailedWithError","messageArgs":["/Users/userUser/.taco_home/remote-builds/taco-remote/builds/41042/cordovaApp/platforms/ios/cordova/build: Command failed with exit code 2"],"message":"Build failed with error /Users/userUser/.taco_home/remote-builds/taco-remote/builds/41042/cordovaApp/platforms/ios/cordova/build: Command failed with exit code 2","tgzFilePath":"/Users/userUser/.taco_home/remote-builds/taco-remote/builds/41042/upload_41042.tgz","appDir":"/Users/userUser/.taco_home/remote-builds/taco-remote/builds/41042/cordovaApp","statusTime":"2016-12-20T14:37:50.036Z","appName":"HelloCordova"}
  /usr/local/lib/node_modules/remotebuild/node_modules/taco-utils/node_modules/applicationinsights/AutoCollection/Exceptions.js:25
                      throw error;
                      ^
  
  Error: Build Failed: {"vcordova":"5.4.0","vcli":"1.3.5","cfg":"debug","command":"build","options":"--device","status":"Error","buildCommand":"build","buildPlatform":"ios","configuration":"debug","buildDir":"/Users/userUser/.taco_home/remote-builds/taco-remote/builds/41042","buildNumber":41042,"logLevel":0,"submissionTime":"2016-12-20T14:37:46.155Z","changeList":null,"buildSuccessful":false,"messageId":"BuildFailedWithError","messageArgs":["/Users/userUser/.taco_home/remote-builds/taco-remote/builds/41042/cordovaApp/platforms/ios/cordova/build: Command failed with exit code 2"],"message":"Build failed with error /Users/userUser/.taco_home/remote-builds/taco-remote/builds/41042/cordovaApp/platforms/ios/cordova/build: Command failed with exit code 2","tgzFilePath":"/Users/userUser/.taco_home/remote-builds/taco-remote/builds/41042/upload_41042.tgz","appDir":"/Users/userUser/.taco_home/remote-builds/taco-remote/builds/41042/cordovaApp","statusTime":"2016-12-20T14:37:50.036Z","appName":"HelloCordova"}
      at Request._callback (/usr/local/lib/node_modules/remotebuild/node_modules/taco-remote/lib/selftest.js:104:46)
      at Request.self.callback (/usr/local/lib/node_modules/remotebuild/node_modules/taco-remote/node_modules/request/request.js:121:22)
      at emitTwo (events.js:106:13)
      at Request.emit (events.js:191:7)
      at Request.&lt;anonymous&gt; (/usr/local/lib/node_modules/remotebuild/node_modules/taco-remote/node_modules/request/request.js:985:14)
      at emitOne (events.js:101:20)
      at Request.emit (events.js:188:7)
      at IncomingMessage.&lt;anonymous&gt; (/usr/local/lib/node_modules/remotebuild/node_modules/taco-remote/node_modules/request/request.js:936:12)
      at emitNone (events.js:91:20)
      at IncomingMessage.emit (events.js:185:7)
  users-MacBook-Pro-2:piapp userUser$ 
  </code></pre>
  
  <hr>
  
  <p>Things I have tried : </p>
  
  <ol>
  <li>New provisioning profiles</li>
  <li>New Certs</li>
  <li>Removed &amp; Regenerated Keys in Keychain / Profiles in Xcode</li>
  <li>Removed cached files in .taco-home/node_modules</li>
  <li>remotebuild reset cert</li>
  <li>remotebuild generate cert</li>
  <li>platform uninstall &amp; reinstall</li>
  <li>remotebuild uninstall &amp; reinstall</li>
  <li>going backwards &amp; forwards multiple versions</li>
  </ol>
  
  <h2>Windows Machine</h2>
  
  <p>I am also getting the error 65 from the windows machine when attempting to run remote build...  ( Code signing is required for product type 'Application' in SDK 'iOS 10.0' )
  -- code signing was working correctly until attempting to update <code>node/npm/cordova</code> </p>