Skip to content

Failed to retrieve credentials from EC2 Instance Metadata Service is misleading  #1945

Open
@jamiuaz

Description

@jamiuaz

Description

When make GetCredentials() while there is already existing request with TryEnterWriteLock, it fails with Failed to retrieve credentials from EC2 Instance Metadata Service instead should be something like There is request to FetchCredentials in progress

Reproduction Steps

Logs

Environment

  • SDK Version: "AWSSDK.RDS" Version="3.7.6.8"
  • Package Version: AWSSDK.RDS
  • OS Info: EC2 - Microsoft Windows Server 2019 Datacenter
  • Build Environment: Visual Studio 2019
  • Targeted .NET Platform: .NET CORE 3.1

Resolution


This is a 🐛 bug-report

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions