Skip to main content

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

Hi

 

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.api.PushCommand.call(PushCommand.java:160)

        at org.eclipse.jgit.pgm.Push.run(Push.java:126)

        at org.eclipse.jgit.pgm.TextBuiltin.execute(TextBuiltin.java:174)

        at org.eclipse.jgit.pgm.Main.execute(Main.java:221)

        at org.eclipse.jgit.pgm.Main.run(Main.java:124)

        at org.eclipse.jgit.pgm.Main.main(Main.java:98)

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

        at org.eclipse.jgit.transport.WalkPushConnection.sendpack(WalkPushConnection.java:295)

        at org.eclipse.jgit.transport.WalkPushConnection.push(WalkPushConnection.java:175)

        at org.eclipse.jgit.transport.PushProcess.execute(PushProcess.java:165)

        at org.eclipse.jgit.transport.Transport.push(Transport.java:1173)

        at org.eclipse.jgit.api.PushCommand.call(PushCommand.java:156)

        ... 5 more

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

        at org.eclipse.jgit.transport.AmazonS3.error(AmazonS3.java:513)

        at org.eclipse.jgit.transport.AmazonS3.putImpl(AmazonS3.java:505)

        at org.eclipse.jgit.transport.AmazonS3.access$000(AmazonS3.java:113)

        at org.eclipse.jgit.transport.AmazonS3$1.close(AmazonS3.java:460)

        at java.io.FilterOutputStream.close(FilterOutputStream.java:160)

        at java.io.FilterOutputStream.close(FilterOutputStream.java:160)

        at org.eclipse.jgit.util.io.SafeBufferedOutputStream.close(SafeBufferedOutputStream.java:85)

        at org.eclipse.jgit.transport.WalkPushConnection.sendpack(WalkPushConnection.java:271)

        ... 9 more

 

 

Regards,

 

Andrew Lim

System Administrator

Trinity Wizards Sdn Bhd

C705 Level 7 Center Wing, Metropolitan Square,

Jalan PJU 8/1, Bandar Damansara Perdana

47820 Petaling Jaya

Selangor, Malaysia

 

Tel: +603 7722 1311

Fax: +603 7722 2312

Mob: +6012 207 3210

Web: www.trinitywizards.com

 


Back to the top