-
Notifications
You must be signed in to change notification settings - Fork 842
Open
Description
Please, fill the following sections to help us fix the issue
What happened: After updating to the latest major version of AWSSDK.S3, my S3 HealthCheck is getting the following error:
System.MissingMethodException: Method not found: 'Void Amazon.S3.Model.ListObjectsRequest.set_MaxKeys(Int32)'.
at HealthChecks.Aws.S3.S3HealthCheck.CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at HealthChecks.Aws.S3.S3HealthCheck.CheckHealthAsync(HealthCheckContext context, CancellationToken cancellationToken)
at Microsoft.Extensions.Diagnostics.HealthChecks.DefaultHealthCheckService.RunCheckAsync(HealthCheckRegistration registration, CancellationToken cancellationToken)
What you expected to happen: S3 HealthCheck is able to run successfully.
How to reproduce it (as minimally and precisely as possible): Updating to the latest version of AWSSDK.S3 and adding an S3 HealthCheck.
Source code sample:
Anything else we need to know?: I believe this is happening because v4 of AWSSDK changed the type of MaxKeys from Int32 to Nullable Int32.
Environment:
- .NET Core version: .NET 9
- Healthchecks version: 9.0.0
- Operative system: Windows
- Others:
barryguvenkaya, thorvath2207, ae-naltun, brianreynolds-dev, selvinfehric and 3 more
Metadata
Metadata
Assignees
Labels
No labels