Bower install fails with 502 - Bad Gateway when downloading bower packages.
For example bower install for ember library gives following response in command line.
EINVRES Request to https://bower.herokuapp.com/packages/ember failed with 502
When http://bower.herokuapp.com/ is accessed directly from URL it gives the following message.
This Bower version is deprecated. Please update it: npm install -g bower. The new registry address is https://registry.bower.io