【问题标题】:gsutil is stuck without copying any datagsutil 在没有复制任何数据的情况下被卡住
【发布时间】:2014-07-16 22:30:28
【问题描述】:

我正在尝试将文件从计算引擎实例 (debian) 上传到云存储。 在某些时候 gsutil 完全停止工作。当使用 -D 标志运行它时,我会看到这些回复:

回复:'HTTP/1.1 400 Bad Request\r\n'标头:Content-Type: application/json; charset=UTF-8header: Content-Encoding: gzipheader: Date: Tue, 27 May 2014 21:09:47 GMTheader: Expires: Tue, 27 May 2014 21:09:47 GMTheader: Cache-Control: private, max-age= 0header:X-Content-Type-Options:nosniffheader:X-Frame-Options:SAMEORIGINheader:X-XSS-Protection:1; mode=blockheader: 服务器: GSEheader: Alternate-Protocol: 443:quicheader: Transfer-Encoding: chunkedprocess count: 1thread count: 10

【问题讨论】:

  • 这是由于 gsutil 4.0 在验证现有并行上传组件时发送并行复合上传字段中的一个错误,应该可能会在即将发布的错误修复版本中修复。在此之前,您可以使用我在下面建议的解决方法。

标签: google-cloud-storage gsutil


【解决方案1】:

尝试在 boto 文件的 [GSUtil] 部分下设置 parallel_composite_upload_threshold = 0。

【讨论】:

    猜你喜欢
    • 2019-11-18
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-06-19
    • 2013-03-14
    • 2019-09-13
    • 1970-01-01
    相关资源
    最近更新 更多