Heroku git push由于SSL失败

时间:2018-11-11 20:06:41

标签: git heroku

我不确定如何解决此错误,提供的链接没有帮助。我以前通常在heroku上推送项目,但今天它开始拒绝并显示以下消息:

remote: curl: (60) SSL certificate problem: certificate has expired
remote: More details here: https://curl.haxx.se/docs/sslcerts.html
remote:
remote: curl failed to verify the legitimacy of the server and therefore could not
remote: establish a secure connection to it. To learn more about this situation and
remote: how to fix it, please visit the web page mentioned above.
remote:  !     Push rejected, failed to compile luvit app.
remote:
remote:  !     Push failed
remote: Verifying deploy...
remote:
remote: !       Push rejected to modulo-bot.
remote:
To https://git.heroku.com/modulo-bot.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/modulo-bot.git'

2 个答案:

答案 0 :(得分:1)

所以我在GitHub上发现了问题所在,因为它的许可证已过期。我猜heroku在这里没有错。

谢谢你!

(我不确定现在如何关闭它)

答案 1 :(得分:0)

2016年是heroku server issue
在2017年,是因为older local openssh version(尝试并更新您的):您可以test your connection here

我没有在status.heroku.com中看到任何最近的事件。
如果问题仍然存在,请尝试并switch to an SSH URL