summaryrefslogtreecommitdiff
path: root/doc/bugs/Can__39__t_get_content_from_S3_with_s3-aws_library/comment_3_9665a868f786afa445f5e3b0fbd20011._comment
blob: 8b92ca305e206f11419bdba6e9d4d8466d619045 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[[!comment format=mdwn
 username="joey"
 subject="""comment 3"""
 date="2015-04-23T17:00:20Z"
 content="""
ap-southeast-2 vs ap-southeast-1 must have something to do with this
problem.

I tried making a S3 remote with datacenter=ap-southeast-2 and it didn't
have this problem, and used s3-ap-southeast-2.amazonaws.com, so doesn't
seem that git-annex is getting the mapping to endpoints wrong.

I also tried forcing git-annex to use ap-southeast-1 instead of the right
datacenter, and I don't get a redirect, getting a file just fails in that
misconfiguration.

So, it seems there is something special about your bucket; git-annex thinks
it's in ap-southeast-1, S3 apparently redirects to somewhere else. Sounds
like the AWS interface shows you the bucket is located in ap-southeast-2?

This is looking more like a bug with the haskell-AWS library. If AWS can
send redirects here, it ought to follow them. It would be really helpful if
I had a way to reproduce the problem. Since your remote is encrypted
anyway, is there any chance you could generate AWS creds that I could use
to access that bucket to try to get files from it?

(The `copy --to cloud` didn't do anything because git-annex already thinks
the file is there (--force has no effect on copy --to).)
"""]]