Skip to content

S3 put_object returns {:error, :timeout} but uploads file correctly #154

@pulzzedavid

Description

@pulzzedavid

When putting larger files taking more than few seconds to upload, AWS.S3.put_object call returns {:error, :timeout} even with timeout and recv_timeout configured

AWS.S3.put_object(client, bucket, file_name, %{"Body" => file, "ContentMD5" => md5}, [timeout: 50_000, recv_timeout: 50_000])
What is the correct way of executing request that takes longer to complete?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions