You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using the SeaweedS3 URLs/APIs to access, manage the Seaweed storage.
Few Actions like copying large files within the seaweed storage, requires an increased timeout(default timeout is 120 seconds on S3 APIs)
Setting a custom timeout on the Seaweed S3 APIs or S3 Client, doesn't seem to work.
ex:
Copying a 6 GB file within the Seaweed storage (using S3 APIs) takes 4 seconds to complete.
Since the default timeout is 120 seconds, the S3 API to copy it fails.
I am setting a apiCallAttemptTimeout of 600 seconds for this S3 API request.
But the API still fails with "Read Time out error" after 120 seconds, while the file copy continues in the background and completes.
Observation:- S3 API ignores the timeout configuration set at the S3 client and S3 API.
Error: "Unable to execute HTTP request: Read timed out"
System Setup
List the command line to start "weed master", "weed volume", "weed filer", "weed s3", "weed mount":
Setup has master, volume (3 instances), filer(with S3)
OS version: Linux, MacOS
output of weed version: version 30GB 3.65 0edc5aa linux amd64
if using filer, show the content of filer.toml
Expected behavior
Setting a timeout on S3 Client or S3 API, should be honoured and the API should timeout and fail, only after set duration is lapsed.
Sponsors SeaweedFS via Patreon https://www.patreon.com/seaweedfs
Describe the bug
I am using the SeaweedS3 URLs/APIs to access, manage the Seaweed storage.
Few Actions like copying large files within the seaweed storage, requires an increased timeout(default timeout is 120 seconds on S3 APIs)
Setting a custom timeout on the Seaweed S3 APIs or S3 Client, doesn't seem to work.
ex:
Observation:- S3 API ignores the timeout configuration set at the S3 client and S3 API.
Error: "Unable to execute HTTP request: Read timed out"
System Setup
Setup has master, volume (3 instances), filer(with S3)
weed version
: version 30GB 3.65 0edc5aa linux amd64filer.toml
Expected behavior
Setting a timeout on S3 Client or S3 API, should be honoured and the API should timeout and fail, only after set duration is lapsed.
How timeout is set. Source Code:
CopyObjectRequest copyObjectRequest = CopyObjectRequest.builder().sourceBucket(sourceBucketName).sourceKey(sourceKey).destinationBucket(destinationBucketName).destinationKey(destinationKey)
.overrideConfiguration(AwsRequestOverrideConfiguration.builder().apiCallAttemptTimeout(timeoutDuration).build())
.build();
CopyObjectResponse copyObjectResponse = s3Client.copyObject(copyObjectRequest);
Error thrown by s3Client.copyObject: "Unable to execute HTTP request: Read timed out".
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: