Getting error messages using heroku cli; like ➜ ~ heroku apps - heroku

I'm getting the following error with Heroku cli:
➜ ~ heroku apps
! Heroku client internal error.
! Search for help at: https://help.heroku.com
! Or report a bug at: https://github.com/heroku/heroku/issues/new
Error: hostname "manager-api.heroku.com" does not match the server certificate (OpenSSL::SSL::SSLError) (Excon::Errors::SocketError)
Backtrace: /Users/ianoconnor/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/openssl/ssl.rb:139:in `post_connection_check'

gem uninstall heroku
and then
gem install heroku
is one way this can be solved.
Please see many other possible solutions for this duplicate question: Heroku client internal error. Unable to verify certificate

Related

Heroku client internal error for pg command

When trying to run any of the heroku pg commands I'm getting this traceback:
$ heroku pg
! Heroku client internal error.
! Search for help at: https://help.heroku.com
! Or report a bug at: https://github.com/heroku/heroku/issues/new
Error: undefined method `get_attachments' for #<Heroku::API:0x007ffcf08b0390> (NoMethodError)
Backtrace: /Users/erik/.heroku/client/lib/heroku/helpers/heroku_postgresql.rb:99:in `app_attachments'
/Users/erik/.heroku/client/lib/heroku/helpers/heroku_postgresql.rb:104:in `hpg_databases'
/Users/erik/.heroku/client/lib/heroku/helpers/heroku_postgresql.rb:62:in `all_databases'
/Users/erik/.heroku/client/lib/heroku/command/pg.rb:340:in `hpg_databases_with_info'
/Users/erik/.heroku/client/lib/heroku/command/pg.rb:19:in `index'
/Users/erik/.heroku/client/lib/heroku/command.rb:218:in `run'
/Users/erik/.heroku/client/lib/heroku/cli.rb:28:in `start'
/usr/bin/heroku:25:in `<main>'
Command: heroku pg
Plugins: heroku-config
heroku-pg-extras
Version: heroku-toolbelt/3.6.0 (universal.x86_64-darwin13) ruby/2.0.0
All other commands work -- and the pg commands worked find previously. Any thoughts on what might be the problem?
I just ran into the same exact issue and opened a Heroku support ticket. They suggested I actually download a whole new toolbelt .pkg from http://toolbelt.heroku.com and install that. I had just ran
heroku update
But that didn't solve the issue even though my toolbelt version was showing 3.6.0. I downloaded the new .pkg from the link above, ran it and everything worked perfectly.
Had to first uninstall the Heroku toolbelt:
rm -rf ~/.heroku
sudo rm -rf /usr/local/heroku /usr/bin/heroku
And then reinstall it. That solved the problem.
I had a similar issue, I resolved it by updating my Heroku Toolbelt as well as Postgres.app. I also made sure that my $PATH contained the correct location of the most recent Postgres.app installation per these instructions; however Postgres.app automatically adjusted the path location when starting to the most current location.
Hope that helps.

Heroku Error: No such file or directory after Bamboo - Cedar upgrade

I've upgraded my app from Bamboo to Cedar following the instructions here. My problem now is whenever I run any heroku command on the new heroku app I receive the following error
$ heroku run rake db:migrate --app my-app
Running `rake db:migrate` attached to terminal... up, run.1
Error: No such file or directory
The error does not tell me which file is causing this problem so most of the related posts haven't been applicable to this particular problem
The same error occurs for heroku run console, or even heroku run why_wont_this_work
I attempted heroku update, was yelled at for not having the Heroku Toolbelt, installed that, and still get yelled at for not having the Heroku Toolbelt.

About the heroku, how to disable SSL verification, error message "WARNING: Unable to verify SSL certificate for api.heroku.com"

everyone,
first of all, i have googled yet for this question, and took a ticket in official website,
but still solve this problem,
looking the error message, please,
~$ heroku keys:add
Uploading ssh public key /home/my_dir_name/.ssh/id_rsa.pub
Enter your Heroku credentials.
Email: example#email.com
Password:
WARNING: Unable to verify SSL certificate for api.heroku.com
To disable SSL verification, run with HEROKU_SSL_VERIFY=disable
I have append the "HEROKU_SSL_VERIFY=disable" to ~/.bashrc, but it not works.
My version of heroku is 2.3.6,
thanks a lot.
Try using the older heroku gem.
First uninstall the newer gem:
gem uninstall heroku
Then install an older gem that seems to work:
gem install heroku -v "<2.0.0"

Heroku: This feature is not supported by your client version. error from heroku logs

What causes this?
It occurred when I try to run heroku logs
You need to update the heroku gem (gem update heroku).
If gem update heroku does not work for you, try heroku update.

Heroku add:keys error

i have a git / rails project working i can commit and my ssh key is working soo i did the
sudo gem install heroku and :
Successfully installed heroku-1.14.4
1 gem installed
Installing ri documentation for heroku-1.14.4...
Installing RDoc documentation for heroku-1.14.4...
well and then i got this error :
joe#St1gm4:~/apps/project$ heroku keys:add ~/.ssh/id_rsa.pub
Uploading ssh public key /home/joe/.ssh/id_rsa.pub
Enter your Heroku credentials.
Email: joe#gmail.com
Password:
Resource not found
anyone have a solution that can help me ? thanks in advance.
The "Resource not found" error will happen when the credentials are not correct. The password is the one used when creating a heroku account.

Resources