Skip to content
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

Timeouts if internal URLs needs to be used #30

Open
benjaminguttmann-avtq opened this issue Dec 20, 2018 · 1 comment
Open

Timeouts if internal URLs needs to be used #30

benjaminguttmann-avtq opened this issue Dec 20, 2018 · 1 comment

Comments

@benjaminguttmann-avtq
Copy link

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.

@benjaminguttmann-avtq
Copy link
Author

@dengqinsi : Any update on this topic?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant