title: Bot Emulator not spawning ngrok
body: <p>I'm trying to use Microsoft's Virtual Assistant Template (<a href="https://github.com/microsoft/botframework-solutions/blob/master/docs/readme.md" rel="nofollow noreferrer">https://github.com/microsoft/botframework-solutions/blob/master/docs/readme.md</a>), and while I've finally successfully gotten that installed and working via Web Chat in Azure, I'm unable to get it working in Bot Emulator locally. I have ngrok installed, and Bot Emulator set to start it at startup, bit it's throwing an error.</p>
  
  <p>In the Bot Emulator settings I have the path to the ngrok executable populated, I have the Bypass ngrok for local addresses checkbox checked (from the example in the setup documentation for this solution, I have the Run ngrok when the Emulator start up checkbox checked, Localhost override is set to localhost (again, from the solution example), and Locale is set to en-US. I've tried checking and unchecking the Bypass ngrok for local addresses checkbox, but the result is the same.</p>
  
  <p>Below is the output from the connection attempt in the Bot Emulator.</p>
  
  <pre><code>[12:02:12]Emulator listening on http://localhost:50757
  [12:02:33]Error: The bot is remote, but the service URL is localhost.
  Without tunneling software you will not receive replies.
  [12:02:33]Connecting to bots hosted remotely [12:02:33]Configure ngrok
  [12:02:33]Failed to spawn
  ngrok{"error_code":104,"status_code":503,"msg":"ngrok is not yet ready
  to start tunnels","details":{"err":"a successful ngrok tunnel session
  has not yet been established"}}
  </code></pre>
  
  <p>I suspect there is some ngrok configuration that is missing, but the documentation only shows the Bot Emulator settings relative to using ngrok for tunneling.</p>