在将AWS S3 SDK与OpenStack结合使用以获取所有存储桶/容器时出现异常

时间:2019-04-03 17:24:15

标签: amazon-web-services amazon-s3 openstack

在将AWS S3 SDK与OpenStack结合使用以获取所有存储桶/容器时,我遇到异常。

预期行为

I should be able get list of buckets from OpenStack using aws s3 sdk using .net Core as it is working fine in dotnet 4.72 framework.

当前行为

I'm getting exception while fetching list of buckets from OpenStack using S3 sdk.
AWS s3 sdk is working fine with .net 4.72 frameworks

可能的解决方案

Is there any incompatibility between dotnet core and openstack ?

复制步骤(针对错误)

Create a simple dotnet core application and try to fetch list of buckets using AWS s3 credentials.

上下文

dotnet 4.72 was working fine but now after migrating to dotnet core it is not working.

您的环境

AWSSDK.Core version used: 3.3.100
Service assembly and version used:
Operating System and version: Windows 10
Visual Studio version: VS 2015

目标.NET平台:dotnet核心 .NET核心信息 用于开发的.NET Core版本:dotnet core 2.1

1 个答案:

答案 0 :(得分:0)

我使用GitHub票获得了以下响应:

https://github.com/aws/aws-sdk-net/issues/1246

Hi. We do not make any guarantees on how the SDK behaves with non-S3 service. 
Please re-open the issue if you can reproduce the problem against S3.