Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] JGit Region

On Mon, Jan 20, 2014 at 9:58 AM, Andrew Lim <km.lim@xxxxxxxxxxxxxxxxxx> wrote:



I have trouble using a s3 bucket in the Ireland Region. If i use the US Standard to create a bucket i seem to have no issues. Below lists the error when trying to push to the bucket in Ireland. Maybe have a function to specify which Region?


Thank you in advance


[]# jgit push s3 refs/heads/master

Counting objects:       3

Finding sources:        100% (3/3)

Getting sizes:          100% (2/2)

Compressing objects:    100% (32/32)

Writing objects:        100% (3/3)

org.eclipse.jgit.api.errors.TransportException: amazon-s3://.jgit@jgitrepo/gittest: cannot store objects



        at org.eclipse.jgit.pgm.TextBuiltin.execute(

        at org.eclipse.jgit.pgm.Main.execute(


        at org.eclipse.jgit.pgm.Main.main(

Caused by: org.eclipse.jgit.errors.TransportException: amazon-s3://.jgit@jgitrepo/gittest: cannot store objects

        at org.eclipse.jgit.transport.WalkPushConnection.sendpack(

        at org.eclipse.jgit.transport.WalkPushConnection.push(

        at org.eclipse.jgit.transport.PushProcess.execute(

        at org.eclipse.jgit.transport.Transport.push(


        ... 5 more

Caused by: Writing of 'gittest/objects/pack/pack-f9f4d6e515bc252642c097f6fc153395d2b1f994.pack' failed: 307 Temporary Redirect

        at org.eclipse.jgit.transport.AmazonS3.error(

        at org.eclipse.jgit.transport.AmazonS3.putImpl(

        at org.eclipse.jgit.transport.AmazonS3.access$000(

        at org.eclipse.jgit.transport.AmazonS3$1.close(




        at org.eclipse.jgit.transport.WalkPushConnection.sendpack(

        ... 9 more

looks like AmazonS3 needs to learn how to handle the response 307 "Temporary Redirect" 


Back to the top