pypicloud icon indicating copy to clipboard operation
pypicloud copied to clipboard

S3 custom server endpoint doesn't work

Open j4m3s-s opened this issue 5 years ago • 1 comments

storage.endpoint_url is not documented, and doesn't work on 1.1.5.

I tried to use pypicloud with custom self hosted s3 and encountered botocore errors trying to connect to AWS servers.

j4m3s-s avatar Nov 01 '20 23:11 j4m3s-s

That argument in particular isn't called out in the docs, but there is a mention that we attempt to support any arguments that can be passed to resource or Config.

Can you provide:

  • The pypicloud storage configuration you are attempting to use
  • A working example of using those arguments to connect to S3 using the boto or botocore library
  • The text of the errors that you are encountering

stevearc avatar Nov 03 '20 05:11 stevearc

forgive me for resurrecting dead and long-open issues, but can confirm that storage.endpoint_url does indeed work correctly at least for version 1.3.7 and that it's passed down correctly.

I use the setting with localstack on my local machine for context. The specific value I have (for double checking formatting reasons) is http://10.43.69.82:4566

That IP is actually a local k8s cluster IP, not a "real" IP reachable externally

nivintw avatar Sep 28 '22 06:09 nivintw