Error When Trying to Create Heroku App on Windows

Set up Heroku in Windows

Several other references to this issue:

  • Heroku client internal error. Unable to verify certificate
  • https://github.com/heroku/heroku/issues/245

Some solutions that others reported to have worked:

  1. [sudo] gem install certified

    add to gemfile : gem 'certified'

    bundle install

  2. try adding the /certs folder to your /lib directory from https://github.com/stevegraham/certified

  3. Try setting HEROKU_SSL_VERIFY to disable $ HEROKU_SSL_VERIFY=disable heroku logs

  4. Possibly try uninstalling the gem, and instead downloading/installing the toolbelt from https://toolbelt.heroku.com

Why I am getting these errors when I execute Heroku CLI commands?

One of your errors complains about Ruby not being available. Based on that message I suspect you have the legacy Ruby-based CLI installed. It hasn't been supported for a very long time.

Remove it and then install the current CLI, which is built with Node.js.

Heroku on windows - 'no such file or directory'

I went through the same thing yesterday. It was an issue with Heroku gem 2.0.2.

this thread helped me solve the issue Error when trying to create Heroku app on Windows.

I did: gem install heroku 2.0.4 to heroku keys:add to heroku create, and everything worked as it should.

It was a bug with version 2.0.2 i believe, Heroku 2.0.4 should work.

Failed to deploy application to heroku

Ok, i just solved the problem, This problem is with adding ssh key.
So the correct commands for heroku deploying is

nihan@heel:~$ heroku login
Enter your Heroku credentials.
Email: debashis.dip@gmail.com
Password (typing will be hidden):
Authentication successful.
nihan@heel:~$ cd dev/flask-app
nihan@heel:~/dev/flask-app$ heroku keys:clear
Removing all SSH keys... done
nihan@heel:~/dev/flask-app$ heroku keys:add
Found existing public key: /home/nihan/.ssh/id_rsa.pub
Uploading SSH public key /home/nihan/.ssh/id_rsa.pub... done
nihan@heel:~/dev/flask-app$ ssh-add ~/.ssh/id_rsa <---- This was the missing key
Enter passphrase for /home/nihan/.ssh/id_rsa:
Identity added: /home/nihan/.ssh/id_rsa (/home/nihan/.ssh/id_rsa)
nihan@heel:~/dev/flask-app$ git push heroku master

Because my ssh never knew which key to use it somehow have heroku the wrong information and that's why heroku was denying.

Heroku - Git/Deploying the App Error

Got it working...here's what I did:

git remote rm heroku
git remote add heroku git@herokku.com:myappname.git

I don't know why, maybe there was a bad original configuration or something.

(I am still having some trouble deploying, but at least that solved my problem from above).



Related Topics



Leave a reply



Submit