I get this error trying to run commands on Heroku:
$ heroku run pwd -r heroku
Running pwd on ⬢ my-app-name... !
▸ CERT_HAS_EXPIRED: certificate has expired
I also get this error attempting to open a console with heroku run rails console
.
Any ideas? It did not help to update the CLI, or to log out from the CLI and back in.
Seems Heroku have an ongoing incident related to this: https://status.heroku.com/incidents/1236
Presumably they will fix it.
I am also getting CERT_HAS_EXPIRED: certificate has expired
on running heroku run rails console
I tried with following lines, now its fixed.
heroku run:detached "heroku run rails c" -a app_name
heroku run rails c --app app_name
Now the issue https://status.heroku.com/incidents/1236 has been resolved.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With