SSLException due uploading item for Amazon service

后端 未结 2 1909
借酒劲吻你
借酒劲吻你 2021-01-12 09:13

I upload my file to aws service from android. I configured it like this:

  AwsMetadata awsMetadata = resultData.getParcelable(Params.CommandMessage.EXTRA_MES         


        
2条回答
  •  北恋
    北恋 (楼主)
    2021-01-12 10:01

    There is a bug in the SDK where certain headers aren't signed. It will affect S3 in some regions, e.g. Frankfurt (eu-central-1) and China (cn-north-1), where sigv4 is required.

    AWS SDK for Android v2.2.2 is out http://aws.amazon.com/releasenotes/4067314458888112. This release addresses the sigv4 signing issue with S3. Check it out at http://aws.amazon.com/mobile/sdk/.

提交回复
热议问题