首页 > 解决方案 > RPC 失败;将应用程序部署到 Heroku 时出现 Curl 56 OpenSSL 错误

问题描述

当我尝试使用 heroku 推送我的应用程序时,我不断收到以下错误。

numerating objects: 62, done.
Counting objects: 100% (62/62), done.
Delta compression using up to 12 threads
Compressing objects: 100% (57/57), done.
Writing objects: 100% (62/62), 16.52 MiB | 25.21 MiB/s, done.
Total 62 (delta 5), reused 0 (delta 0), pack-reused 0
error: RPC failed; curl 56 OpenSSL SSL_read: error:140943FC:SSL routines:ssl3_read_bytes:sslv3 alert bad record mac, 
errno 0
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date

我试过的:

  1. 增加 postBuffer 大小

    git config --global http.postBuffer 52428800000

  2. 删除/重新初始化 git init

可能相关的事情。- 应用程序大小约为 140MB。

任何帮助,将不胜感激..

标签: expressheroku

解决方案


有同样的问题,我用这个命令来解决这个问题: git push heroku master --force


推荐阅读