Skip to content

Timeouts if internal URLs needs to be used #30

@benjaminguttmann-avtq

Description

@benjaminguttmann-avtq

Hi,

we are currently using the fog-aliyun gem to store/get data from OSS. Unfortunately, it seems like the gem only supports internal endpoint URLs for the multipart upload part, as it is possible to provide the endpoint as an argument there (

def initiate_multipart_upload(bucket, object, endpoint)
). For nearly all other calls the endpoint urls gets generated (e.g.:
endpoint = 'http://' + location + '.aliyuncs.com'
) which leads to the point that a non internal URL gets generated and used. This leads to timeouts if the VMs are not allowed to connect to the Internet.

Maybe the code could be adjusted to handle the endpoint generation like it is done in the multipart upload code.

Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions