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

Incorrect endpoint #57

Open
ajjo opened this issue Feb 10, 2017 · 3 comments
Open

Incorrect endpoint #57

ajjo opened this issue Feb 10, 2017 · 3 comments

Comments

@ajjo
Copy link

ajjo commented Feb 10, 2017

Looks broken...

 conn = tinys3.Connection(aws_access_key,aws_secret_key,tls=True,endpoint='s3-ap-south-1.amazonaws.com')
 f = open("sample.txt",'rb')
print conn.upload("somefolder",f,"my-bucket")

The endpoint resolved to https://my-bucket.s3-ap-south-1.amazonaws.com/somefolder instead of https://s3-ap-south-1.amazonaws.com/my-bucket/somefolder.

@JeanPierreFig
Copy link

I am having this same problem.

@evangineer
Copy link

I'm also getting bitten by this.

@evangineer
Copy link

evangineer commented Apr 19, 2018

This pull request looks relevant #55. And this is @alexby's fork https://github.com/alexby/tinys3

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

3 participants