【问题标题】:Git annex 400 Error when initializing remote S3 repository初始化远程 S3 存储库时出现 Git 附件 400 错误
【发布时间】:2019-12-10 15:51:44
【问题描述】:

我正在尝试使用以下方法初始化 git 附件 远程存储库:

git annex initremote cloud type=S3 encryption=none bucket=some-bucket

但我收到以下错误:

initremote cloud (检查桶...) (在美国创建桶...) git-annex: S3Error {s3StatusCode = 状态 {statusCode = 400, statusMessage = "Bad Request"}, s3ErrorCode = "InvalidRequest", s3ErrorMessage = "你提供的授权机制不是 支持的。请使用 AWS4-HMAC-SHA256。", s3ErrorResource = Nothing, s3ErrorHostId = Just "", s3ErrorAccessKeyId = 无, s3ErrorStringToSign = 无, s3ErrorBucket = 无,s3ErrorEndpointRaw = 无,s3ErrorEndpoint = 无}

我在关注this manual

我该如何解决这个问题?

【问题讨论】:

    标签: amazon-s3 git-annex


    【解决方案1】:

    这通常是由旧的openssl 版本引起的。

    我设法在旧服务器(Ubuntu 16)上使用conda 管理环境中的所有git-annex 依赖项来解决它。

    conda install -c conda-forge git-annex=*=alldep*
    

    更多信息请访问git-annex 论坛:https://git-annex.branchable.com/install/conda/

    【讨论】:

      猜你喜欢
      • 2013-03-28
      • 2021-01-09
      • 1970-01-01
      • 2012-08-11
      • 2016-04-12
      • 1970-01-01
      • 2017-07-31
      • 2011-07-06
      相关资源
      最近更新 更多