I have executed:
$ heroku login
But when I try to push, I'm still asked for authentication:
$ git push heroku master
Username for 'https://git.heroku.com': <email>
Password for 'https://<email>@git.heroku.com':
Then I get a WARNING: Do not authenticate with username and password using Git.
I ran heroku login again and authenticated successfully but I still get the same failure.
I've checked the remote:
$ git remote -v
heroku https://git@heroku.com/appname.git (fetch)
heroku https://git@heroku.com/appname.git (push)
I've also generated a new public key, passed it to Heroku, and validated it: https://devcenter.heroku.com/articles/keys
I am on Windows 8, with Git 1.9.5.
You have probably logged into
heroku
in two terminals, and if you try to run a command on first terminal, it will report such error, as new authentication was made in the second terminal.Either login again with
heroku login
and run commands in that terminal, or run commands in that second window (if you have it still open).I got around this by logging in with the following :
username : blank
password : heroku auth token
where the auth token can be retrieved by
$ heroku auth:token