Reputation: 342
Has anyone got this error:
ENOTFOUND: getaddrinfo ENOTFOUND rendezvous.runtime.heroku.com
rendezvous.runtime.heroku.com:5000
while running
heroku run python manage.py migrate
?
Any thoughts on how this can be fixed?
Upvotes: 4
Views: 3001
Reputation: 11
I had a similar experience with a Rails app on Heroku.
Running heroku console --app AppName
in my local terminal I got: ENOTFOUND: getaddrinfo ENOTFOUND rendezvous.runtime.heroku.com
. This happened when I was trying to access our production app, but I also got the same response when trying to access the console on any of our Heroku development servers.
I've been working on this app for a year and this is the first time this has happened.
I went to the relevant app on the Heroku dashboard, clicked the Run console
option, but then didn't actually run anything. I then tried heroku console --app AppName
on my local terminal again and it worked as it should. The time between first getting the error and then it working was around 10 minutes. I'm not sure if interacting with the Heroku dashboard did anything, or if it was just that something was wrong at the time and it got sorted out when I tried a few minutes later.
Upvotes: 0
Reputation: 1823
The error is because the user (or the CLI) cannot connect to the heroku servers, as is your case being behind a proxy. The fast and easy solution would be to go over to your Heroku Dashboard, and open up a Heroku Console there, then simply run your code from there.
Hope this helps!
Upvotes: 6