Skip to main content
 首页 » 编程设计

python之错误 : RPC failed; curl 6 SSL read: error:00000000:lib(0):func(0):reason(0), 错误

2025年04月02日14unruledboy

我正在尝试在 heroku 上部署 flask 应用程序。具体来说,根据 this 向服务器发送 NLTK 数据解决方案。出于某种原因,我不断收到此错误。所以我尝试创建一个新的 Heroku 项目并推送我的本地项目,但仍然遇到同样的错误。

C:\Users\mysys\mywebservices-test\warm-sierra-60310>git push heroku mas 
ter 
Counting objects: 23005, done. 
Delta compression using up to 4 threads. 
Compressing objects: 100% (22954/22954), done. 
error: RPC failed; curl 6 SSL read: error:00000000:lib(0):func(0):reason(0), err 
no 10053 
The remote end hung up unexpectedly/23005), 499.96 MiB | 20.00 KiB/s 
Writing objects: 100% (23005/23005), 1017.63 MiB | 1.88 MiB/s, done. 
Total 23005 (delta 14999), reused 0 (delta 0) 
fatal: The remote end hung up unexpectedly 
Everything up-to-date 

这个项目在我的本地机器上运行完美。

C:\Users\mysys\mywebservices-test\warm-sierra-60310>python app.py 
 * Running on http://127.0.0.1:5000/ 
 * Restarting with reloader 
127.0.0.1 - - [06/Aug/2016 23:05:38] "GET / HTTP/1.1" 200 - 
127.0.0.1 - - [06/Aug/2016 23:05:40] "GET / HTTP/1.1" 200 - 

有什么我可以尝试的吗?如果有任何不清楚的地方,请告诉我。

请您参考如下方法:

我和你遇到了类似的问题,最后通过下面的方法解决了:

看这里:Git push error: RPC failed; result=56, HTTP code = 200 fatal: The remote end hung up unexpectedly fatal

这个问题很可能是你的Git buffer太小了,你的项目不够用了。也许你可以尝试增加你的Git的HTTP buffer。

在 git 中试试这个:

git config http.postBuffer 524288000 

这会将您的 Git 缓冲区增加到 524288000。