-
Notifications
You must be signed in to change notification settings - Fork 849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Timeout error after updating from 3.7.300.29 to 3.7.301 and later versions #3192
Comments
Do you have reproduction code you can share? Version |
Sharing the code library might not be possible but yea I will check the above release notes , please share any other suggestions you might have as the same code works in local with higher versions but only causes problem when on server might be some relation to weather server is on premise or not . |
Another thing you can try is verbose logging, that should give you more insights on what the SDK is trying to do: AWSConfigs.LoggingConfig.LogTo = LoggingOptions.Console;
AWSConfigs.LoggingConfig.LogMetricsFormat = LogMetricsFormatOption.JSON;
AWSConfigs.LoggingConfig.LogResponses = ResponseLoggingOption.Always;
AWSConfigs.LoggingConfig.LogMetrics = true;
using var s3Client = new AmazonS3Client();
await s3Client.ListBucketsAsync(); |
This issue has not received a response in 5 days. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled. |
@dscpinheiro can you help |
After further investigation I have found that we are using caddy and following is the error we are getting when trying to fetch object from S3 bucket :- Maybe this will help troubleshoot the error |
By If you still see the error when communicating with AWS directly let us know, but if that works you'll have to reach out to |
This issue has not received a response in 5 days. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled. |
Describe the bug
my project is working for me in local and working with older versions on my server too but from version 3.7.301.0 it starts failing with the same code for S3 buckets , is it related to weather S3 bucket is on premise or not ?
getting the below error .
Amazon.Runtime.AmazonServiceException: A WebException with status ConnectFailure was thrown. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it
Expected Behavior
should be successfully able to fetch event data from S3 bucket
Current Behavior
My request is getting timeout or retry getting exceed as it is not able to connect
Reproduction Steps
updating awssdk.core to version 3.7.301 or above
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
AWSSDK.CORE 3.7.301
Targeted .NET Platform
.NET 6
Operating System and version
Windows 10
The text was updated successfully, but these errors were encountered: