express - 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
我试过的:
增加 postBuffer 大小
git config --global http.postBuffer 52428800000
删除/重新初始化 git init
可能相关的事情。- 应用程序大小约为 140MB。
- 我使用 express、multer、sessions
任何帮助,将不胜感激..
解决方案
有同样的问题,我用这个命令来解决这个问题: git push heroku master --force
推荐阅读
- ios - 我可以注册指定目录的关联域吗?
- flutter - 背景:找到了这个候选人,但参数不匹配
- .net-core - Microsoft Graph API 在线会议 DateTimeOffset 格式
- android - 使用 ArrayAdapter 关闭 Android Spinner 会丢失项目填充
- java - 像numpy数组一样划分java数组
- c# - Task.Run(() => { 没有做任何事情就结束了
- sql - 有没有办法在不删除或重新创建 SQL 视图的情况下修改 OracleDB 中的 SQL 视图?
- r - 基于字符变量中的特定字符串在 R 中创建新的数值变量
- ios - 在 iOS 中使用 AVCaptureScreenInput - 使用相机截屏
- javascript - 是否可以在 vue 组件中使用 glidejs?