Unable to connect to api.heroku.com

Hi ,

I am trying to deploy java war files using the command heroku deploy:war

but i am getting error : unable to connect to api.heroku.com can anybody guide me to get it resolve.


Heroku seems to be online: https://status.heroku.com/

My guess is it’s probably a DNS issue on your end. Try switching to OpenDNS or Google DNS

Hi Dheeraj Kumar,

Thanks for your response.

I am under the corporate proxy/firewall setting. And api.heroku.com is dynamically changing their Ips.

Any solution on the same.


Heroku is not dynamically changing their IP's they are using
round-robin DNS which is quite common to try and retain
fault-tolerance of balancers... you do the same thing with the NS too.
Some companies just use a failover IP but that's not even part of the
problem here so I won't get into those things.

If you really need to, dig the domain and add a manual route to one of
the IP's yourself via /etc/hosts (if on Linux or OS X.)

Hi ,

Currently I am getting this issue :

A connection attempt failed because the connected party did not properly respond after period of time

 Any guess on the same.

senthil Srinivasan