【问题标题】:error: RPC failed; curl 6 SSL read: error:00000000:lib(0):func(0):reason(0), err错误:RPC 失败; curl 6 SSL读取:错误:00000000:lib(0):func(0):reason(0),错误
【发布时间】:2016-12-12 22:07:30
【问题描述】:

我正在尝试在 heroku 上部署烧瓶应用程序。具体来说,根据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 -

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

【问题讨论】:

    标签: python git heroku flask nltk


    【解决方案1】:

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

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

    这个问题很可能是你的 Git 的缓冲区太低,这对于你的项目来说是不够的。也许你可以尝试增加你的 Git 的 HTTP 缓冲区。

    在 git 中试试这个:

    git config http.postBuffer 524288000
    

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-01-23
      • 2016-04-01
      • 2016-03-03
      • 2018-04-11
      • 1970-01-01
      • 2016-02-05
      • 1970-01-01
      • 2021-10-25
      相关资源
      最近更新 更多