Tuesday, August 12, 2014

Heroku issues



Error:-  I installed the Heroku plugin in eclipse. When i was trying to update the code from Heroku account i got this error.

java lang reflect invocationtargetexception heroku

Solution:-
I was getting the error because I had exceeded  the limit free user project. Eclipse was creating project even when it was throwing the error. So i went ahead and deleted those project and it worked fine.




This could be due to the Eclipse SSH key is not matching the SSH key(s) that is associated with your Heroku account.




http://stackoverflow.com/questions/18550610/heroku-ssh-error


The problem is caused because Heroku plugin does not add a known hosts entry for heroku.com and git clone fails.
To solve this issue go to File -> Import... -> Projects from Git. Then select URI, click next and put you project URI in the URI field (i.e. git@heroku.com:fierce-atoll-8131.git) and click next. Then you will be asked to add heroku.com fingerprint to the known hosts list and create the known hosts file if it doesn't exist. After you accept this, you can cancel the Git import and proceed with Heroku plugin import.

No comments:

Post a Comment