maybe heroku can't deal with localhost