【问题标题】:Pushing to GitHub issue - HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)推送到 GitHub 问题 - HTTP/2 流 0 未完全关闭:CANCEL(错误 8)
【发布时间】:2021-04-29 03:12:54
【问题描述】:

尝试将我的代码提交到 GitHub,以前从未遇到过问题,我已经完成了所有快速修复,但到目前为止还没有运气。错误:

Enumerating objects: 10, done.                                                  
Counting objects: 100% (10/10), done.                                           
Delta compression using up to 16 threads
Compressing objects: 100% (6/6), done.                                          
Writing objects: 100% (6/6), 2.19 MiB | 33.00 MiB/s, done.                      
Total 6 (delta 3), reused 0 (delta 0)
error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date

我已经查看了这些问题:

  1. Git push returning an error when pushing?
  2. Git, fatal: The remote end hung up unexpectedly

我已经用git config http.postBuffer 524288000 更新了我的缓冲区,但我的问题似乎与CANCEL (err 8) 有关,而其他问题要么是协议错误,要么是HTTP/2 问题。

关于如何让 GitHub 推送再次工作有什么想法吗?直到今天,我在推送到 Github 时从未遇到任何问题,并且在此之前大约 30 分钟我提交了 2 次。

【问题讨论】:

    标签: git github


    【解决方案1】:

    设法下载文件,但遇到了一些问题(见下文),需要尝试几次 - 使用 read_csv (readr) 因为 read.csv 不起作用

    > data_3 <- read_csv("https://storage.covid19datahub.io/level/3.csv")    # download the data
    Rows: 6993673 Columns: 47                                                                 
     0s── Column specification ────────────────────────────────────────────────────────────────────
    Delimiter: ","
    chr  (13): id, administrative_area_level_1, administrative_area_level_2, administrative_...
    dbl  (32): confirmed, deaths, recovered, tests, vaccines, people_vaccinated, people_full...
    lgl   (1): vent
    date  (1): date
    
    ℹ Use `spec()` to retrieve the full column specification for this data.
    ℹ Specify the column types or set `show_col_types = FALSE` to quiet this message.
    Warning message:
    One or more parsing issues, see `problems()` for details 
    > problems()
    # A tibble: 6,094 × 5
          row   col expected           actual file 
        <int> <int> <chr>              <chr>  <chr>
     1 425027    12 1/0/T/F/TRUE/FALSE 7      ""   
     2 425028    12 1/0/T/F/TRUE/FALSE 5      ""   
     3 425029    12 1/0/T/F/TRUE/FALSE 6      ""   
     4 425030    12 1/0/T/F/TRUE/FALSE 8      ""   
     5 425031    12 1/0/T/F/TRUE/FALSE 13     ""   
     6 425032    12 1/0/T/F/TRUE/FALSE 17     ""   
     7 425033    12 1/0/T/F/TRUE/FALSE 21     ""   
     8 425034    12 1/0/T/F/TRUE/FALSE 25     ""   
     9 425035    12 1/0/T/F/TRUE/FALSE 27     ""   
    10 425036    12 1/0/T/F/TRUE/FALSE 35     ""   
    # … with 6,084 more rows
    

    【讨论】:

    • 我不太明白这与问题有什么关系。
    • 我只是想说明 github 上的流量可能会阻碍下载,并且使用 read_csv 的阅读器版本很重要
    【解决方案2】:

    我相信您尝试上传过大的文件。尝试上传部分文件或上传较小的文件。我遇到了这个问题,这个方法帮助了我。

    【讨论】:

      【解决方案3】:

      这个问题似乎是由网速慢引起的。也许我报告的是超时错误。

      我不清楚具体是什么解决了这个问题,但搬到另一个互联网速度更快的地方解决了这个问题。

      我仍然欢迎任何其他建议!

      【讨论】:

        猜你喜欢
        • 2021-10-25
        • 2021-12-09
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2020-12-09
        • 2021-08-03
        • 1970-01-01
        • 2023-01-07
        相关资源
        最近更新 更多