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

S3 basic_external doesn't work #106

Open
pauldraper opened this issue May 26, 2022 · 4 comments
Open

S3 basic_external doesn't work #106

pauldraper opened this issue May 26, 2022 · 4 comments

Comments

@pauldraper
Copy link

The signed S3 URL doesn't work for uploading.

Git LFS receives a 401 when uploading.

@devinnasar
Copy link

I believe this to be related to the configuration for signature version in the boto3 client here:

self.s3_client = boto3.client("s3", endpoint_url=endpoint)

See this issue in botocore: boto/botocore#2109. If the fix indicated at the bottom were implemented it may correct the issue.

I'm receiving a similar message: "The request signature we calculated does not match the signature you provided. Check your key and signing method." when I try to run git push after following the tutorial for google cloud storage, but modified to run against s3.

@athornton
Copy link
Collaborator

Feel free to try it and make a PR. I'm at a conference this week but I can probably get to it next week (disclaimer: I don't work for Datopian, so my time to work on this is entirely at my management's discretion, so if stuff is blowing up, I won't, but at least right now it seems like I should be able to, since that looks like a very small change).

@devinnasar
Copy link

I'll give it a shot. I need to adjust my setup to try and use local giftless.

@rufuspollock
Copy link
Member

@devinnasar did you get a PR in on this?

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

4 participants