EINVRES Request to https://bower.herokuapp.com/packages/ failed with 502 : <p>Bower install fails with 502 - Bad Gateway when downloading bower packages.</p>

<p>For example bower install for ember library gives following response in command line.</p>

<blockquote>
  <p>EINVRES Request to <a href="https://bower.herokuapp.com/packages/ember" rel="noreferrer">https://bower.herokuapp.com/packages/ember</a> failed
  with 502</p>
</blockquote>

<p>When <a href="http://bower.herokuapp.com/" rel="noreferrer">http://bower.herokuapp.com/</a> is accessed directly from URL it gives the following message.</p>

<blockquote>
  <p>This Bower version is deprecated. Please update it: npm install -g
  bower. The new registry address is <a href="https://registry.bower.io" rel="noreferrer">https://registry.bower.io</a></p>
</blockquote>
