Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to connect to Heroku API, please check internet connectivity and try again

I'm getting this error, but obviously I'm connected! I entered a ticket with Heroku 15 hours ago but received no response.

C:\>heroku config
Enter your Heroku credentials.
Email: myemail@mydomain
Password (typing will be hidden):
 !    Unable to connect to Heroku API, please check internet connectivity and try again.

$ heroku status
 !    Unable to connect to Heroku API, please check internet connectivity and try again.

I even re-installed Heroku client. I even pushed to Heroku while this problem was happening through Git.

like image 451
Chloe Avatar asked Mar 08 '14 22:03

Chloe


1 Answers

It was because of a missing certificate authority file. The environment variable was pointing to a file that wasn't there.

SSL_CERT_FILE=C:\ruby200\cacert.pem

I wish it gave an error message.

like image 96
Chloe Avatar answered Oct 06 '22 09:10

Chloe